Destramic Posted April 21, 2007 Share Posted April 21, 2007 basically i want a automated script that on a certian time (00:00) it will send sql tables to my computer so i have a backup? Ricky Link to comment https://forums.phpfreaks.com/topic/48003-cron-backing-up-database/ Share on other sites More sharing options...
shaymol Posted April 21, 2007 Share Posted April 21, 2007 Hi mate I am giving you a link from which you can get your desired answer. http://www.unixgeeks.org/security/newbie/unix/cron-1.html you can also get help from linux just typing man crond in the terminal Thanks ShaymoL Link to comment https://forums.phpfreaks.com/topic/48003-cron-backing-up-database/#findComment-234601 Share on other sites More sharing options...
Destramic Posted April 21, 2007 Author Share Posted April 21, 2007 so this would work? i dont understand where and what file format i should save it as? localhost@21 # cat /etc/crontab SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ 0 0 * * * root mysql_backup.php ricky Link to comment https://forums.phpfreaks.com/topic/48003-cron-backing-up-database/#findComment-234625 Share on other sites More sharing options...
Destramic Posted April 21, 2007 Author Share Posted April 21, 2007 anyone? help me? Link to comment https://forums.phpfreaks.com/topic/48003-cron-backing-up-database/#findComment-234697 Share on other sites More sharing options...
Destramic Posted April 21, 2007 Author Share Posted April 21, 2007 does anyone know how this is done? im thinking i dont know how to do this.... i dont know what file format to save the file as and where? any pointers? Link to comment https://forums.phpfreaks.com/topic/48003-cron-backing-up-database/#findComment-234790 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.