Cron backupand overwriting - Printable Version

+- CoreBOSBB (
+-- Forum: Development (
+--- Forum: coreBOS Development (
+--- Thread: Cron backupand overwriting (/showthread.php?tid=61)

Cron backupand overwriting - Guido - 10-15-2014

I set up my Backup server in CoreBOS, and made a cron job in the database following this post: <!-- m --><a class="postlink" href=""> ... removed/p1</a><!-- m -->

What I didn't realize is that the backup actually also makes a copy of the entire ' storage' folder. This is cool, but if you backup say, once a week and you have a lot of documents or images your server will get clogged after a while. A couple of ideas:
  • Would it be a good idea to register the Backup service as a standard in corebos? You could always activate/disable it and change the frequency through the scheduler so a normal user wouldn't have to edit the database
  • Would it be smart to make the backup process delete the previous backup after completing the current one?