Hi,
I started to use restic just few days ago. I am running Arch Linux and installed restic from the official Arch repository.
I created a full backup of one partition and I wanted to do a partial restore of the backup into another partition. I came into two issues:
- Using “latest” while providing a path reported:
latest snapshot for criteria not found: no snapshot found Paths:[/data/yang/] Host:
But the path exist as I see it when I mount the snapshot and doing a full restore restores it.
Here is how I executed restore:
restic -r /media/autoshares/restic/mydata restore latest --target / --path /data/yang/
- The other issue is that when I provided a specific snapshot id and a path, restic started a full restore instead of restoring only the path which was provided.
Here is how I executed restore:
restic -r /media/autoshares/restic/mydata restore 8530cb2a --target / --path /data/yang
I am not sure if I am doing something wrong or if there is a bug involved.
restic version is reported as:
restic 0.9.6 compiled with go1.13.4 on linux/amd64