This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
other:win10_syncback [2020/04/28 14:55] jypeter [Using Filters] |
other:win10_syncback [2020/04/28 21:45] jypeter [Suggested filters when backing up your Home folder] |
||
---|---|---|---|
Line 51: | Line 51: | ||
* you can use uppercase and lowercase in windows files and folders' names, but the filters will ignore the case of the characters (e.g. the ''*\mixed_case.txt'' filter would skip ''mixed_case.txt'', ''Mixed_Case.txt'', ''mixed_CASE.txt'', ...) | * you can use uppercase and lowercase in windows files and folders' names, but the filters will ignore the case of the characters (e.g. the ''*\mixed_case.txt'' filter would skip ''mixed_case.txt'', ''Mixed_Case.txt'', ''mixed_CASE.txt'', ...) | ||
- | ==== Suggested filters when backing up your Home folder ==== | + | ==== Suggested filters when backing up your custom Home folder ==== |
- | //Home folder// means here ''ANOTHER_DISK_THAN_C:\Users\your_login'', assuming that you have followed the instructions in [[other:win10config#configuring_folders_and_shortcuts|Configuring folders]] to create a //Home folder// distinct from your default //Windows home folder// on ''C:\''... | + | //Custom Home folder// means here ''ANOTHER_DISK_THAN_C:\Users\your_login'', assuming that you have followed the instructions in [[other:win10config#configuring_folders_and_shortcuts|Configuring folders]] to create a //Home folder// distinct from your default //Windows home folder// on ''C:\''... |
Note: we assume in the filters below that the [[other:thunderbird#moving_the_tb_configuration_directory_to_a_specific_directory|Thunderbird and Firefox profiles were moved]] from their default location on ''C:\'', to the //Home folder// | Note: we assume in the filters below that the [[other:thunderbird#moving_the_tb_configuration_directory_to_a_specific_directory|Thunderbird and Firefox profiles were moved]] from their default location on ''C:\'', to the //Home folder// | ||
Line 63: | Line 63: | ||
- | ==== Suggested filters when backing up your Windows folder ==== | + | ==== Suggested filters when backing up your Windows Home folder ==== |
- | Default Windows folder: ''C:\Users\your_login'' | + | Default Windows Home folder: ''C:\Users\your_login'' |
* Remove [[other:win10wsl|WSL+Linux]] from backup: ''%%*\AppData\Local\Packages\Canonical*Ubuntu*\%%'' | * Remove [[other:win10wsl|WSL+Linux]] from backup: ''%%*\AppData\Local\Packages\Canonical*Ubuntu*\%%'' | ||
* It's probably better to use [[other:win10wsl#restoring_a_wsl_backup|wsl export/import]] for saving/restoring a full WSL installation, or a //tar// file for saving only the Linux ''home'' directory | * It's probably better to use [[other:win10wsl#restoring_a_wsl_backup|wsl export/import]] for saving/restoring a full WSL installation, or a //tar// file for saving only the Linux ''home'' directory | ||
- | * Remember that WSL+Linux can access Windows directories using ''/mnt/some_drive/some_directory''. You can put your data files in ''some_drive:\some_directory'' and use SyncBack to save the content! | + | * Remember that WSL+Linux can access Windows folders using ''/mnt/some_drive/some_directory''.\\ You can put your data files in ''some_drive:\some_folder'' and use SyncBack to save the content of this regular Windows folder! |
- | * Remove the backup of all the settings saved in AppData\Local\Packages: ''%%*\AppData\Local\Packages\%%'' | + | * Remove the backup of all the settings saved in ''AppData\Local\Packages'': ''%%*\AppData\Local\Packages\%%'' |
- | * Try to remove all the cache files: ''*cache*\''\\ This should take care of cache folders like: | + | * Try to remove all the cache files: ''*\*cache*\''\\ This should take care of cache folders like: |
* ''%%*\AppData\Local\Google\Chrome\User Data\Default\*Cache\%%'' | * ''%%*\AppData\Local\Google\Chrome\User Data\Default\*Cache\%%'' | ||
* Remove some Microsoft apps related directories: ''%%*\AppData\Local\Microsoft*\%%'' | * Remove some Microsoft apps related directories: ''%%*\AppData\Local\Microsoft*\%%'' | ||
Line 81: | Line 81: | ||
==== The side effect of filters ==== | ==== The side effect of filters ==== | ||
- | If you use a filter to specify that something in the //Source// folder should not be backed up to the //Destination// folder, SyncBack will also ignore it in the Destination folder, and it will stay in //Destination// **forever**, unless you remove it by hand! | + | If you use a filter to specify that something in the //Source// folder should not be backed up to the //Destination// folder, SyncBack will also ignore it in the Destination folder, and it will stay in //Destination// **forever** (if it is already there), unless you remove it by hand! |
If you have time, you may want to review the custom filters you have added, and **remove the //filtered// folders/files in Destination by hand**... | If you have time, you may want to review the custom filters you have added, and **remove the //filtered// folders/files in Destination by hand**... | ||
- | **Detailed example:** | + | === Detailed example === |
- | * you execute a backup profile, and one of the mirrored folders (in Source) is called ''datareporting''\\ => ''datareporting'' exists in both Source and Destination | + | |
+ | * you execute a backup profile, and one of the mirrored folders (in Source) is called ''datareporting''\\ => ''datareporting'' exists in both Source and Destination after the mirror backup | ||
* you add a ''%%*\datareporting\%%'' filter that will skip the ''datareporting'' folders the next times you execute the backup profile\\ => ''datareporting'' still exists in both Source and Destination | * you add a ''%%*\datareporting\%%'' filter that will skip the ''datareporting'' folders the next times you execute the backup profile\\ => ''datareporting'' still exists in both Source and Destination | ||
* The ''datareporting'' content in Source may change but will be ignored by SyncBack (that's what you want!) | * The ''datareporting'' content in Source may change but will be ignored by SyncBack (that's what you want!) | ||
- | * **The ''datareporting'' content in //Destination// will stay there and never change** (the //side effect//...) | + | * **The ''datareporting'' content in //Destination// will stay there and never will change** (the //side effect//... because you don't want to have something in Destination that does not exist in Source, after a mirror backup) |
* The only way to get rid of ''datareporting'' in Destination is to **remove it by hand** | * The only way to get rid of ''datareporting'' in Destination is to **remove it by hand** | ||
+ | |||
+ | === Finding and cleaning filtered items === | ||
+ | |||
===== Using groups of profiles ===== | ===== Using groups of profiles ===== |