packub - bash script for backing up websites and databases
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


packub - bash script for incremental backing up websites and databases

This is a wrapper for rdiff-backup and mysqldump. Useful for backing up multiple sites which located on server with directory structure as: /var/www/; /var/www/; etc. For example - ISPConfig3 default directory structure.

Also backing up mysql databases dump for each site.

Implemented simple logging functions.


  • rdiff-backup
  • bash version 4+


  • Edit variables in the start of file.
  • Add aa[']='example_database' string for each site you want to backup.
  • I recommend to run it with superuser rights and using mysql root user password.
  • Run

For more information about backups: man rdiff-backup