[nflug] backups on an nfs server

eric eric at bootz.us
Fri Aug 4 15:25:15 EDT 2006


thank you for the explaination, this sounds like the perfect way to go
reading the other emails as well with ssh keys.

Mark Musone wrote:

>The command runs tar on the local machine, sends the output to standard out.
>(lets say it's called "sourcemachine"
>
>It, in realtime takes that tar stream and sends it via ssh, issuing the
>command dd to copy stdin to a file (you can replace dd with "cat >
>/dest/server/filename", but I don't trust redirects through ssh/shell
>escapes.
>
>
>It's a simply streamlined version of:
>
># tar cf myfile.tar /
># scp myfile.tar destserver:/remote/dir/filename
># rm myfile.tar
>
>Except the nice thing is that you do not need that temporary (usually very
>large) tar file placeholder.
>
>Benefits are:
>
>1. substantially saved disk space
>2. 1/2 the disk I/O (only read, no write on the local machine)
>3. faster and more compact.
>
>
>
>
>-----Original Message-----
>From: nflug-bounces at nflug.org [mailto:nflug-bounces at nflug.org] On Behalf Of
>eric
>Sent: Friday, August 04, 2006 1:24 PM
>To: nflug at nflug.org
>Subject: Re: [nflug] backups on an nfs server
>
>"tar cf - / | ssh destserver dd of=/dest/server/filename/"
>
>Mark, so this command is sucking the file in from "destserver" and
>creating a tarred copy of "/dest/server/filename/"??
>_______________________________________________
>nflug mailing list
>nflug at nflug.org
>http://www.nflug.org/mailman/listinfo/nflug
>
>_______________________________________________
>nflug mailing list
>nflug at nflug.org
>http://www.nflug.org/mailman/listinfo/nflug
>  
>

_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list