March 18, 201511 yr I recently made a back-up of a client's website by directly downloading the site from my server. I then accidentally deleted the website from the server. When I re-uploaded the site via FTP I noticed that the entire wp-content directory that was downloaded onto my local drive was empty. The folders are there intact but there is nothing in them. Why would that happen?? Is there absolutely no way I can get these files back now? I've checked my CP admin panel and the server is only backed up with 4 days worth of backups which hasn't got this site on it. The database is untouched. Thank you.
March 18, 201511 yr Does the hosting company backup the server overnight? If so, they may be your saviour. This sounds like the only option. Luckily, it sounds like you didn't lose the database. I would take this as an opportunity to look into version control systems like Git, and a better deployment system than FTP. It's going to take a bit of getting used to, and some additional learning, but it's honestly a life saver when situations like this happen.
March 18, 201511 yr Author The hosting company only has 4 days of back up. This happened a month ago! :/ Is there nothing that can be done? I have all the files on an external hard drive but they are all in one directory. Is there any way I can put these back on the server and the database will recognise them and how the order they should be in etc? Cheers guys!
March 18, 201511 yr Author Sorry, I read that back and that's obviously not what I meant! What I meant to ask was, is there anyway of looking at the database to see where the files should go? Cheers!!
March 19, 201511 yr Contact the web hosting company - they might be doing some backups that you are not aware of, and hence might be able to restore the site.
Create an account or sign in to comment