Jump to content

Question

Posted

Following the directions here.

I am told to enable automation, but there is nothing related to backups in [settings] > [system] > [Automation]. So the backup I have configured never runs.

 

Has this automated configuration been moved somewhere else?

 

Blesta v 3.5.3

11 answers to this question

Recommended Posts

  • 0
Posted
  On 6/4/2016 at 9:59 PM, cloudrck said:

Following the directions here.

I am told to enable automation, but there is nothing related to backups in [settings] > [system] > [Automation]. So the backup I have configured never runs.

 

Has this automated configuration been moved somewhere else?

 

 

Settings > System > Backups: Secure FTP: You set the time you wish to do it (hourly / daily)

Settings > System > Backups: Amazon S3: You set the time you wish to do it (hourly / daily)

 

And it will be done when you set it. Once a day I would assume it's midnight. I have every 12 hours on FTP and it works for me.

 

If it doesn't work (try testing the connection, it might be the port is closed or the IP is blocked in the firewall.

  • 0
Posted

Yes, I've followed the instructions. It's already configured for daily, but unless I force offsite backup, nothing backups.

 

The cron logs say nothing about backups.

The automation page says nothing about backups.

 

So I'm not sure how Blesta is supposed to call the backup script via cron jobs.

  • 0
Posted
  On 6/4/2016 at 10:51 PM, cloudrck said:

Yes, I've followed the instructions. It's already configured for daily, but unless I force offsite backup, nothing backups.

 

The cron logs say nothing about backups.

The automation page says nothing about backups.

 

So I'm not sure how Blesta is supposed to call the backup script via cron jobs.

 

 

Because it's ran by the backup system itself, it's not done via the cron job, that's why the "settings" are on the page itself and not on the automation page.

  • 0
Posted
  On 6/5/2016 at 12:48 AM, Paul said:

Backups are done via the cron, however there is no configurable automation task for it as it's a system task and not a company task.

Okay, that's fine. But how am I supposed to get it to work? The documentation is obviously incorrect since it mentions it's a company task.

  • 0
Posted
  On 6/5/2016 at 7:40 PM, cloudrck said:

Okay, that's fine. But how am I supposed to get it to work? The documentation is obviously incorrect since it mentions it's a company task.

 

Under Settings > System > Backup (Secure FTP and Amazon S3) whichever you are using, what is the value for "Backup Every"? This is what sets the schedule for backups, and there is intentionally no Automation task because it's configured here.

  • 0
Posted
  On 6/6/2016 at 6:25 PM, Paul said:

Under Settings > System > Backup (Secure FTP and Amazon S3) whichever you are using, what is the value for "Backup Every"? This is what sets the schedule for backups, and there is intentionally no Automation task because it's configured here.

It's set to backup Every Day.

  • 0
Posted

Does your web server run as the same user as your cron? I wonder if perhaps your cron does not have permissions to execute mysqldump like your web server.

 

I would suggest disabling the cron temporarily, setting your backup schedule to every hour and then run the cron command manually via SSH and observe the output and whether the backup is performed.

  • 0
Posted
  On 6/7/2016 at 3:33 PM, Paul said:

Does your web server run as the same user as your cron? I wonder if perhaps your cron does not have permissions to execute mysqldump like your web server.

 

I would suggest disabling the cron temporarily, setting your backup schedule to every hour and then run the cron command manually via SSH and observe the output and whether the backup is performed.

Okay, I can look into it later today. I posted here mainly to verify I was making the correct configuration changes. I will troubleshoot and report back here.

  • 0
Posted

Everything appears as it should be, but the backups are never executed. The user the cron is run under has permission to mysqldump the database. No error logs,

  • 0
Posted

If i remember i already adressed a request to use a php mysql backup rather than the system backup command .

After a negative response , i have opted with my own backup plugin . With a native php class to backup the database .

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...