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  ----  daver...@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

Reply via email to