[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sheflug] Re: Backup advice



Hi

>  rsync -a /home/mydocuments/ /home/mybackup/ > /dev/null 2>&1
>  mkdir -p /tmp/backup
>  export FILE=backup-`date +%Y%m%d`.tgz
>  tar -cz /home/mybackup > /tmp/backup/$FILE
>  mkisofs -r -J -o /tmp/backup.iso /tmp/backup
>  dvdrecord -v speed=2 dev=0,1,0 -data /tmp/backup.iso
>  rm -rf /tmp/backup /tmp/backup.iso



Didn't get any further with this.  Was trying to find out how to add
in something like  /home/user1  /home/user2  /home/user3 so that a
backup of those folders could be made and burned to the DVD.

So, replace /home/mydocuments with something that is more
sophisticated.  Not quite sure which bit to change.  The last one
about this was helpful but not completely understandable.

Thanks




Richard
___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.