+ bastion=bastionhost
+ login=user@hostname
+ current=/backup/hostname
+ via='-e "ssh bastionhost ssh" user@hostname:'
+ rsync -aphvz --delete --compress '-e "ssh bastionhost ssh" user@hostname:/root/' /backup/hostname/root/
sending incremental file list
rsync: change_dir "/backup/hostname/root" failed: No such file or directory (2)
sent 12 bytes received 12 bytes 48.00 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1060) [sender=3.0.7]