duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] rsync to rsync.net


From: Manuel Morales
Subject: Re: [Duplicity-talk] rsync to rsync.net
Date: Sat, 22 Apr 2017 00:32:18 -0400
User-agent: Microsoft-MacOutlook/f.17.0.160611

Please kill me.

 

I didn’t have rsync package on my server.

 

Ops.

 

All working now.

So many thanks for those of you that spent time giving me suggestions.

And my apologies.

 

 

 

 

From: Manuel Morales <address@hidden>
Date: Saturday, April 22, 2017 at 12:01 AM
To: Discussion about duplicity backup <address@hidden>
Cc: Kenneth Loafman <address@hidden>
Subject: Re: [Duplicity-talk] rsync to rsync.net

 

Hi

 

So sorry I have not been responsive.

I tried with your suggestions (removing the colon, adding a slash, removing it, etc)

All of the yield the same error:

Attempt 1 failed. AttributeError: 'NoneType' object has no attribute 'rfind'

 

But,, for the fun of it,, I changed the command, to use scp , and it works just fine:

duplicity /mnt/data/E4310-2/170403-2330/ scp://address@hidden:

 

I got asked for GnuPG passphrase, and then the backup uploaded.

(I can see the files on the rsync.net server).

If I run it the same command again, I see that it detects no change and the command completes quicker.

 

I also tested with relative paths, like this:

duplicity /mnt/data/E4310-2/170403-2330/ scp://address@hidden:/testdata1

And it works fine too,, the data gets inside that folder on rsync.net

 

There has to be something inside the rsync implementation on duplicity, because it works just fine with scp.

 

Do you have any other suggestion I could try?

 

Thanks a lot

 

 

 

 

 

From: Duplicity-talk <address@hidden> on behalf of Kenneth Loafman via Duplicity-talk <address@hidden>
Reply-To: Discussion about duplicity backup <address@hidden>
Date: Tuesday, April 18, 2017 at 10:07 PM
To: Discussion about duplicity backup <address@hidden>
Cc: Kenneth Loafman <address@hidden>
Subject: Re: [Duplicity-talk] rsync to rsync.net

 

It should be like this:

 

$ duplicity /mnt/data/E4310-2/170403-2330/ rsync://address@hidden/dir1/dir2/.../dirN

 

for relative pathnames at rsync.net.

 

...Ken

 

 

On Tue, Apr 18, 2017 at 6:12 PM, rsync.net via Duplicity-talk <address@hidden> wrote:


Ken, et. al,


On Tue, 18 Apr 2017, Kenneth Loafman via Duplicity-talk wrote:

I think I see it... Is there really a colon at the end of the duplicity command?  That could throw the URL parser off.



rsync.net uses a "default" directory with *NO* leading forward slash ... so if you were doing a plain old rsync, the command would look like:


rsync -avH /your/files address@hidden:


or, if you had a destination directory here:


rsync -avH /your/files address@hidden:some/dest/folder


... the bottom line is, there is no *leading* slash in the remote address@hidden:path ...

I do not know the proper duplicity translation of this to get the command line this user (our customer) wants, but I hope this clarifies it for you ...


Thanks,

John Kozubik
rsync.net, Inc.

_______________________________________________
Duplicity-talk mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/duplicity-talk

 

_______________________________________________ Duplicity-talk mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/duplicity-talk


reply via email to

[Prev in Thread] Current Thread [Next in Thread]