sunilpaladugu Posted May 5, 2011 Share Posted May 5, 2011 Hi all Cam any body give me a clue about daily DB-backup in mysql which is need to run automatically. I am using php-mysql for my application I have to provide daily backup for my database. Any help could be appreciated. Thanks Sunil Link to comment https://forums.phpfreaks.com/topic/235562-mysql-daily-back-up/ Share on other sites More sharing options...
gristoi Posted May 5, 2011 Share Posted May 5, 2011 If you have access to setup up cron jobs then set a cron to run mysqldump -u<your username> -p< your password> <database name> | <compression type e.g gzip> > location Link to comment https://forums.phpfreaks.com/topic/235562-mysql-daily-back-up/#findComment-1210860 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.