X-Recipient: archive-cygwin@delorie.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.urban@gmail.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.urban@gmail.com designates 10.152.122.74 as permitted sender) smtp.mail=reini.urban@gmail.com; dkim=pass header.i=reini.urban@gmail.com
MIME-Version: 1.0
In-Reply-To: <20120214152815.12152cdolruwplog@www.kalani.com>
References: <20120214152815.12152cdolruwplog@www.kalani.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@x-ray.at>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
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


