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/20 13:25] jypeter [Using Filters] Improved filters intro |
other:win10_syncback [2020/04/20 15:14] jypeter Added groups section |
||
---|---|---|---|
Line 53: | Line 53: | ||
==== Suggested filters when backing up your Home folder ==== | ==== Suggested filters when backing up your 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:\'' | + | //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, 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// |
* Remove Thunderbird and Firefox lock file: ''%%*%%\parent.lock'' | * Remove Thunderbird and Firefox lock file: ''%%*%%\parent.lock'' | ||
- | * Try to remove all the obvious cache folders: ''%%*%%\Cache\'', ''%%*%%\cache2\'' | + | * Try to remove all the obvious cache folders: ''%%*\*cache*\%%'' |
- | * The filter rules above will remove cache folders like:\\ ''%%*%%\Firefox\Profiles\jyp_Firefox_fixe\cache2\'',\\ ''%%*%%\Thunderbird\Profiles\jyp_Thunderbird_fixe\Cache\'',\\ ''%%*%%\Thunderbird\Profiles\jyp_Thunderbird_fixe\cache2\'' | + | * The filter rules above will remove cache folders like:\\ ''%%*%%\Firefox\Profiles\jyp_Firefox_fixe\cache2\'',\\ ''%%*%%\Thunderbird\Profiles\jyp_Thunderbird_fixe\Cache\'',\\ ''%%*%%\Thunderbird\Profiles\jyp_Thunderbird_fixe\cache2\''\\ ... and many similar folders |
+ | * Remove other Thunderbird and Firefox folders with temporary files: ''%%*\storage\%%'', ''%%*\datareporting\%%'' | ||
+ | |||
==== Suggested filters when backing up your Windows folder ==== | ==== Suggested filters when backing up your Windows folder ==== | ||
Default Windows folder: ''C:\Users\your_login'' | Default Windows folder: ''C:\Users\your_login'' | ||
- | * Remove 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 | ||
+ | * 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! | ||
* 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: | ||
Line 73: | Line 78: | ||
* Remove misc. files: ''%%*\ntuser*%%'', ''%%*\NTUSER*%%'', ''%%*\AppData\Local\Google\Chrome\User Data\Default\Current*%%'' | * Remove misc. files: ''%%*\ntuser*%%'', ''%%*\NTUSER*%%'', ''%%*\AppData\Local\Google\Chrome\User Data\Default\Current*%%'' | ||
* Remove misc. directories: ''%%*\AppData\Local\Comms\%%'', ''%%*\AppData\Roaming\Adobe\%%'' | * Remove misc. directories: ''%%*\AppData\Local\Comms\%%'', ''%%*\AppData\Roaming\Adobe\%%'' | ||
+ | |||
+ | ==== 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 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:** | ||
+ | * you execute a backup profile, and one of the mirrored folders (in Source) is called ''datareporting''\\ => ''datareporting'' 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 //Destination// will stay there and never change** (the //side effect//...) | ||
+ | * The only way to get rid of ''datareporting'' in Destination is to **remove it by hand** | ||
+ | |||
+ | ===== Using groups of profiles ===== | ||
+ | |||
/* standard page footer */ | /* standard page footer */ |