All pastes #2052701 Raw Edit

Unnamed

public text v1 · immutable
#2052701 ·published 2011-05-02 03:12 UTC
rendered paste body
#!/bin/bash
set -x
bastion=bastionhost.com
login=user@hostname.com
current=/backup/hostname.com

via="-e \"ssh $bastion ssh\" $login:"
rsync -aphvz --delete --compress $via/root/ $current/root/