- Jul 26, 2006
- 143
- 2
- 81
I have a cron job that runs once a week (Sunday) that archive the entire directory:
I then have another cron job that runs every day expect for Sunday:
This means once a week I get a full backup, then every other day for that week I get an incremental backup based on the original weekly backup. I got two questions:
1# Assuming my password is secure, I assume this method of encryption is more then secure enough to put on an encrypted amazon s3 bucket for 'cloud' backups? <- my concern is mainly using the same password over and over.
2# My incremental backups are created everyday, even when there are no changes detected. Any easy/simple way to detect this?
Code:
7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on -pThePassword -mhe=on /home/mybackups/$(date +%Y-%V)/$(date +%Y-%V).7z /var/www/html
I then have another cron job that runs every day expect for Sunday:
Code:
7z u /home/mybackups/$(date +%Y-%V)/$(date +%Y-%V).7z /var/www/html -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on -pThePassword -u- -up0q3r2x2y2z0w2!/home/mybackups/$(date +%Y-%V)/$(date +%Y-%V-%d).7z
This means once a week I get a full backup, then every other day for that week I get an incremental backup based on the original weekly backup. I got two questions:
1# Assuming my password is secure, I assume this method of encryption is more then secure enough to put on an encrypted amazon s3 bucket for 'cloud' backups? <- my concern is mainly using the same password over and over.
2# My incremental backups are created everyday, even when there are no changes detected. Any easy/simple way to detect this?