mforan Posted October 16, 2007 Share Posted October 16, 2007 Hi i was wondering, how would you make a backup of your Mysql database to a secure location of your website. for example, in a locked backup folder. is it possible to do this, so that when a php file is run on the site, it performs a backup to this "secure" directory? help much appreciated! Quote Link to comment https://forums.phpfreaks.com/topic/73566-backup-database-to-a-secure-directory-on-website/ Share on other sites More sharing options...
prime Posted October 17, 2007 Share Posted October 17, 2007 I havn't actualy tried this but I suppose you just read the entries from the database like you would anytime. Then just use fwrite to save it to a htaccess locked part of the website Quote Link to comment https://forums.phpfreaks.com/topic/73566-backup-database-to-a-secure-directory-on-website/#findComment-371176 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.