You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In autorestic, all relative paths are converted to their absolute paths prior to being passed to restic for backup. However, restic itself is able to handle relative paths (at least newer versions can).
When a relative path is passed to restic directly (without autorestic), although the snapshot "Paths" attribute (visible with restic snapshots) has the absolute path, the files inside each snapshot are stored as just the relative path (visible with restic ls latest).
However, if a relative path is passed to autorestic, the full absolute path is stored (restic ls latest).
Proposed solution: if a relative path is setup in the autorestic config file, pass the relative path, not absolute path, to restic.
Expected behavior
Passing a relative path to autorestic should pass that relative path to restic, not resolve it to an absolute path.
Environment
OS: Mac & Linux
Version: 1.8.3
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
In autorestic, all relative paths are converted to their absolute paths prior to being passed to restic for backup. However, restic itself is able to handle relative paths (at least newer versions can).
When a relative path is passed to restic directly (without autorestic), although the snapshot "Paths" attribute (visible with
restic snapshots
) has the absolute path, the files inside each snapshot are stored as just the relative path (visible withrestic ls latest
).However, if a relative path is passed to autorestic, the full absolute path is stored (
restic ls latest
).Proposed solution: if a relative path is setup in the autorestic config file, pass the relative path, not absolute path, to restic.
Expected behavior
Passing a relative path to autorestic should pass that relative path to restic, not resolve it to an absolute path.
Environment
Additional context
The text was updated successfully, but these errors were encountered: