Re: [CR] Wooljersey - NOW: Backup Strategies


Example: Framebuilders:Masi

To: <classicrendezvous@bikelist.org>
Date: Fri, 24 Jul 2009 11:02:51 -0700
From: donald gillies <gillies@ece.ubc.ca>
Subject: Re: [CR] Wooljersey - NOW: Backup Strategies


By the way, for backup on a Linux or UNIX machine, the easiest strategy is as follows :

1. Create a 'find' command that traverses the file system to be backed up (i.e. web pages), copying files over to a 2nd file system on a second volume, on a second disk.

this is easy to do because you can interactively type in find commands and see the results, to make sure you have the correct 'find' command.

2. Edit the periodic process-scheduling file, /etc/crontab (as root) or us the "at" or "atrun" command (depends on your system type), to schedule the 'find' command to copy files onto the backup volume EVERY NIGHT. You can use the 'newer' attribute of find to copy only files that have been updated.

3. If your disk crashes, just re-install UNIX and then copy the latest backup image of the file system over to the new UNIX file system.

If you need details, please contact me off-list. It's something I've done before, on my personal UNIX system(s).

- Don Gillies
San Diego, CA, USA