Quick and dirty way to remotely backup a disk with ssh and dd
dd if=/dev/sda bs=1M | pv | bzip2 | ssh user@backup-server.com "dd of=/export/backups/system.08.01.2014.img.bz2"
Sending a few SIGUSR1s from another terminal with "kill -SIGUSR <pid>" for the dd command that is running
[root@system ~]# dd if=/dev/xvda bs=1M | gzip | ssh user@backup-server.com "dd of=/export/backups/system.08.01.14.img.gz" Password for user@backup-server.com: 304+0 records in 303+0 records out 317718528 bytes (318 MB) copied, 61,3709 s, 5,2 MB/s 315+0 records in 314+0 records out 329252864 bytes (329 MB) copied, 65,1725 s, 5,1 MB/sUsing pv instead of a bunch of kills...don't forget to type in your password for the remote server!
[root@system ~]# dd if=/dev/xvda bs=1M | pv | gzip | ssh user@backup-server.com "dd of=/export/backups/system.08.01.14.img.gz" Password for user@backup-server.com: 535MiB 0:02:06 [4,12MiB/s] [ <=> ]
sudo apt-get install pv
cd /usr/ports/sysutils/pv; make install && make clean
yum install pv