The AROS Archives(anonymous IP: 18.191.29.13,353) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu


 Categories

   o Audio (97)
   o Datatype (15)
   o Demo (50)
   o Development (247)
   o Document (63)
   o Driver (19)
   o Emulation (62)
   o Game (529)
   o Graphics (224)
   o Library (22)
   o Network (62)
   o Office (21)
   o Utility (250)
   o Video (18)

Total files: 1679

Full index file
Recent index file

Part of aros exec
 Readme for:  Utility » Archive » backup.lha

Backup

Description: REXX and AROS scripts to simplify HD backups
Download: backup.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 3kb
Version: 41.0
Date: 24 Jul 12
Author: Adam Bricker
Submitter: Adam Bricker
Email: adam bricker/zoho com
Requirements: Regina REXX interpreter in path (may be modified to work with AROS RX command, not tested).
Category: utility/archive
License: Other
Distribute: yes
FileID: 1173
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 134  (Current version)
134  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

[Show comments] [Show snapshots] [Show videos] [Show content] [Replace file] 
				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.    










Copyright © 2005 - 2024 The AROS Archives All Rights Reserved