Backups the old fashioned why
Howdy --
Simple situation, how to back up servers across
a phone line (network):
I want to backup meatloaf to a tape drive attached to gravy using a dialup connection. Can I specify a hostname as part of the device?
For instance on meatloaf:
find . -depth -print |cpio -o > gravy:/dev/rmt0
TIA,
David
On Tue, May 14, 2002 at 04:40:33PM -0600, David Jackson wrote:
| Howdy -- | Simple situation, how to back up servers across | a phone line (network): | | I want to backup meatloaf to a tape drive attached | to gravy using a dialup connection. Can I specify | a hostname as part of the device? | | For instance on meatloaf: | find . -depth -print |cpio -o > gravy:/dev/rmt0
I assume TCP/IP is running between the two, so why not use SSH (otherwise you're back to using Kermit or uucp). I think you can (somehow) tunnel things through it. Somehow pipe the output from cpio (or tar) into the tunnel, and it comes out the other end and goes onto the tape.
A quick google turned this up: http://www.psychosis.com/datbkr/ maybe it's useful?
I just hope you don't pay for your phone calls when backing up!
Signature · 4 lines
I will not burp in class 6AD6 865A BF6E 76BB 1FC2 | www.piku.org.uk/public-key.asc E4C4 DEEA 7D08 D511 E149 | www.piku.org.uk [email protected] (rot13'd)
Quoted 9 lines · David Jackson
Simple situation, how to back up servers across
a phone line (network):I want to backup meatloaf to a tape drive attached to gravy using a dialup connection. Can I specify a hostname as part of the device?
For instance on meatloaf:
find . -depth -print |cpio -o > gravy:/dev/rmt0
This won't work; the ">" operator is part of the shell, which doesn't support the "host:path" syntax.
However, cpio itself (like tar) understands the "host:path" syntax (this spawns "rsh" to connect to the specified host, so the remote host needs to support rsh). So, you could use:
find . -depth -print |cpio -o -O gravy:/dev/rmt0
or:
find . -depth -print |cpio -o -O username@gravy:/dev/rmt0
Signature · 1 line
Glynn Clements <[email protected]>