VPS backup script – automated Ubuntu
You’ve spent hours configuring your Virtual Private Server exactly the way you want. You have everything working, even that infuriating WSGI module in Apache to run multiple Python apps… Maybe I’ll do a write up of that soon. But for now what if your VPS provider has a bad day and loses everything? It would be silly to not backup your VPS. And it’s easy to do. I’ve written an automated script to take care of it. Let’s create a backup script. nano /home/username/scripts/backup.sh Alright. Lets put the following in the file. Tailor to your needs. I’ll explain after. #!/bin/bash […]