I have installed this module on my site two weeks ago and added one scheduled backup. But I see that it isn't stable.

When I try to make a "Quick Backup" and download it, the module just does nothing *most of the time*. But sometimes, I'm able to start a download. Same goes for my scheduled backup. I set up a weekly backup and when I look at the backups taken, I see that it has already missed the schedule last week.

Here is the export of my scheduled backup:

array (
'schedule_id' => '1',
'machine_name' => 'weekly',
'name' => 'Weekly',
'source_id' => 'archive',
'destination_id' => 'scheduled',
'copy_destination_id' => '',
'profile_id' => 'default_plus_email',
'keep' => '30',
'period' => '604800',
'enabled' => '1',
'cron' => 'builtin',
'cron_schedule' => '0 4 * * *',
'type_name' => 'schedule',
)

The uncompressed file size for a backup is around 30MB. I also tried using compression but the result was the same: it worked once or twice and didn't work other times. Clearing the caches didn't seem to help. I also tried reinstalling the module to no avail.

Note that it managed to do one scheduled backup so far.

Backup and Migrate version: 7.x-3.1

Any ideas? Are there any other modules that does this? Drush is not installed on my shared host, so that doesn't seem to be an option.

Comments

naiduharish’s picture

Try to check database log when you are doing quick backup. There may be possibility that the database size is exceeding the max_file_size, please verify your php.ini if all your settings are appropriate.

volongoto’s picture

Thank you for the response naiduharish.

My phpinfo() shows:

post_max_size: 32M
upload_max_filesize: 64M

But I don't think file size really explains the cases where I could download the back up? Also, while my unzipped backup is around 30 MB, when I gzip it it shrinks down to 7.5MB and I still have the same problem. It sometimes works, sometimes doesn't.

Edit: The log doesn't show any database related errors or warnings, by the way.

volongoto’s picture

I forgot to mention that it also doesn't send the email it's supposed to send whenever it succeeds or fails to create the scheduled backup file.

volongoto’s picture

Any help would be great. This doesn't seem to be a file size issue. Am I wrong?

sumanthkumarc’s picture

Did you check the db log as suggested, when you try to take backup and it doesn't work?