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

How to I bulk delete Automated backups

$
0
0
by Richard Ackland.  

Using Moodle 2.2.2

Hi, in additional to our standard server backup procedures. I run an automated coursebackup every night.

The backups were being saved to an attached drive.

I have it set to keep backups for 14 days.

All was good until the attached drived got too full - then the backups started being saved into the Moodle Data folder. Now our server drive is full. (no warning given)

It seems that the automated backups were not being deleted.

I have changed the files kept to 1, but only 1 day seemed to be deleted after this.

I now how hundreds of backup files that I can only seem to delete one by one, when I go into each individual course ad go to restore.

As a full time teacher - who runs our e-learning as a side job - I havent got time to do this as it takes ages.

Is there a cron or script I can run to do this quickly. 

regards

 

I am desperate!


Viewing all articles
Browse latest Browse all 6511

Trending Articles



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