www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/18/14:10:37

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Received-SPF: pass (google.com: domain of reini DOT urban AT gmail DOT com designates 10.152.122.74 as permitted sender) client-ip=10.152.122.74;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of reini DOT urban AT gmail DOT com designates 10.152.122.74 as permitted sender) smtp.mail=reini DOT urban AT gmail DOT com; dkim=pass header.i=reini DOT urban AT gmail DOT com
MIME-Version: 1.0
In-Reply-To: <20120214152815.12152cdolruwplog@www.kalani.com>
References: <20120214152815 DOT 12152cdolruwplog AT www DOT kalani DOT com>
Date: Sat, 18 Feb 2012 13:10:08 -0600
Message-ID: <CAHiT=DHU7FYR61gh9YYLSsRpHZWHftACL0o3RcXv1rsTizLkrw@mail.gmail.com>
Subject: Re: need help with perl script and rsync
From: Reini Urban <rurban AT x-ray DOT at>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q1IJAXuT009564

On Tue, Feb 14, 2012 at 3:28 PM, wrote:
> We use ActiveState perl in a backup processes at my work. A programmer
> created a perl script to create an incremental backup using rsync. The
> script does not do the incremental backup, just a full backup. It worked in
> winxp, but now that we are using it on win7 its not incrementing.
>
> I cannot get in contact with the programmer. Is there someone here that can
> look at the script and find out what the issue is?

You can send it to the list or to me.

rsync is cygwin, activestate perl is not, so you have to use path
conversions, which are unnatural to both.
Easiest would be to use cygwin perl and get accustomed to POSIX paths
and permissions.

PS: rsync does incremental backups natively. I don't see the apparent
need for a perl driver. But even PAUSE uses a perl driver to rsync for
performance reasons with huge mirroring costs.
-- 
Reini Urban
http://cpanel.net/   http://www.perl-compiler.org/

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019