X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 45A0E388F400
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=acm.org
Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=daveroth@acm.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=comcastmailservice.net; s=20180828_2048; t=1588703890;
 bh=/1nGMikBXr6swZqPNrksPBlNqWvfk2Oa7lVYU9BsLvQ=;
 h=Received:Received:Received:Received:Subject:To:Reply-To:From:
 Message-ID:Date:MIME-Version:Content-Type;
 b=D3WxIgk/g7lSMXkeeKXJUthWPrkjLYOQdt+PpXA3IsyrA3htvKbCgBLV0C6NWD+F8
 fk2geu5dPZ5BMMVwhYO8l3KnJa7XAIH221EjU6qBkhXQtI8I7O16W8NMBgtIaKWc+O
 o+7jBrNPI1N8Z0e/K35y+sIabTu0TcEyFaE1afQABbpMPzivGe16zWu2rxfEOeoMPe
 vePVHLjCqiAX/q/YpetPeuvcFtLDXr9r1FtFnFskw/sUeA3SQk1sJyac/+U85oSMOZ
 1Gc6pAm6G4u1VL/YpVa8tpVfQYb/EdalwxglxwinT92cFINVghTWnE/5cGZzrd6Jel
 g0BVZG0x6caPw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=comcastmailservice.net; s=20180828_2048; t=1588703890;
 bh=/1nGMikBXr6swZqPNrksPBlNqWvfk2Oa7lVYU9BsLvQ=;
 h=Received:Received:Received:Subject:To:Reply-To:From:Message-ID:
 Date:MIME-Version:Content-Type;
 b=US5g72tWdwbv0eQ2vXkmYpa+KCbGFX88Yur/ca43Rj8Qb7xxyxHSyJLOaEMYNUqb4
 5/qVK2iKDmoXdZMKt/E4ULgM0RMHuK9yU2thc/gQ3gDInG1qydFCsWk9RxY7Rimxvc
 gEfDzbc4qO9CYBj3kg9oaGwchVzizCiecwe/sgCAF5xXgXocOaiXn4OZCDihatcFm0
 zvwZcVoLjrrB8QbOwEbVC+TfzTVbUSV3ATBJda1tuXPwWcHrFSX3lW2jRCLiX1k1AE
 8r+MtBsTCV897v7Uve2GhIyJCPBxopx7oWTNeF5E5QlVLZwluRQYgk/uS9o8apYmBD
 3s1l202kVmKbw==
X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgeduhedrjeeigdduvdefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuvehomhgtrghsthdqtfgvshhipdfqfgfvpdfpqffurfetoffkrfenuceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfrhfhkffffgggjggtgfesthekredttdefheenucfhrhhomhepffgrvhhiugcutfhothhhvghnsggvrhhgvghruceouggrvhgvrhhothhhsegrtghmrdhorhhgqeenucggtffrrghtthgvrhhnpeeujeefieduleekheejtdeuledvuefgtdehvdetjedvgfetkedviedvgeeiteelteenucfkphepjeefrdegvddrudejtddrvdegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghlohepmhgrihhlrdgurghvvghrohhthhdrugihnhgunhhsrdhorhhgpdhinhgvthepjeefrdegvddrudejtddrvdegpdhmrghilhhfrhhomhepuggrvhgvrhhothhhsegrtghmrdhorhhgpdhrtghpthhtoheptgihghifihhnsegthihgfihinhdrtghomh
X-Xfinity-VMeta: sc=0.00;st=legit
Subject: Re: Update request for rdiff-backup
To: cygwin@cygwin.com
References: <eaed8841-276f-302d-e2ac-f9ecbd9401ad@acm.org>
 <03bafa60-d782-ca7e-2df6-fb727cdacd66@snkmail.com>
From: David Rothenberger <daveroth@acm.org>
Message-ID: <930828f3-e65a-5ba1-1509-885e06d20905@acm.org>
Date: Tue, 5 May 2020 11:38:01 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
 Firefox/68.0 Thunderbird/68.7.0
MIME-Version: 1.0
In-Reply-To: <03bafa60-d782-ca7e-2df6-fb727cdacd66@snkmail.com>
Content-Language: en-US
X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, SPF_HELO_NONE, SPF_SOFTFAIL,
 TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Reply-To: cygwin <cygwin@cygwin.com>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 045Icni1017278

On 5/4/2020 9:17 PM, Cygwin wrote:
> Thanks for doing the update David.  I upgraded to rdiff-backup-2.0.0-1 
> and found that running "rdiff-backup --help" produced
> 
>     Exception 'name 'local' is not defined' raised of class '<class
>     'NameError'>':
>        File "/usr/lib/python3.6/site-packages/rdiff_backup/Main.py",
>     line 391, in error_check_Main
>          Main(arglist)
>        File "/usr/lib/python3.6/site-packages/rdiff_backup/Main.py",
>     line 406, in Main
>          local.setlocale(locale.LC_ALL, '')
> 
>     Traceback (most recent call last):
>        File "/usr/bin/rdiff-backup", line 32, in <module>
>          rdiff_backup.Main.error_check_Main(sys.argv[1:])
>        File "/usr/lib/python3.6/site-packages/rdiff_backup/Main.py",
>     line 391, in error_check_Main
>          Main(arglist)
>        File "/usr/lib/python3.6/site-packages/rdiff_backup/Main.py",
>     line 406, in Main
>          local.setlocale(locale.LC_ALL, '')
>     NameError: name 'local' is not defined

I've fixed this and uploaded 2.0.0-2 with the fix. Please test.

> BTW, I was playing around with rdiff-backup 1.2.8-6 a couple days ago, 
> and while it seemed to work fine when the destination was on a local 
> drive, I couldn't figure out how to get it to work when the destination 
> is a network share If I specify the destination as 
> '//192.168.1.250/finance-backup/finance.rdiff-backup' I get:
> 
>       Fatal Error: Unable to create directory
>     /192.168.1.250/finance-backup/finance.rdiff-backup
> 
> but "mkdir //192.168.1.250/finance-backup/finance.rdiff-backup" works fine.

I'm don't have time to investigate this. If you think it's a bug and 
have a patch you'd like me to include in the package, please let me know.

> Would you have any suggestions about how to put the output on a network 
> share?

You could try mounting the network share to a local patch using /etc/fstab.

> Also, if you don't use rdiff-backup any more, have you found something 
> you like better?

I don't remember why I stopped using it. It was a long time ago. I think 
I just use rsync now.

-- 
David Rothenberger  ----  daveroth@acm.org

disbar, n:
         As distinguished from some other bar.
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

