Backup-script | Just my blog

/dev/random

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


  • Social

  • By continuing to use the site, you agree to the use of cookies. more information

    The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible and enable advertising to provide you free content. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

    Close