I’ve updated my website-backup.py script. I added a little optimization to delete the yesterday’s backup if nothing was changed on the remote website. This let me save some megabytes on the hard drive for everyday backups of near-static websites. The optimization I added is simply based on checksum comparison. This is the context to the previous script I wrote today: it was a tool to help me debug and experiment this new feature.
You can find the latest version of the website-backup.py script in my Linux script page. Here is the direct link to today’s version.
I used your website backup script for mysql dump ssh and had one issue. Whenever I run it it still ask me for my ssh password even though I have it under the password variable. Any idea what may have caused this?
First, try to run the script with the
--debugto give me a more precise feedback.