I always make back-ups of my website over FTP. Recently my site bombed (my fault I making changes). So I uploaded via FTP my BU (from just before I did the changes) and it was totally unusable. Luckily I have a second BU source and this one worked. However- what am I doing wrong in the FTP BU is the question? (I learned over the years that you can not have enough backups).
What I do is. Log in via FTP (Cyberduck). Download my website to my Mac, compress and store it. The folder I download is in a folder called Websites, at root level, and in it is the folder with the WP installation and the other bits one needs to run a WP site (lets call the folder WS1). So, root > Folder Websites > WS1. It is this second folder (WS1) that I download completely and store. At the same time I download a copy of the MySQL database.
In a restore I delete the whole folder WS1 on my server while logged in via FTP. Next I upload the uncompressed folder WS1 to my server via FTP. That should work, or?
My question is: Is this the right way to do it? If not I know what to do different the next time.
I had 3 thoughts about the possible cause:
1. Might there be invisible folders of files that do not get copied in one or both directions. Can that be the cause?
2. Copying from my server to my Mac I change platforms and something gets corrupted there? Can that be the cause?
3. By copying the WP installation (the application itself) and copying it back it gets corrupted? So should I only copy other bits? And if so what are they? Can that be the cause?
If it is not any of the above I need to find out what else might have gone wrong.