restic 0.18.0 compiled with go1.24.1 on windows/amd64
Windows 11 24H2 26100.4061
Hi, I am new to this forum. I would like to know if it is possible to do
PC1 (D:\abc) ↔ external drive (restic backup) ↔ PC2 (E:\abc)
I want to sync PC1’s folder D:\abc to PC2’s folder.
My terminal is MSYS2 UCRT64
I renamed the restic applicaiton and placed it in C:\ such that C:\restic.exe
To init the database / backup folder, I use
/c/restic.exe -r "C:\Users\test-VM\restic" init
To backup the folder, I use
cd "D:\abc" && /c/restic.exe -r "C:\Users\test-VM\restic" backup .
To restore, I use
/c/restic.exe -r "C:\Users\test-VM\restic" restore ID --target "E:\abc" --delete
However, when I try to do it reversely such that
cd "E:\abc" && /c/restic.exe -r "C:\Users\test-VM\restic" backup .
I see it creates a new snapshot instead of using the old one. Though I should have cd to the source folder, it seems that the absolute path is still used as metadata. Is it possible to disable it or is there any workaround?