AminetAminet
Search:
82086 packages online
About
Recent
Browse
Search
Upload
Setup
Services

disk/bakup/backup-scripts.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:REXX/AROS scripts to simplify HD backups
Author:Adam Bricker
Uploader:adam bricker zoho com (Adam Bricker)
Type:disk/bakup
Version:41.0
Requires:Regina REXX interpreter in path (may be modified to work with AROS RX command, not tested).
Architecture:generic
Date:2012-07-24
Download:http://aminet.net/disk/bakup/backup-scripts.lha - View contents
Readme:http://aminet.net/disk/bakup/backup-scripts.readme
Downloads:825
				Backup v41.0
		  By Adam Bricker <adam.bricker()zoho.com>
		
	
This archive is a set of two scripts, one in AROS (Backup) and one in REXX
(Backup.REXX) which simplify making backups.  The AROS script is the one you
execute to make a backup and it is simply a wrapper that makes the REXX script
easier to use.  Installation is simple, place Backup and Backup.REXX in S: and
then execute 'backup' from the shell when you want to make a backup.  

Requirements: Regina REXX interpreter in path, or else edit Backup and see if
AROS:RexxC/RX will work (not tested).

Configuration is pretty simple, open a shell, type 'edit S:Backup' and edit
the lines that say:

DoBackup DH0: Backup:
DoBackup DH1: Backup:
DoBackup DH2: Backup:

The first argument is the drive to back up and the second argument is the 
volumename of the drive used to store the backup.  I always use the volumename
instead of the devicename for the second argument because mine is an external
USB drive with the devicename DU0: and it is possible to have a different drive
with the same devicename so that the backup could accidentally go on the wrong
drive.  There will only ever be one volumename Backup: and it will only be
used for backups on my system.  If you have more partitions, add them or if you
have less then delete the ones you don't need.

These scripts do not do automatic backups and they do not do restores, to do a 
restore you will need to manually copy files back from your backup drive onto
your system drives or partitions using the C:Copy command like this: 

	Copy Backup:hostname/DH0/#? DH0: ALL QUIET BUFFER 16384
	
where 'hostname' is the hostname of your machine at the time you made the
backup.  For example, I have a machine with a hostname of timberwolf, so I
would substitute 'timberwolf' for 'hostname' above.  Running with the 'QUIET'
and 'BUFFER 16384' arguments greatly speeds things up and are highly
recommended.  After the second backup, the first backup will have been renamed
Backup:hostname/DH0.old and the new backup will now be Backup:hostname/DH0 in
case you realize you need a file which is not available in the latest backup.

To perform a backup, mount the Backup: volume (ie if it is USB, just plug it
in), insure that there is room to back up all your volumes (these scripts do
not check the available space), then type 'backup'.  Mine takes about 40
minutes to back up about 28GB spread across 3 partitions onto an external USB
drive.  Again, running with the 'QUIET' and 'BUFFER 16384' options for the 
C:Copy command greatly speeds things up (the Backup.REXX script is programmed
to do this).  This is a very basic script with no extra features, if you need
a backup at a certain time you can do this in a shell window:

	Wait UNTIL 03:00
	Backup
	
This would wait until 3:00 AM before starting a backup.  This script does what
I need it to, but it is easy to modify and you have the source and can make it
do whatever you need it to do.  I am uploading it to AROS-EXEC in case it is
helpful to anybody else.    


Uploaded using: archives.aros-exec.org


Contents of disk/bakup/backup-scripts.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
-rwx--x--x 65534/65534     680    1296  52.5% -lh5- a774 Jul 23 18:21 Backup
-rwx------ 65534/65534    1201    3629  33.1% -lh5- e2ac Jul 23 18:21 Backup.REXX
-rwx------ 65534/65534    1414    3034  46.6% -lh5- dcb1 Jul 23 19:58 Backup.txt
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         3 files    3295    7959  41.4%            Jul 24 19:57

Aminet © 1992-2017 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>