Back Up Deleted Everything
Permalink
Please HELP!
I had to restore my site because there was an error from a stack that would not allow me to open a bunch of pages with that stack on it. Once I restored it to two days ago everything was wiped off the pages but the pages still exist (over 100 pages). How do I go back or undo this restoration.
I had to restore my site because there was an error from a stack that would not allow me to open a bunch of pages with that stack on it. Once I restored it to two days ago everything was wiped off the pages but the pages still exist (over 100 pages). How do I go back or undo this restoration.
First of all sorry to see you having a problem with your site.
These issues are usually pretty case specific and there is no straight advice on how to fix this situation. A good rule of thumb is that ALWAYS, no matter what, take a database dump of your whole database before mangling with it in any way. And it is recommended to use the "mysqldump" software found on all servers where MySQL is installed. Using the concrete5's built in backup functionality might not work always, especially with larger databases.
Because of this, I think you should be better off posting this issue at the jobs forum:
http://www.concrete5.org/community/forums/jobs1/...
There you're able to find a concrete5 professional to help you out with your problem. Sorry, there's really no way of helping you out with the information provided here. To solve this problem, someone needs to take a look at your database and possibly the site's code as well if it has some custom code written for it (or a custom theme for instance). And it might also be necessary to take a look at the database dump that you used to restore your site.
If you added the content to all of these pages AFTER you took the backup, then unfortunately there is nothing that can be done. However, if the content was already on the pages when you took the backup, then there might be something that can be done, assuming the database dump is not corrupted in any way.
"Wiped off the pages" can mean anything depending on the person. Someone might say that if the pages are completely gone, someone if only some of the content is gone and someone if only e.g. a couple of pictures are missing. From your description I understood that the pages are still in the sitemap but you don't see ANY of their content anymore (they display as blank pages). Chances are that in this case the content might be still in the database and e.g. there is a PHP error preventing it from displaying and that was fixed in your later code (changes done after the backup). Or an area name has changed in your codebase but in the old backup the area had a different name (if the backup consists only of the database dump).
Some things that might to get this solved once you post this to the jobs forum:
- How did you first take the backup? mysqldump or something else?
- Was the content added to your pages before you took the backup or after?
- Did you do an additional backup prior to the restoration?
- Does the backup consist of a database dump solely or is there also the site's files and codebase stored in your backup?
Nothing more that I can say to this except that sorry to hear this has happened to you and hoping for the best for you!
Hopefully this also serves as an example for anyone else to treat full site backups and restorations with extreme care.
Best regards,
Antti / Mainio