Re: Easy way to backup FC5 over network?[Scanned]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2006-06-23 at 06:24, Chris Bradford wrote:
> I've been looking into backup solutions for my FC5 boxes over our 
> network to a file server.
> 
> I came across netcat and tar, using the following commands:
> 
> On the file server run:
> 
> *nc -l 6060 > backup.tar.gz*
>  
> 
> Then on the client run:
> 
> *tar czvOPp --same-owner /* | nc 10.0.35.100 6060*
> 
> 
> However this fails due to files in use (i.e the '/proc/' folder) so what 
> I want to know is what I would need to do in order to create a full, 
> working backup.
> 
> Any ideas?

The quick fix for a one-off copy is to do each filesystem
separately so you won't wander into /proc or mounted nfs
or iso filesystems, so add the --one-file-system option
to tar and repeat for each filesystem you want (df or
mount will show the list).  It's also easier to use ssh
instead of netcat since you can do it all from one end
although there is some overhead for encryption:
tar  -f - .... |ssh fileserver 'cat >filename'
But, if you are doing this more than once, look at
http://backuppc.sourceforge.net/ which will completely
automate the copies, use compression and duplicate linking
to save space, and give you a nice web interface for
restores.

-- 
  Les Mikesell
   lesmikesell@xxxxxxxxx



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux