If you run it every other day, and set the option to keep 5 copies, it just keeps 5 copies, it doesn't matter how often you run the backup.
- Fixed issue with database passwords with special characters generating empty backups. Thanks to @TDUBS and @xenboostmike for help with this.
- Added asserts for the exec() php function prior to doing any backups. This is done at installation time, but on a host/server change, this check wasn't being done.
If its a sub directory of your xfroot, that's the problem. Your backups are also getting included in your file system backup.
You will want to change your option to back up your files outside or above your forum root.
Yep, that was the issue. It clogged up my disk space and caused my forum to go offline due to no disk space left. Where's this option to change for backing up files outside or above my forum root?
For example, if you're currently using something like this for your forum root:
/home/sitename/public_html
Creating a backup folder in this location would put it above your forum root:
/home/sitename/forumbackup
To help you understand better, I have the below as my root directory:
/home/nginx/domains/sitename/public
My forum backup folder is:
/home/nginx/domains/sitename/public/backupfolder
Would it be possible to have an option which allows us to configure whether or not to automatically delete the backup(s) off the server after a certain amount of time? I personally download the backups from my server to my desktop and then to my external hard drives, then I delete the backup(s) off the server for security purposes. However, it gets a bit tiring manually deleting backups every night, so maybe have an option to run scheduled deletion? Just an idea.
One oddity though, in the cron job I have the time set to midnight but the "next run" time shows 7pm. It ran at 7pm also. So I changed it to 4am and then it said next run at 11pm. It seems that it thinks the next run is 5 hours before the set time. any idea? Not a big deal, just kinda odd.
Also, is there any problem with having both crons run at the exact same time?
We use essential cookies to make this site work, and optional cookies to enhance your experience.