Forum

Thread tagged as: Backup

Slightly confused about scheduled backups

I'm trialling perch runway and as such the backup functionality. However, despite setting up the backup (which works manually), and setting up the schedule (I've added the secret to the runway.php config), it is not automatically running the backup.

Do I need to create a cron job to run this? Or should it work by configuring everything within perch? I'm a bit confused by the documentation.

Thanks in advance

Chris George

Chris George 0 points

  • 4 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

Yes, you need something to actually run the scheduled tasks. See the documentation where it says "scheduling with cron"

https://docs.grabaperch.com/perch/getting-started/installing/scheduled-tasks/

Ah, yes ok all understood. I didn't appreciate the cron to run the "Scheduled tasks" as a whole... then the backups ran within that. All good now, db backed up every hour (while testing) and assets every 10 mins :-)

Thanks Rachel.