This community thread discusses how to set up a cron job to automatically run backups using phpMyBackupPro. Automating backups ensures your data is consistently saved without manual intervention.
Step-by-Step Cron Setup
Make sure cron.php from phpMyBackupPro is uploaded to your server.
Test it manually by accessing: https://yourdomain.com/phpmybackuppro/cron.php
On your server (Linux), open the crontab editor: crontab -e
Add the following line to schedule daily backups at 2 AM: 0 2 * * * /usr/bin/wget -q -O /dev/null "https://yourdomain.com/phpmybackuppro/cron.php"
Important Notes
Make sure your phpMyBackupPro is properly configured to perform scheduled backups when cron.php is triggered.
You may need to adjust permissions or use curl instead of wget, depending on your hosting environment.
Ensure output is redirected to /dev/null to avoid generating unnecessary logs.