Iβm having an issue with setting up exclusions in my backup configuration and would appreciate any assistance. My root directory for the backup is located at D:\
I want to exclude everything from the backup except for the following directories and their subdirectories:
D:\Backup\OLD
D:\Sys\Docs
D:\Data\bd
There are multiple files and folders at the root of D:\, as well as within subdirectories, that I want to exclude. For example, I want to exclude files like D:\Backup\list.txt and folders like D:\Sys\Docs_old.
I attempted to configure the exclusions as follows:
However, this doesnβt seem to be working as intended. Does anyone have a solution or suggestion for correctly setting up these exclusions? Thank you in advance for your help.
Hello and thank you for the example.
I have a problem when i apply your method:
My root is on a network :
\192.168.1.10\c$
and so I apply the pattern :
but it doesnβt work, I just have the Pictures folder and subfolder.
I should normally have his file and sub-file: Desktop, Documents, Pictures and Gest Station CA
/*
!/Users/
/Users/*
!/Users/stationcast
!/Users/stationcast/
/Users/stationcast/*
!/Users/stationcast/Desktop
!/Users/stationcast/
/Users/stationcast/*
!/Users/stationcast/Documents
!/Users/stationcast/
/Users/stationcast/*
!/Users/stationcast/Pictures
!/ProgramData/
/ProgramData/*
!/ProgramData/Gest Station CA
I have the authorizations, because I access them via the explorer.
Thank you for your help.
IMO exclude model used by kopia is not very user friendly if you want to include only specific items.
If you struggle with these rules, given that you have only 4 folders to backup simply create separate snapshots for Desktop, Documents, Pictures and Gest Station CA
you can always snapshot them all later in one go by running: