:: Forums :: Discussions :: EasyBackup
 
<< Previous thread | Next thread >>
Backup size - host resources - time out
Moderators: nlstart
This thread is now closed
Author Post
Nowwhat
Registered Member #218
Joined:
Posts: 2
Hi !

[This is more some king of low priority feature request ! - I stopped looking for bugs, there might as well be none ;-) ]

I'm using a shared host that has uses these values :
Max PHP executing time 30 sec - but parsing that takes longer then 10 sec will be counted - more as 150 a day of these and my site will be blocked. EasyBackup starts to trip this counter now. Of course, just after mid-night, when a "admin" (6 members in this class) visits my site, a backup is made, ZIPped, and send away to a gmail account (8 Gb of free disk space ;-) )
This works great for months now, nearly a year I think.
The ZIP/Mail size is nearly 7 Mb right now.

The fact is that as with many e107 sites, the forum_t starts to grow - I have "just" 20 000 messages - this table size is about 18 Mb right now. It's the biggest table in my SQL data base. All others are far less in size.

So, what about batching (making this an option) ?
Let's say : on date X, when nothing done, start phase A
Do set of tables - this set is table size limited.
If tables left, program a phase B for about xx minutes later (or more).
Etc. until done.

What I did right now (with very few lines) : if the date is "even", backup all tables except forum_t
If the date is "odd", backup forum_t

Max mail size : 10 Mb - so when ZIPS's become bigger then that then it will be "game over" - another reason to implement some kind of bathing.

As C4Owner said in another message in this forum, Cron could be used but this will be a very host depended solution.

Anyway :
-> note that my host also makes backups.
-> note that I have cron facilities, and SSH access, so a small shell script could dump my database in GZ format - and sending it away - but your easybackup is much more sophisticated - and more user friendly for the less technical site users.
Back to top
Website
 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System