Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Scheduled backup is not working

Started by Veehem 2 years ago · 1 replies · 183 views
2 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

2 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 Thomas, 1 week ago
2 54 12 hours ago
Support · by Anna, 3 days ago
2 60 15 hours ago
Support · by Justin Young, 15 hours ago
1 30 15 hours ago
Support · by Duc , 1 week ago
2 65 5 days ago
Support · by Colin Hume, 1 week ago
2 57 5 days ago