Quote:
|
@Diantre: Correct. http://www.mikerubel.org/computers/rsync_snapshots/ has inspired me.
@jheengut: I like to enclose my scripts in pushd/popd to ensure that they start in a predictable directory and they return to the previous location when finished. Most of the times it is not strictly required, it's just a habbit of mine. @moisespedro: rsync, does not compress files for storage, it does compress them during transfer. |
incremental daily backup
I use this lines in cron.daily script:
/usr/bin/rsync --delete-excluded --backup --backup-dir=snapshots/$(date +%Y%m%d) -a /home |
Quote:
It is a full backup. |
Quote:
Please see du -sh on backup dir. Regards --cesar |
Quote:
https://en.wikipedia.org/wiki/Incremental_backup "...An incremental backup is one that provides a backup of files that have changed or are new since the last incremental backup;[1] it is one that backs up only the data that changed since the last backup — be it a full or incremental backup..." The rsync command you have stated, does a full copy of the /home directory, it does not copy only changes files since the last backup. Hence, it is not an incremental backup, rather a full backup of the /home directory. But, lets leave it at this. You are obviously happy with your backup scheme, so there is no point in this conversation. |
All times are GMT -5. The time now is 08:38 AM. |