Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Scheduled backup is not working

Started by Veehem 3 years ago · 1 replies · 739 views
3 years ago

I've the opportunity to make a manual backup but the scheduled one are not working.
I've already found the solution with a cron job as mentioned here /forum/support/scheduled-backups-not-working-t4975
But I would prefer an out of the box by Grav Admin
24-04-26-Grtav_Bkup|690x268
Thanks for any solution

3 years ago

Cron is a system task outside of the content management system. I think it's good for security that web applications can't create system tasks. I'd be nervous if they could.

I recall Wordpress and/or Drupal has a plugin called "Poor Man's Cron" which basically runs tasks after a time has elapsed, which it checks when a web page is hit. In Grav, there's also a theoretical possibility to trigger backups using a call to an Admin API.

I highly recommend you build sites with version control (like Git) and a separate development environment. When that is the case, you (generally) have no need for backups via Grav. But that's up to you.

You won't be able to set up proper OS cron through Grav.

Suggested topics

Topic Participants Replies Views Activity
Support · by TomW, 2 weeks ago
8 227 8 hours ago
Support · by alex, 2 months ago
8 667 23 hours ago
Support · by Supple, 5 days ago
1 98 1 day ago
Support · by TomW, 1 week ago
3 159 3 days ago
Support · by TomW, 6 days ago
2 106 5 days ago