[TriLUG] remember that neat backup using rsync

John Broome jbroome at gmail.com
Mon Oct 1 22:07:10 EDT 2007


On 10/1/07, stan briggs <stanbriggs at gmail.com> wrote:
> all,
>
> there was a 'cp -al $source $dest' that was used in that scheme that linux
> supports that i can't seem to find the equivalent of in solaris. does anyone
> know how to accomplish this in solaris?
>
> thanks,
> stan
>
> p.s. for those that missed the presentation this cp command copies the
> contents from source to dest and preserves the inodes thereby not
> re-creating the file but really just making a (hard) link to the files.

A blast from the past!

from:
http://www.trilug.org/talks/2004-05-backup/backup-rsync-snapshot.pdf

Basic Snapshot script:
–
rm -rf backup.3
–
mv backup.2 backup.3
–
mv backup.1 backup.2
–
cp -al backup.0 backup.1
–
rsync -a --delete source/ backup.0/




-- 
There are three R's to windows tech support: "Restart, Reboot, Reinstall"


More information about the TriLUG mailing list