Jump to content

Need a mysql backup script


hno

Recommended Posts

 

 

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.