Nick Rout wrote:
Col wrote:
Andrew Errington wrote:
Hi all,
I am running MEPIS 6.5 with a KDE desktop. I am considering running
Keep (the KDE backup thing) to do local time-series backups of my
home directory (to guard against accidental deletions or edits) and
then rsync to mirror everything from /home to an external USB drive
periodically. The idea is that for minor losses I can refer to the
local Keep backups, and for catastrophic failure I can restore from
the rsync mirror (which will include the Keep backups too). Anyone
doing anything like this? All I have (or rather, all I will have) is
the laptop and the external HD and I don't want to lose any data (of
course).
Comments appreciated,
Thanks,
Andrew
Hi Andy
I have separate hard drive for data I want to keep. I rsync this drive
to a usb drive with the following command.
$rsync -avz --delete --stats --progress /mnt/hdd/data/ \
/mnt/sdb1/backup
The usb drive is encrypted with encfs which I leave off site.
Also I back up my entire home directory to another machine using rsync
through ssh. If I want to retrieve anything I just ssh into the other
machine. This could also be used for off site backup.
$rsync -avz --delete --stats --progress --bwlimit=100 \
-e ssh /home/col/ [EMAIL PROTECTED]:/home/col/backup
--delete causes files that are in the backup directory (from a previous
backup run) and which are not in the original directory to be deleted
from the backup. This may or may not be what is wanted.
One of the reasons for the backup MAY be to prevent the situation where
a file is deleted by accident. Consider the scenario where you
accidentally delete a file on your computer, and then the backup script
runs. Suddenly the backup gets deleted too.
Good point, I don't run the command automatically.
Andy was going to use keep for that situation. --delete makes the rsync
backup a mirror of the original as requested.
Col