Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Jul 2000 06:37:06 -0500
From:      Corey Sklenicka <corey@cloudnet.com>
To:        freebsd-doc@FreeBSD.org
Subject:   cpio across network
Message-ID:  <4.3.1.2.20000707062946.00ad8100@192.168.0.1>

next in thread | raw e-mail | index | archive | help
I noticed you had (XXX add an example command here) in the Handbook under 
the 11.3.3 Cpio section.  Just thought I'd send what I use in case you 
didn't have any working examples.

for f in <directory list to backup>  ; do
   find $f >>backup.list
done

cpio -v -o --format=newc < backup.list | ssh <backupuser>@<host> "cat > 
/dev/<backup-device>"

Cloudnet                                     Phone: (320) 240-8243
26 6th Ave N, Suite 110                Fax:   (320) 240-8653
St. Cloud, MN 56303                    http://www.cloudnet.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.1.2.20000707062946.00ad8100>