bash-backup-rotation-script icon indicating copy to clipboard operation
bash-backup-rotation-script copied to clipboard

Bash backup rotation script for your files / website

Results 14 bash-backup-rotation-script issues
Sort by recently updated
recently updated
newest added

The mysqldump command is missing `-h $DBHOST`

The local_remote function names the output file as mysql but the other functions name the output file as just "sql". This means that the "grep mysql" in the other functions...

Thank you so much for the code, it's perfect for what I needed. Just a small improvement, I added a $DBHOST and $OPTIONS to the mysqldump ($OPTIONS in my case...

Grep command in the backup rotation will fail due to incorrect search string.

After setting up the configuration file and running the script, I get the following error: ``` root@kraken:~/backups# bash backup_rotation.sh Removing expired backups... Creating backup dir.. Copy backup to local dir.....

The script should check the value of LOCAL_BACKUP_OPTION before executing "Cleanup expired backups", "Perform Files Backup" and "Optional check if source files exist. Email if failed." I have disabled local...

Keep getting mails like: /backupdav/18-08-2016-daily.data.tar.xz does not seem to exist. Something failed. When it run as cron, works if i run it manual.

Hi, In fact, in your server, you can have multiple sites (or directories) without sql database, a web site with 2 or 3 databases. So, in this case, a better...