The environment:
- Dualboot notebook: Linux Mint 21.3 and Windows 10
- Current system running: Linux (Mint 21.3)
- Windows NTFS partition (on same notebook) mounted at /win-c, and /win-d
I’m trying to setup kopia to backup parts of the NTFS partition mounted at /win-d with a policy to backup /, excluding everything but the wanted directories under /win-c. I’ve been trying .kopiaignore (llocated in the root /) with no success so far.
Say the file system structure looks lke this:
/
+-- bin/
+-- etc/
...
+-- win-d
+-- Dont backup/
| +-- some files
+-- Backup this/
| +-- some file
| +-- anotherfile
| +-- someDirectory/
+-- @Backup2
I tried with in .kopiaignore (in /)
# exclude everything
*
# Include NTFS data
!/win-d/Backup This/
!/win-d/@Bachup2/
But no success. I also tried adding *, and */ to the “don’t exclude” lines.
How should the .kopiaignore look like?