• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

MySQL backup by PHP CRON

mamedov

Chevereto Member
Very important and must available feature in Admin Panel to make MySQL backup ( compressed .tgz, tar.gz, or zip) archive by CRON(coded, not under linux cron-job) and send to owner email.
 
The best way to do auto backups is using crontab. Do this using PHP is not an smart move, and preserve the backup in the same server is somehow useless.
 
I can't imagine why you'd want the program to run your backups at all... This seems incredibly silly.
 
I'm not talking about the best way to do this. How many owners of chevereto has experience to make MySQL Backup and create scheduler cronjob? How many of them has SSH access? With PHP you will add small one line mysql_query to make "mysqldump". Just do it. Thanks.
 
Honestly that is not the way to do auto backups and I don't want to encourage an incorrect way to perform backups. Maybe I could add an small "Dump database" button, but not an auto-backup. In large installations that will surely hang PHP for a couple minutes / day so that's it, I won't add an auto-backup functionality.

You don't need SSH access to do a backup, in cPanel or any control panel you can add crons or generate backups easily. Someone without cPanel must have SSH for sure and he should know how to run the server in the first place.
 
Back
Top