[LUNI] Critique my backup plans :)

Mark Stuart Burge mark at msbrepairs.com
Wed Jun 20 17:39:54 CDT 2007


I would suggest a plan that keeps one of the backups off site at any one 
time if the data is critical.

If you have a 'one in / one out' system running then you can simplify 
the script to mount either drive an the same mount point.


Works pretty well with usb drives !

Would love to know if anyone has got a mondo / mindy based backup 
working well with removable drives.



D. Wade wrote:
> Hi all --
>
> I'm looking for a "doofus check" from y'all on my home file-server 
> backup strategy.  I haven't seen anyone else try to approximate a 
> tape-backup strategy like this, or else I'd be contented with 
> following someone else's web advice. :)
>
> System is Ubuntu Dapper LTS, exporting shares via Samba. Share 
> directories are on /srv/share/int0, a hard disk inside the box 
> (/dev/hda2)
> Backup targets are 2 separate hard disks in removable 5-1/4" caddies:
>    /srv/share/ext0     (/dev/hdc2)
>    /srv/share/ext1     (/dev/hdd2)
> The plan is to keep the removable disks asleep to minimize heat, wear, 
> and ohcraps, and run the following scripts daily/weekly to back up the 
> shares.  The backup drives can theoretically be yanked and attached to 
> another system to get the data if something bad happens to the server.
>
> Step 1 -- set TARGET to either "ext0" or "ext1" depending on which 
> day/week it is
> Step 2 -- Backup
>    # wake up and mount the drives in the caddies
>    mount /dev/hdc2
>    mount /dev/hdd2
>    # copy shared dirs to TARGET (ext0 or ext1)
>    rsync -av /srv/share/int0/ /srv/share/$TARGET
> Step 3 -- Put external drives back to Sleep
>    # put em away
>    umount /dev/hdd2
>    umount /dev/hdc2
>    # put em to sleep
>    hdparm -Y /dev/hdd
>    hdparm -Y /dev/hdc
>
> Thoughts?  Am I missing something silly?  This struck me as "the 
> simplest thing that could possibly work."  Muchos appreciations for 
> your eyes on this.
>
> --Derek W.


More information about the luni mailing list