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
restic compiled manually
compiled with go1.8 on linux/amd64
Expected behavior
Include at least the information for directory given on the cmdline. Don't start in it. (follow rsyncs lead, rsync -avHAX rsync://xxxx / restores everything correctly for the entire tree, including /)
Change the snapshot title to "Directory/File" or something.
Actual behavior
Only the file seems to be backed up. However the snapshot "Directory" indicates that it comes with the full path.
I have some issues with it.
(minor) it is unexpected. The heading says "Directory" but it is "File" in this case. I would prob have expected /home/middelin/go/src/github.com/middelink/restic/src/cmds/restic or cmd_rebuild_tree.go or something. Although I realize that opens up another can of worms.
In case of actually using a directory, say /, the snapshots tree points to the contents of /, but does not contain /. This means if I want to restore the backup, I will not get the permissions, ownership etc of / restored. (which is important to me personally as I make full system image backups and let restic figure out the dedupping.)
I agree, this is not good style. I'm currently reworking the archiver (in #842), and I'll change the code to do what tar does: have the complete path that is given on the command line. I'm going to close this as a duplicate of #549 (which is even more severe).
Output of
restic version
restic compiled manually
compiled with go1.8 on linux/amd64
Expected behavior
Include at least the information for directory given on the cmdline. Don't start in it. (follow rsyncs lead,
rsync -avHAX rsync://xxxx /
restores everything correctly for the entire tree, including/
)Change the snapshot title to "Directory/File" or something.
Actual behavior
Only the file seems to be backed up. However the snapshot "Directory" indicates that it comes with the full path.
I have some issues with it.
(minor) it is unexpected. The heading says "Directory" but it is "File" in this case. I would prob have expected
/home/middelin/go/src/github.com/middelink/restic/src/cmds/restic
orcmd_rebuild_tree.go
or something. Although I realize that opens up another can of worms.In case of actually using a directory, say
/
, the snapshotstree
points to the contents of/
, but does not contain/
. This means if I want to restore the backup, I will not get the permissions, ownership etc of/
restored. (which is important to me personally as I make full system image backups and let restic figure out the dedupping.)Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: