This:
Should be:
echo "1 -> 2"
rsync -a --delete /backup/1/* /backup/2
echo "0 -> 1"
rsync -a --delete /backup/0/* /backup/1
rsync --rLptgoD --delete source /backup/0
Right?
I read in this post: http://interworx.com/forums/showthread.php?t=1047&highlight=backup
That the structure backup does not backup databases.
You need to use the --database option to only backup databases:
http://interworx.com/forums/showthread.php?t=1405&highlight=backup+database
So I have to write a script that first remotly rsyncs /home, then does the structure backup and then the database backup. It’s going to be fun
Too bad that this structure backup is not available at the moment