Re: [SLE] Windows backups to a Linux server

From: Nicholas DeClario (funsac_at_gmail.com)
Date: 11/02/04

  • Next message: James Oakley: "Re: [SLE] changing to diffrent wirless netowrks"
    Date: Tue, 2 Nov 2004 08:38:42 -0500
    To: Hans du Plooy <hansdp@newingtoncs.co.za>
    
    

    The easiest way I found is to use cygwin, write a small script that
    will just rsync the system to the linux server. Make sure to exclude
    files that windows will lock such as the pagefile.sys. I then wrote a
    .BAT file that called cygwin and my bash script. Dropped it into the
    Windows event scheduler and all was fine.

    rsync in cygwin will default to using SSH so you will want to setup a
    passphraseless key and a command in the server's authorized_keys files
    for descent security if you are concerned.

    I also did the same thing to make backups to a local hard drive by
    having my bash script startup an rsync daemon and just rsync'ing to
    localhost on the other drive.

         -Nick

    On Tue, 2 Nov 2004 14:26:35 +0200, Hans du Plooy
    <hansdp@newingtoncs.co.za> wrote:
    > On Tuesday 02 November 2004 11:11, jalal wrote:
    > > I have a client who is using Windows XP and wants to backup his files
    > > (preferably automatically) to my Linux server.
    > [snip]
    > > But what would work under Windows? Does Windows have a shell and shell
    > > tools? I suspect not. And this is not a computer guru anyway.
    >
    > Windows does have scripting abilities, but I don't know much about them.
    >
    > What I did was make a share on the windows box, with user+password auth. Then
    > I wrote a script that mounts that share on the linux box, copy the stuff, and
    > unmounts it again. Works beautifully.
    >
    > --
    > Kind regards
    > Hans du Plooy
    > Newington Consulting Services
    > hansdp at newingtoncs dot co dot za
    >
    >
    >
    > --
    > Check the headers for your unsubscription address
    > For additional commands send e-mail to suse-linux-e-help@suse.com
    > Also check the archives at http://lists.suse.com
    > Please read the FAQs: suse-linux-e-faq@suse.com
    >
    >

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: James Oakley: "Re: [SLE] changing to diffrent wirless netowrks"

    Relevant Pages

    • Re: hpw to convert a linux python script ?
      ... Find the directory in which your script lives. ... When you want to open a data file in the script's directory, ... sys.exit("Only configured for Windows and Cygwin") ...
      (comp.lang.python)
    • Re: Download email attachement automatically with no client
      ... I'm also limited for the Windows ... However, since Windows lacks a mature scripting environment, something like ... Cygwin should have an ancient, but a somewhat usable Perl build. ... It should be possible to cobble together a Perl script that performs the necessary work. ...
      (comp.mail.misc)
    • rsync and plink (putty) fails, but cygwin ssh works
      ... I've got this working with the Cygwin rsync and Cygwin ssh - Windows ... one would assume plink would work - this is from the Putty ...
      (comp.security.ssh)
    • Running a Perl script under Cygwin
      ... Does anyone know how to call that script from ... outside the Cygwin prompt? ... For instance, from the WIndows scheduler? ... We have at work a bunch of Unix boxes and we use Control-M to ...
      (comp.os.linux.misc)
    • Re: rysyc between windoze and OpenBSD?
      ... >> OpenBSD? ... > There's rsync for windows at ... This is based on cygwin and I had much problems using rsync/ssh on ...
      (comp.unix.programmer)