Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6815

Re: automated backup is not running

$
0
0
by Ken Task.  

There are other settings on that same page for config that could exclude backups of courses if those criteria are met.  Can see only one in your screen shot ... older than 35 days.   Am not asking to see them all, just sayin' you need to check all of those options to see if the reason you are not seeing a backup in the destination directory is due to an option.

If there are no directories in moodledata/temp/backup/ then have to assume all the backups are being made that meet the parameters/options chosen and are being copied to destination directory.

Go to that destination directory, list files there.   Do you see the course backup you are saying is missing? date time stamp? compare with auto settings.

report/backups/index.php ... do any of those say skipped?  If so they were skipped because of some setting and therefore auto didn't include those in the auto run.

Is auto set to manual in config of autobackups?   If it's off, don't know how your cron job for auto backups will run.

Also don't understand why you have a separate cron job for auto backups.

Already suggested changing the redirect at the end of the cron job to one that logs to a  log file to see what's doing on there.

Change the redirect .. that which is after the > : 

/usr/local/bin/ea-php73 /domain_path/admin/cli/automated_backups.php >/dev/null 2>&1

To

 /usr/local/bin/ea-php73 /domain_path/admin/cli/automated_backups.php > /var/log/moodleautobackup.log

You have to issue 'touch /var/log/moodleautobackup.log' to create an empty file so when the cron job runs it can log to it.

'SoS', Ken



Viewing all articles
Browse latest Browse all 6815

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>