[solved] db lost, can still get html and css recovered?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
JiiPee
Forum Members
Forum Members
Posts: 81
Joined: Fri Jan 23, 2009 7:03 pm

[solved] db lost, can still get html and css recovered?

Post by JiiPee »

I had to reinstall fresh cmsms site, but I forgot to backup database. Now I have only files copied via ftp. There was not yet any content given to the site so I dont worry about that. But is there any way to get my template html and css files recovered?

I tried installing new cmsms so it builds database and then changed all the files with fpt but that dont seem to work. Any idea that would give easier approach than starting from beginning?
Last edited by JiiPee on Sat Jul 17, 2010 3:01 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: db lost, can still get html and css recovered?

Post by calguy1000 »

sorry, the templates and css are stored in the database.  If you overwrite the database, and didn't have a backup you are probably pooched.

The ONLY things you may be able to do are:
a) If you were using the TemplateExternalizer module, check the tmp/externalizer directory (by default) to see if there are any files left there.
b) try to extract some stuff out of your browser cache (but that may be lost too, now that you've re-installed).
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
JiiPee
Forum Members
Forum Members
Posts: 81
Joined: Fri Jan 23, 2009 7:03 pm

Re: db lost, can still get html and css recovered?

Post by JiiPee »

Thanks for fast reply!
Lesson learned...  :D
compufairy
Forum Members
Forum Members
Posts: 183
Joined: Sun Sep 07, 2008 10:47 am

Re: [solved] db lost, can still get html and css recovered?

Post by compufairy »

Happened to a customer of mine with an entire (and finished - already published) site. Called my host and asked him to put backup from the day before in the account, worked like a charm :)

Regards,

Anne-Mieke
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur..." (Red Adair)
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: [solved] db lost, can still get html and css recovered?

Post by calguy1000 »

Yeah, backups are important... and hopefully your host has them... but I wouldn't rely on it.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
compufairy
Forum Members
Forum Members
Posts: 183
Joined: Sun Sep 07, 2008 10:47 am

Re: [solved] db lost, can still get html and css recovered?

Post by compufairy »

True... And NEVER allow a customer to give a stupid intern full admin rights and access to FTP, or have customer sign that he solely is responsible for backups...
;)
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur..." (Red Adair)
Post Reply

Return to “CMSMS Core”