Re: DR Server for Windows Machines

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



At Fri, 29 May 2009 21:06:40 +0000 CentOS mailing list <centos@xxxxxxxxxx> wrote:

> 
> I need to setup a CentOS box offsite to have a series of files replicated to it.
> My problem is this machine won't have Samba on it but I need to replicate the
> hierarchy in question in such a manner that I can restore from it and retain
> file system permissions.
> 
> That's where I am stumped, anyone got any ideas?

Get a port of GNU Tar for MS-Windows and install it and a SSH client on the
Windows Machines.  Use GNU Tar + SSH to ship the files.  GNU Tar will
preserve the file permissions.  Once the tar files land on the remote
(offsite box), unpack the tar file(s) to the local disk.

For the more adventurous, install Cygwin on the Windows machinesand
then you can fire up a bash shell and do:

tar czvf - -C local-path file ... | ssh remotebox tar xzvf - -C path-on-remote-box

To restore:

ssh remotebox tar czvf - -C path-on-remote-box .|tar xzvf - -C local-path


> 
> Thanks,
> jlc
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
> 
>                                                                                                                               

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
heller@xxxxxxxxxxxx       -- http://www.deepsoft.com/ModelRailroadSystem/
                                                                                     
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux