Here's an example of a restore on a secure network, using ftp(1) to pipe the compressed dump data over the network and uncompress it before piping it into restore(8), Note: ftp transmits everything, including userid/password, without encryption.
# ftp -o - ftp://user@server/backup.file.gz | gunzip | restore -rf -
Here's an example using SSH to pipe the compressed dump data over the network and uncompress it before piping it into restore(8) on an insecure network. The OS must be installed already.
# ssh user@system "cat backup.file.gz" | gunzip | restore -rf -
Last edited by jggimi; 31st August 2009 at 12:04 PM.
Reason: Noticed a typo in the ftp command
|