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

Re: Automated backups: minimum and maximum amout of backups

$
0
0
by Anton Tremetzberger.  

Dear Séverin,

I did some tests and now it works. But I'm not shure why it works, here are my ideas:

First: I checked CRON job and permissions: settings are correct

Second: I set: backup | backup_auto_skip_modif_prev = NO (originally we set it to YES).
So, every course will be checked and a backup will be done on the first backup process. After that the course backup process ran every night and older course backups was deleted. After the first run of the backup process I set: backup | backup_auto_skip_modif_prev = YES - and it also works fine. Older backups will be deleted.

Summary:
  • maybe the backup process have to run first time with all courses (set: backup | backup_auto_skip_modif_prev = NO)
  • I think it maybe also depends on how old the backup files are. We have coursebackups which will be stored a few months ago. Maybe Moodle will not consider about these old files? There is also a backup setting: backup | loglifetime = 30 days. Maybe the loglifetime-setting plays a role. If backups are older than 30 days they will not be considered and Moodle will not delete these files.
But it's just a guess - I hope that older course backups will now be deleted, but let me see after 30 days lächelnd.

br, Anton

Viewing all articles
Browse latest Browse all 6815

Trending Articles



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