hno Posted January 12, 2010 Share Posted January 12, 2010 HI, I want a script to backup the database completely for example all of the rows in tables and restore it in the host in a specific folder.I have downloaded a class for that but the problem is this because I have farsi and arabic characters when I get backup and restore it those characters is not readable.If you want I can put that class here. Please help me with that. Thank you Quote Link to comment https://forums.phpfreaks.com/topic/188171-need-a-mysql-backup-script/ Share on other sites More sharing options...
oni-kun Posted January 12, 2010 Share Posted January 12, 2010 Why don't you create a CRON file to automatically pull out the database at a defined interval and place it into a folder that you wish? (could be inside or outside your public html folder). And as it'll maintain the structure of the database, it should keep your encodings correct. It's much easier than using a class or script to back it up. Quote Link to comment https://forums.phpfreaks.com/topic/188171-need-a-mysql-backup-script/#findComment-993409 Share on other sites More sharing options...
hno Posted January 12, 2010 Author Share Posted January 12, 2010 Why don't you create a CRON file to automatically pull out the database at a defined interval and place it into a folder that you wish? (could be inside or outside your public html folder). And as it'll maintain the structure of the database, it should keep your encodings correct. It's much easier than using a class or script to back it up. How should I do so? thanks Quote Link to comment https://forums.phpfreaks.com/topic/188171-need-a-mysql-backup-script/#findComment-993444 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.