From owner-freebsd-questions@FreeBSD.ORG Fri Feb 6 01:39:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC41D106566B for ; Fri, 6 Feb 2009 01:39:09 +0000 (UTC) (envelope-from david.karapetyan@gmail.com) Received: from mail-qy0-f17.google.com (mail-qy0-f17.google.com [209.85.221.17]) by mx1.freebsd.org (Postfix) with ESMTP id 5CDC78FC23 for ; Fri, 6 Feb 2009 01:39:08 +0000 (UTC) (envelope-from david.karapetyan@gmail.com) Received: by qyk10 with SMTP id 10so1122021qyk.19 for ; Thu, 05 Feb 2009 17:39:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=UCqSFGOQzlaPV4gTxHxVs69VaTgc39ch7g0qfMwP3ks=; b=ZRyDR9qSssqO0MyPpkQ+00yfpDiyBLzb1CVsey/E3cllxkYkPFp+nSytlUuKryzwk7 Q9biO/fHH8Nqf+RWnRP6GXPQ8/12++w8GgsCLqQOifnvp96wy5DhS0/WJ218mXn8s13J nnY+myPyb31nQhwFn0Rp2p9qowJcCA0j9eCRs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; b=YCKKuxgz8fTJ+L50zX2j6OyPXA9AI0gBhF0D7+oeb6VyPjpiAT0i1AF4cdUTNNgV4x 1LhxIPqdfAxmMTeSf3CzKUyVy7lwR7kF2747QyZDi1sef2VZa5DKecesVycevlpbIcZv nOU8rINkYRkjUs8Y05zi+3wlROxeGqmX7GPWs= Received: by 10.214.79.19 with SMTP id c19mr1860713qab.38.1233884344148; Thu, 05 Feb 2009 17:39:04 -0800 (PST) Received: from localhost (vagrant.math.nd.edu [129.74.203.241]) by mx.google.com with ESMTPS id 33sm1672389yxr.52.2009.02.05.17.39.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 05 Feb 2009 17:39:03 -0800 (PST) Date: Thu, 5 Feb 2009 20:39:00 -0500 From: David Karapetyan To: freebsd-questions@freebsd.org Message-ID: <20090206013900.GB367@vagrant.math.nd.edu> Mail-Followup-To: freebsd-questions@freebsd.org References: <21864688.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <21864688.post@talk.nabble.com> User-Agent: Mutt/1.5.18 (2008-05-17) Subject: problem rsycing with remote dir X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 01:39:10 -0000 Hello everyone. I am using the --backup flag in rsync to save incremental changes that rsync makes when I sync a directory on my laptop with my remote server. Please look at my pastebin code: http://pastebin.com/m16a3ce38On The problem is that I end up generating an root@davidkarapetyan.homeunix.com: directory on my laptop that contains empty versions of all the directories that were backed up. In short, it is a directory filled with empty sub directories. Furthermore, I am unable to have $INC be placed anywhere other than within $TARGET, no matter how I alter the code. Interestingly enough, I use a very similar script on the server itself, with no issues. It seems that rsync's remote backup scheme, with the --backup flag, is a bit borked. Any suggestions? -- -- Best, David Karapetyan http://davidkarapetyan.com University of Notre Dame Department of Mathematics 255 Hurley Hall Notre Dame, IN 46556-4618 Phone: 574-631-5706 Cell: 202-460-5173 Fax: 574-631-6579