This is the script I run every morning to back up all of the databases in my MySQL database – it gets every database, including mysql, which has the users and access rights for users. Obviously, you’ll need to modify a few of the variables in the script, but it shouldn’t be difficult. There are…
Category: Backup
Backing up VirtualBox VMs
This script below is what I use to make backups of running Windows VMs, they are put into hibernation, then the drive is imaged, then the machine is woken back up. There is downtime with this method, but not much and it is easy to schedule as a low use-time service. #!/bin/bash ## ## Destination…
Backup and restore all your packages on Debian based machines.
So, you’re somebody that plays a lot with Linux? Create a script that runs weekly or so with the commands below, and you’ll always be prepared for the worst that life can toss your direction! Okay, that might be overly optimistic, but it can’t hurt, and can save you a ton of time when you…