3 ms·
I don't always backup an entire system with 'dd', but when I do: dd if=/dev/da0 | ssh user@rsync.net "dd of=backup.dd" or maybe: pg_dump -U postgres db | ssh
by rsync 13y ago
I don't always backup an entire system with 'dd', but when I do:
dd if=/dev/da0 | ssh user@rsync.net "dd of=backup.dd"
or maybe:
pg_dump -U postgres db | ssh user@rsync.net "dd of=db_dump"
- lttlrck 13y ago"Stay thirsty, my friends."
- icebraining 13y agoUnless you have a really big upload pipe, better use ssh -C.
- wmf 13y agoI don't know if ssh -C is strong enough these days. I use pigz or maybe pxz -1.
- simcop2387 13y agoi'd look at using pv for the input, makes for a nicer output pv /dev/da0 | ssh user@rsync.net "dd of=backup.dd"