Skip to contentSkip to conversation

Backups the old fashioned why

DISCUSSION David Jackson 2 participants 2 messages May 14, 2002 – May 15, 2002

lore
Share & tools
lore
#0 lore raw

Glynn --
Thanks for you reply, I new this was simple, I'm guessing dump would support a similar syntax ( man talks about rsh shell). Another question about dump, is their a problem with dump and ext3 filesystems?

Thanks as always,
David

---------- Original Message ----------------------------------
From: Glynn Clements <[email protected]>
Date: Tue, 14 May 2002 23:57:47 +0100

Quoted 31 lines
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 · 5 lines
Glynn Clements <[email protected]>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#1 lore raw
Quoted 4 lines · David Jackson

Thanks for you reply, I new this was simple, I'm guessing dump would support a similar syntax ( man talks about rsh shell). Another question about dump, is their a problem with dump and ext3 filesystems?

I'm not sure. Certainly, dump is filesystem-specific. But, as ext3 is so similar to ext2, it might not matter. I suggest trying to find documentation which explicitly says whether dump works on ext3.

Signature · 1 line
Glynn Clements <[email protected]>