Skip to content

Possible bug involving INCLIST and trailing forward-slashes #113

@kvnvallis

Description

@kvnvallis

duplicity-backup.conf.example contains the following example for backing up a single location:

INCLIST=( "/home/foobar_user_name/Documents/" )

But in practice, leaving the trailing forward-slash on the folder you want to back up causes only the folders to be backed up, and not their contents. Duplicity-backup.sh will only list the folders inside Documents/ when the -l flag is used, and none of the actual files can be restored. I noticed this issue when the backup of my Pictures folder was not even a megabyte large.

I might be using an old version of duplicity-backup.sh, but the script doesn't seem to output a version number so I'm not sure how to check. Removing the trailing forward-slash solves the problem. Is this a bug?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions