#!/bin/sh
echo "backup starting at $(date)"
echo "backing up music and tank to toshiba_mirror"
rsync -aP /wdraidz/media/music/ /toshiba-mirror/backups/media/music/ >> /var/log/rsync.log
echo "music up to date..."
rsync -aP /wdraidz/tank/ /toshiba-mirror/backups/tank/ >> /var/log/rsync.log
echo "tank up to date..."
echo "backing up wdraidz to seastripe"
rsync -aP /wdraidz/media/ /seastripe/backups/wdraidz/media/ >> /var/log/rsync.log
echo "media to seastripe done"
rsync -aP /wdraidz/tank/ /seastripe/backups/wdraidz/tank/ >> /var/log/rsync.log
echo "tank to seastripe done"
echo "done."
