A few sites that I work with are on MediaTemple, and I want to make sure that I have regular snapshots of the databases and web directories.
- Clone this repository into your
datafolder
cd ~/data/
git clone https://github.com/yeargin/mediatemple-backups.git
- Create a 'backups' or similiarly named folder in the
~/datafolder (e.g.~/data/backups) - Edit the
config.shfile to reflect your environment and needs (replace 00000 with the ID of your Gridserver) - Run the shell script(s) to verify that they work and that they are creating the correct Zip and GZ files
- Schedule their execution through another shell script (MediaTemple limits how many you can have) if needed
- The shell scripts themselves are fairly rudimentary. You may need to adjust things based on your personal preferences.
- Note that the array of sites and databases does not have a comma separating the values.
- Make sure you have your paths and usernames/passwords set correctly