-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Unexpected behaviour when using -one-file-system #1416
Copy link
Copy link
Closed
Labels
Description
Output of restic version
root@Server:~# restic version
restic 0.7.3
compiled with go1.9 on linux/amd64
How did you run restic exactly?
restic -r /mnt/backup/ backup --one-file-system / /mnt/storage/ --exclude "/mnt/files"
What backend/server/service did you use?
Filesystem
Expected behavior
I would like filesystem snapshot with:
/- root filesystem without sys, dev, etc.../mnt/storage- this mounted filesystem on its own place
Actual behavior
What i have:
/- root filesystem without sys, dev, etc.../mnt/storage- this mounted filesystem on its own place/storage- this folder contain all duplicated files from /mnt/storage
Steps to reproduce the behavior
- Use
restic -r /mnt/backup/ backup --one-file-system / /mnt/storage/ --exclude "/mnt/files"to make backup snapshot. - Use
restic -r /mnt/backup/ mount /mnt/restic/then check/mnt/restic/snapshots/<snapshot_name>/. This will contain both/mnt/storageand/storage
OR
Userestic -r /mnt/backup/ restore latest --target /tmp/restore --path "/"then check/tmp/restorefor/mnt/storageand/storage.
Reactions are currently unavailable