Farid Ahmadian / General

dd over ssh

Public Domain


dd if=/dev/hda | ssh [email protected] "dd of=/directory_of_backups_on_ssh_server/backupfile.iso"

SSHFS

sshfs [email protected]:/somedirectory local_directory

Display Progress of dd

watch -n5 'sudo kill -USR1 $(pgrep ^dd)'

BY: Pejman Moghadam, Farid Ahmadian
TAG: dd, ssh, sshfs
DATE: 2013-06-18 11:51:45


Farid Ahmadian / General [ TXT ]

With many thanks and best wishes for dear Pejman Moghadam, someone who taught me alot in linux and life :)