[Borgbackup] 'borg create' fails with whitespaces in directory names [OS X]

David Martin david_martin at fastmail.com
Sat Apr 1 05:25:11 EDT 2017


On Sat, 1 Apr 2017, at 07:35 PM, David Martin wrote:
> On Fri, 31 Mar 2017, at 02:16 AM, Adrian Klaver wrote:
> > 
> > Not sure it is the whitespace:
> > 
> > aklaver at tito:~> borg_new  create --dry-run -v --stats borg_test::test_run
> > 'home/aklaver/test space/'
> > home/aklaver/test space: [Errno 2] No such file or directory:
> > 'home/aklaver/test space'
> > 
> > aklaver at tito:~> borg_new  create --dry-run -v --stats borg_test::test_run
> > '/home/aklaver/test space/'
> 
> Good point, I'm getting the same error when there are no whitespaces in
> the directory. I'll do a bit more digging!
> Basically I was just following the example in the docs [0].
> 
> [0]
> https://borgbackup.readthedocs.io/en/stable/quickstart.html#automating-backups

Well, this is awkward. I was missing the leading / in the path. No
wonder it could not locate anything under 'User', as it is '/User'.

Seems to be working fine now. Thanks for you help!


More information about the Borgbackup mailing list