Open LukeShortCloud opened 3 years ago
netcat
example with zstd
doing compression from stdin:
Receiver (start this process first):
# nc -l -p 3333 | zstd -f | dd bs=1M of=/root/backup.img.zst
Sender (redirect stderr to avoid dd
report at the end that is not part of the backup itself):
# dd bs=1M if=/dev/sda 2> /dev/null | nc <RECIEVER_IP> 3333
Common commands such as
scp
,rsync
,netcat
, etc.