New question #289684 on Duplicity:
https://answers.launchpad.net/duplicity/+question/289684


# I am not a seasoned Ubuntu admin/ Duplicity user, so please bear with me if I 
am missing something obvious...

1. Many WebDAV-providers supply usernames as "[email protected]". 
Although this does not seem to be RFC-compliant, users have to live with that 
anyway...

2. Many WebDAV backends ignore duplicity's FTP_PASSWORD environment variable.

3. Duplicity works OK when I provide cleartext password from CLI, e.g.

    <duplicity /localdir 
webdavs://'[email protected]':[email protected]/remotedir>

4. However, I do not want to use my cleartext password in the command line 
process so that other users might not spoof it from the process list

5. Trying to use duplicity from a shell script (bash), without using the 
cleartext password in the command, e.g.

    <PWVARIABLE='cleartextpassword'
    export PWVARIABLE
    duplicity /localdir 
webdavs://'[email protected]':[email protected]/remotedir>

I always run into parsing problems of the juxtaposed "@" symbol which, together 
with the WebDAV URL, will be parsed into the variable name. This does not seem 
to be relieved by exchanging "%40" for "@" as duplicity (or bash?) do not seem 
to parse this in a useful manner. Putting "$PWVARIABLE" into quotes does not 
work either, since this seems to be parsed as plaintext and not as variable.

My aim is to run the script with cron for off-site backups.

Is there a workable syntax for this? Any help is greatly appreciated!

# Thanks & kudos for this great tool!


-- 
You received this question notification because your team duplicity-team
is an answer contact for Duplicity.

_______________________________________________
Mailing list: https://launchpad.net/~duplicity-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~duplicity-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to