Skip to content

[bug] 2 dots (../) relative path at the beginning of path #5967

Description

@Mark-Joy

Have you checked borgbackup docs, FAQ, and open Github issues?

Yes, I have read some of them, not sure if I missed something

Is this a BUG / ISSUE report or a QUESTION?

Seems to be a bug

System information. For client/server mode post info for both machines.

Your borg version (borg -V).

1.2.0b3

Operating system (distribution) and version.

Android Pie

Hardware / network configuration, and filesystems used.

How much data is handled by borg?

Full borg commandline that lead to the problem (leave away excludes and passwords)

borg create --show-version --info --progress --stats --list --compression=lz4 ::etc-{now} ../usr/etc

Describe the problem you're observing.

After backup was created, the 2 dots part at the beginning of the path was removed.

$ borg list --show-version --info --progress --sort-by=name --format='{path} {user} {size}{NL}' ::etc-2021-08-25T02:51:07
borgbackup version 1.2.0b3
usr/etc u0_a485 0
usr/etc/xattr.conf u0_a485 681
...

Can you reproduce the problem? If so, describe how. If not, describe troubleshooting steps you took before opening the issue.

Include any warning/errors/backtraces from the system logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions