Submitted by mig5 on Mon, 20/09/2010 - 20:36
I once wrote an Aegir bulk backup script that was pretty rudimentary, (although popular for some reason): it interrogated the Apache vhosts of your Aegir system and generated a 'provision-backup' task against each site that it found.
The result was a tarball of the site files and database dump in your /var/aegir/backups directory.
It worked pretty well for its time, other than the issue that plagued us in those days: tasks like provision-backup, which were solely 'backend only', were unable to be fetched from the frontend.
Submitted by mig5 on Sun, 28/03/2010 - 11:02
I've been playing with RackSpace Cloud lately and so far I've been quite impressed. The price is quite competitive, the network seems quite stable and performance is no issue. Plus: persistent storage in the cloud, out of the box! Awesome.
The support has been good (I had a routing issue on privatenet interfaces between two servers, which I was certain was either at the network or hypervisor layer and not my firewall. The engineers and I ran through the usual tests til it was assumed a hypervisor routing issue with this particular guest, which a reboot of the guest fixed).
#!/bin/bash
# Basic backup script
# Written in February 2010
# Set to q to disable verbosity
VERBOSITY="v"
# The program we're using to backup
PROGRAM="rsync"
# The arguments to the program
OPTIONS="-aHP$VERBOSITY"
# The remote machine we're backing up
SERVER="max"
# The local disk to back up to
DISK="/mnt/disk"
# An array of shares on $SERVER to back up
SHARES=(
hr
finance
clients
operations
newsvn
svn
backup/jira
backup/svn/noah
backup/dbbackups/kontrol_live
backup/dbbackups/god
)
# The magic
for share in ${SHARES[*]}; do
Pages
Recent comments