← Back to team overview

duplicity-team team mailing list archive

[Question #683832]: multi protocol url suffix

 

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

Hi,

i want to group backups by directory with the multi protocol.

ive got a backup script which for example retrieves a list of databases, exports them and then creates a backup with duplicity.

sftp://backupserver/backup/db/$database

so the url changes depending on the database.

ive used offsite backups only for now but i want to mirror to a local disk therefore switching to multi

i read the documentation and googled but could not find a way to append a suffix to the url.

is there a way i missed ? 


otherwise i would like to create a feature request, the implementation should be really easy.

could be implemented with another http get query like this:

duplicity /database/$dbname "multi:///multiconfig.conf?mode=mirror&onfail=continue&urlsuffix=$dbname"

$dbname will be appended to the url value in the json file






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