Backup-script

In the past I wrote a backup-script which makes .tar.bz2 files of the Maildirs and some other data… But after the server crash a few months ago I did not reactive the backup-script.

This night the script did again his backup-job and find out that some backups did not go well (websites with a backupsize of 2.0KB )

After some research I found out that the directory /sites/morpheus is a symbolic link to /usr/local/www/data. And /usr/local/www/data is a symbolic link to /usr/local/www/data-dist.

And the backup-script was only doing /usr/local/www/data so it only took the info about the symbolic link…

From now on… it backups the right data every evening at 22.30pm