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 Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/235562-mysql-daily-back-up/#findComment-1210860 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.