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: Subject: Re: need help with perl script and rsync From: Reini Urban To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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