User Tools

Site Tools


other:win10_syncback

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
other:win10_syncback [2020/04/28 15:04]
jypeter [Suggested filters when backing up your Windows folder]
other:win10_syncback [2020/04/29 12:53]
jypeter [Configuring a mirror backup]
Line 25: Line 25:
     * You should create a clean directory hierarchy on the backup disk, matching the folders that you intend to backup. You may want to backup several computers to the same USB device, and you should therefore also use the name/type of the source computer in the destination folders     * You should create a clean directory hierarchy on the backup disk, matching the folders that you intend to backup. You may want to backup several computers to the same USB device, and you should therefore also use the name/type of the source computer in the destination folders
     * In this example, we are going to mirror the content of\\ ''​D:​\Users\jypeter''​\\ to ''​F:​\Backup_JYP\Dell_Precision_3420\D_Users_jypeter'' ​     * In this example, we are going to mirror the content of\\ ''​D:​\Users\jypeter''​\\ to ''​F:​\Backup_JYP\Dell_Precision_3420\D_Users_jypeter'' ​
-  - **Launch SyncBackFree**. You can find it in ''​Start''​->​ ''​2BrighSparks''​ -> ''​SyncBackFree''​+  - **Launch SyncBackFree**. You can find it in ''​Start''​->​ ''#​''​ -> ''​2BrighSparks''​ -> ''​SyncBackFree''​
   - Click on //New Profile// to **create a new mirroring operation**\\ {{ :​other:​syncbackfree_001_notes.png?​direct&​500 |}}   - Click on //New Profile// to **create a new mirroring operation**\\ {{ :​other:​syncbackfree_001_notes.png?​direct&​500 |}}
   - **Choose a Profile Name** that will describe correctly the Source folder (e.g. the machine and the source folder names, ''​Precision Tower 3420 D_Users_jypeter''​) and click on //Next//\\ {{ :​other:​syncbackfree_002.png?​direct&​500 |}}    - **Choose a Profile Name** that will describe correctly the Source folder (e.g. the machine and the source folder names, ''​Precision Tower 3420 D_Users_jypeter''​) and click on //Next//\\ {{ :​other:​syncbackfree_002.png?​direct&​500 |}} 
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 67: Line 67:
 Default Windows Home folder: ''​C:​\Users\your_login''​ Default Windows Home folder: ''​C:​\Users\your_login''​
  
 +  * Try to remove all the obvious cache folders: ''​*\*cache*\''​\\ This should take care of cache folders like:
 +    * ''​%%*\AppData\Local\Google\Chrome\User Data\Default\*Cache\%%''​
   * 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 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!     * 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: 
-    * ''​%%*\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*\%%''​
   * Remove some apps directories that use too much space: ''​%%*\AppData\Local\WebEx\%%'',​ ''​%%*\AppData\Local\GoToMeeting\%%''​   * Remove some apps directories that use too much space: ''​%%*\AppData\Local\WebEx\%%'',​ ''​%%*\AppData\Local\GoToMeeting\%%''​
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 ===
 +
 +The easiest way to clean the //​Destination//​ folder is to open it with the file explorer and use the Search field. The screenshot below shows what you get when you look for ''​cache''​. You can then select all the ''​cache''​ folders and remove them (in this case, there were 12k files using 400+ Mb in the deleted folders).
 +
 +{{ :​other:​syncbackfree_030_notes.png?​direct&​500 }}
 ===== Using groups of profiles ===== ===== Using groups of profiles =====
  
other/win10_syncback.txt · Last modified: 2020/04/29 14:38 by jypeter