| PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >> |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread |
|
|
#1 (permalink) |
|
Registered User
Comfy Contributor
Joined in Jun 2004
127 posts
Gave thanks: 0
Thanked 0 times
|
how to restore deleted content?
i have got a daily backup from whole database. a few days ago i delete a category and also all thier articles from database. now i want only back that category and articles. how to restore only deleted contents?
__________________
Ready For Romance first persian harry potter site: www.jadoogaran.org(means wizards.org in english) ٌWelcome dedi |
|
|
|
|
|
#2 (permalink) |
|
is scientific.
Resident.
Joined in Mar 2004
Lives in fear of Obama.
Hosted on Pass 7
13,117 posts
Gave thanks: 8
Thanked 34 times
|
You have to reinsert only the deleted data. This means you'll have to pick out the parts you want reinserted, and use the SQL option to reinsert them.
|
|
|
|
|
|
#3 (permalink) |
|
Registered User
Comfy Contributor
Joined in Jun 2004
127 posts
Gave thanks: 0
Thanked 0 times
|
and how to :" reinsert only the deleted data." ??
i dont find "the SQL option to reinsert them"
__________________
Ready For Romance first persian harry potter site: www.jadoogaran.org(means wizards.org in english) ٌWelcome dedi Last edited by irmtfan; December 2nd, 2005 at 11:00 AM.. |
|
|
|
|
|
#4 (permalink) |
|
Demontech Hosting CEO
Excelling Contributor
Joined in Oct 2004
Lives in Stockholm, Sweden
Hosted on PASS39
744 posts
Gave thanks: 0
Thanked 3 times
|
You can open your backedup databases in notepad.
And you can edit your DB you have on the server online via PHPMYADMIN in Cpanel. You just paste your line in the SQL Command window. or add the changes to a new sql file witch you upload.
__________________
Sincerely, Demon High Quality Hosting Service Provided By --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
|
#5 (permalink) |
|
is scientific.
Resident.
Joined in Mar 2004
Lives in fear of Obama.
Hosted on Pass 7
13,117 posts
Gave thanks: 8
Thanked 34 times
|
Yeah, you'll have to edit the backup file. Depending on the way it backed it up you may have serveral columns that say something like:
INSERT "fdshfkjsd" INSERT "hukdhfs" INSTER "udhkfjhkjds" which makes it easier sometimes, or it may be one insert command, with everything in that one. I hate those. |
|
|
|