J Beris wrote:
I have a question about Rsync. Like several people here, I use an external USB disk to make daily backups of my critical data. For this, I have written a shell script which mounts the disk as necessary and then calls rsync to do the actual backup.
This works very well, except that if I delete a file in my home directory, have rsync do its thing at night, then the next morning that deleted file is gone from my backup too, so I can only go back one day. This is nice for a disk crash, but not for restoring data that was deleted 4 days ago, for instance. Can someone tell me if it is possible to have rsync retain the data in the backup for say another 14 or 30 days before purging them? I have looked at the man page, but haven't found an answer to my question there. Does someone have an idea, please?
Don't use rsync directly; use one of the backup systems that already provide the functionality you want (and use rsync internally). I use dirvish, I know of rdiff-backup, I expect there are others. I don't know which are in current opensuse distributions. Cheers, Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org