Page is a not externally linkable
- Hardware and OS Related Technologies
-- Linux, Unix, and *nix like Operating Systems
---- Shell Script to Backup Files


lammert - 2:14 pm on May 22, 2010 (gmt 0)


The best way to solve the recursive backup problem of your backup files is to create a separate backup directory $HOME/backup and use that directory as the storage location for your files.

This will also solve the problem that with your current configuration everyone can download a complete backup of your site by just surfing with a browser to the /backups/dailyback/$NOWDATE.tar.gz path on your site.

Don't forget to move these backups on a daily basis to another server or your home computer, because a backup on the same drive/computer as the original files is practically spoken worthless.


Thread source:: http://www.webmasterworld.com/linux/4136908.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com