User Tools

Site Tools


public:version_9:general:9205_how_to_revert_index_snapshot

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
public:version_9:general:9205_how_to_revert_index_snapshot [2022/01/14 17:31]
kirk.lim
— (current)
Line 1: Line 1:
-===== [V9] FAQ: How to un-delete backup data moved to Retention, or revert indexes to a healthy state from an earlier successful backup ===== 
- 
-<​html>​ 
- <​b>​ 
-  Article ID: 
- </​b>​ 
- ​9205imme 
- <​br/>​ 
- <​b>​ 
-  Reviewed: 
- </​b>​ 
- ​2022-01-02 
- <​br/>​ 
- <​br/>​ 
- <​b>​ 
-  Product Version: 
- </​b>​ 
- <​br/>​ 
- ​AhsayCBS:​ 9.1 to 9.x 
- <​br/>​ 
- OS: All platforms ​ 
-</​html>​ 
- 
- 
-===== Description ===== 
-<​html>​ 
-There can be several scenarios where this Article may be used: 
-<br> 
-<ul> 
-<​li><​font color=black>​un-delete backup data moved to Retention</​font>​ 
-<​li><​font color=black>​revert indexes to a healthy state from an earlier successful backup</​font>​ 
-<​li><​font color=black>​recent source selection changes inadvertly backup more files than necessary, revert to earlier job</​font>​ 
-<​li><​font color=black>​source drive unattached at time of backup job, data unintentionally moved to Retention</​font>​ 
-</li> 
-</ul> 
-<br> 
- 
-For backup source data that were moved to retention un-intentionally;​ for example, when a removable backup source (e.g. faulty hard drive / USB external drive) or a network drive was disconnected before a backup schedule, the following warning message will be displayed in the job report: 
- 
-<table border="​0"​ cellpadding="​0"​ cellspacing="​0"​ width="​850">​ 
-  <tr> 
-   <​td bgcolor="#​E8E8E8"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-TOP: #​C0C0C0 ​ 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​middle">​ 
-    No. 
-   </​td>​ 
-   <​td bgcolor="#​E8E8E8"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-TOP: #​C0C0C0 ​ 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​middle">​ 
-    Type 
-   </​td>​ 
-   <​td bgcolor="#​E8E8E8"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-TOP: #​C0C0C0 ​ 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​middle">​ 
-    Timestamp 
-   </​td>​ 
-   <​td bgcolor="#​E8E8E8"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-TOP: #C0C0C0 1px solid; BORDER-RIGHT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​middle">​ 
-    Log 
-   </​td>​ 
-  </tr> 
-  <tr> 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​top">​ 
-    * 
-   </​td>​ 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​top">​ 
-    ... 
-   </​td>​ 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​top">​ 
-    ... 
-   </​td>​ 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-RIGHT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​middle">​ 
-    ... 
-   </​td>​ 
-  </tr> 
-  <tr> 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​top">​ 
-    * 
-   </​td>​ 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​top">​ 
-     <​font color=#​0040FF>​warn</​font>​ 
-   </​td>​ 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​top">​ 
-     <​font color=#​0040FF>​YYYY/​MM/​DD 
-     ​hh:​mm:​ss</​font>​ 
-   </​td>​ 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-RIGHT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​middle">​ 
-   <​font color=#​0040FF>​Backup source "​%backup_source%"​ does not exist !</​font>​ 
-   </​td>​ 
-  </tr> 
-  <tr> 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​top">​ 
-    * 
-   </​td>​ 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​top">​ 
-    ... 
-   </​td>​ 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​top">​ 
-    ... 
-   </​td>​ 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-RIGHT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​middle">​ 
-    ... 
-   </​td>​ 
-  </tr> 
- </​table>​ 
-Since the backup client cannot detect the backup source, all backup data are interpreted as deleted by the backup client, therefore, all backup data are moved to Retention Area. 
-<br> 
-<br> 
-<table border="​0"​ cellpadding="​0"​ cellspacing="​0"​ width="​850">​ 
-  <tr> 
-   <​td bgcolor="#​E8E8E8"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-TOP: #​C0C0C0 ​ 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​middle">​ 
-    No. 
-   </​td>​ 
-   <​td bgcolor="#​E8E8E8"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-TOP: #​C0C0C0 ​ 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​middle">​ 
-    Type 
-   </​td>​ 
-   <​td bgcolor="#​E8E8E8"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-TOP: #​C0C0C0 ​ 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​middle">​ 
-    Dirs/Files 
-   </​td>​ 
-   <​td bgcolor="#​E8E8E8"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-TOP: #C0C0C0 1px solid; BORDER-RIGHT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​middle">​ 
-    Size 
-   </​td>​ 
-   <​td bgcolor="#​E8E8E8"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-TOP: #C0C0C0 1px solid; BORDER-RIGHT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​middle">​ 
-    Last Modified 
-   </​td>​ 
-  </tr> 
-  <tr> 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​top">​ 
-    1 
-   </​td>​ 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​top">​ 
-    del 
-   </​td>​ 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​top">​ 
-    \\fileserver1\UserHome\Demo\europeanvacation.txt 
-   </​td>​ 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-RIGHT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​middle">​ 
-    400 / 39K (99%)  
-   </​td>​ 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-RIGHT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​middle">​ 
-    29/12/2021 09:25 
-   </​td>​ 
-  </tr> 
-  <tr> 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​top">​ 
-    2 
-   </​td>​ 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​top">​ 
-    del 
-   </​td>​ 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​top">​ 
-    \\fileserver1\UserHome\Demo\caddyshack.txt 
-   </​td>​ 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-RIGHT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​middle">​ 
-    400 / 39K (99%)  
-   </​td>​ 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-RIGHT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​middle">​ 
-    29/12/2021 09:25 
-   </​td>​ 
-  </tr> 
-  <tr> 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​top">​ 
-    3 
-   </​td>​ 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​top">​ 
-    del 
-   </​td>​ 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​top">​ 
-    \\fileserver1\UserHome\Demo\iknowwhatyoudidlastsummer.txt 
-   </​td>​ 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-RIGHT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​middle">​ 
-    400 / 39K (99%)  
-   </​td>​ 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-RIGHT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​middle">​ 
-    29/12/2021 09:25 
-   </​td>​ 
-  </tr> 
-  <tr> 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​top">​ 
-    4 
-   </​td>​ 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​top">​ 
-    del 
-   </​td>​ 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​top">​ 
-    ... 
-   </​td>​ 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-RIGHT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​middle">​ 
-    ... 
-   </​td>​ 
-   <​td bgcolor="#​ffffff"​ style="​BORDER-LEFT:​ #C0C0C0 1px solid; BORDER-RIGHT:​ #C0C0C0 1px solid; BORDER-BOTTOM:​ #C0C0C0 1px solid" valign="​middle">​ 
-    ... 
-   </​td>​ 
-  </tr> </​table>​ 
- 
-If this situation is detected immediately after the occurrence, and before Retention Policy cleanup, then there is possibility to restore that data in Retention, before it is purged. 
-<​br> ​ 
-Refer to the following steps, to be performed on the Destination,​ to revert the index files (e.g. un-delete the data), so that the backup data will not be re-uploaded again when the backup source drive is reconnected. 
-<br> 
-<br> 
-Note:<​br>​ 
-The same steps can also be performed to revert the set of indexes to a healthy state (e.g. reverting to previous indexes from a successful backup when there'​s an index issue with the current set of indexes). 
-<​br><​br>​ 
-<​B><​U>​Suggestion:</​U>​ It is suggested you temporarily disable any backup Schedules for the identified Backup Set, so as not to conflict with the pending changes.</​B>​ 
- 
- 
- 
-<​br><​br><​br>​ 
-</​html>​ 
- 
- 
- 
-===== Steps ===== 
-<​html>​ 
-<table border=1><​tr><​td BGcolor=orange>​ 
-<font color=red>​Important:</​font><​font color=black> ​ 
-<br> 
-It is strongly recommended to temporarily suspend the backup user to ensure that no backup / restore is performed during the following steps.</​font>​ 
-</​td></​tr></​table>​ 
-<br> 
-Refer to the following steps to un-delete the data / revert to a previous set of indexes: 
- 
-<br> 
-<ol> 
-<​li><​font color=black>​The backup user should be logged out of the client application,​ before proceeding. 
-</​font>​ 
-<br> 
-<br> 
-<​li><​font color=black>​You as the CBS Admin, from the AhsayCBS web console, obtain the backup set ID of the affected backup set: 
-<br> 
-<br> 
-<ul> 
-<​li><​font color=black>​Under <​b>​Backup / Restore</​b>,​ select <​b>​Users,​ Groups & Policies</​b>​.</​font></​li><​br>​ 
-<​li><​font color=black>​Select <​b>​Backup User</​b>,​ and the corresponding backup user, then <​b>​Backup Set</​b>​. </​font></​li><​br>​ 
-<​li><​font color=black>​Select the affected backup set under <​b>​Manage Backup Set</​b>,​ the backup set ID is listed under <​b>​General</​b>​.</​font>​ 
-<br> 
-<br> 
-</li> 
-<img style="​width:​50%"​ src="​http://​wiki.ahsay.com/​lib/​exe/​fetch.php?​media=public:​8112_1.png"/>​ 
-</ul> 
-<!-- </li> --> 
-<​br><​br>​ 
- 
-<​li><​font color=black>​From the backup destination (e.g. AhsayCBS), browse to the <​b>​blocks</​b>​ folder where the backup data are stored at: 
-<br> 
-<br> 
-%backup_destination%\%backupset_id%\blocks ​ 
-<br> 
-<br> 
-<​u>​For example</​u>​ 
-<br> 
-For backup destination set to AhsayCBS 
-<br> 
-<br> 
-C:\Program Files\AhsayCBS\user\username\1614747242788\blocks 
-<br> 
-<br> 
-<img style="​width:​58%"​ src="​http://​wiki.ahsay.com/​lib/​exe/​fetch.php?​media=public:​version_9:​faq:​2021-12-28_17_27_19-clipboard_ed_.png"/>​ 
-<br> 
-<br> 
-Note: 
-<br> 
-A separate folder is created for each backup job according to its start time (YYYY-MM-DD-hh-mm-ss),​ under the <​b>​blocks</​b>​ folder. &​nbsp;​All files backed up by that job are stored in that particular folder. ​ 
-<!-- </li> --> 
-<​br><​br>​ 
- 
- 
-<!-- NEW --> 
-<br> 
-<​li><​font color=black>​For the snapshot you will revert to, starting with the <​b>​next</​b>​ timestamp directory <​b>​after</​b>​ the one you want to revert back to, you will select all the subsequent directories and remove it from the user's User Home <​i>​blocks</​i>​ path. You will not touch previous timestamp directories,​ if doing so, will corrupt the backup data chain. 
-<!--xxx Copy the index files from a previous backup job folder (the backup snapshot (YYYY-MM-DD-hh-mm-ss) which you would like to revert to), back to the <​b>​blocks</​b>​ folder. ​ 
---> 
-<br> 
-<br> 
-<​u>​For example</​u>​ 
-<br> 
-To revert the backup snapshot to the backup on March 3, 2021 12:59:15, browse to  
-<br> 
-<br> 
-C:\Program Files\AhsayCBS\user\username\1614747242788\blocks\<​font color=red>​2021-03-03-12-59-15</​font>​ 
-<br> 
-<br> 
-locate the next directory afterwards 
-<br> 
-<br> 
-C:\Program Files\AhsayCBS\user\username\1614747242788\blocks\<​font color=red>​2021-04-15-11-02-23</​font><​br>​ 
-<br> 
-<br> 
-highlight (and all subsequent directories with recent timestamps) 
-<br> 
-<br> 
-and remove those directory(s) [either Delete, or move to an outside directory not within the User Home path]. 
-<​br><​br>​ <​B>​You cannot delete only an intermediate (middle) directory, it must be the directory after you want to revert to <​b>​plus</​b>​ all timestamp directories afterwards, must be removed.</​B>​ 
-<br> 
-<br> 
-<img style="​width:​75%"​ src="​http://​wiki.ahsay.com/​lib/​exe/​fetch.php?​media=public:​version_9:​faq:​2021-12-28_17_16_44-greenshot_image_editor_ed_.png"/>​ 
-<br> 
-<br> 
- 
- 
-<​li><​font color=black>​After those selected folders are removed from the <​b>​blocks</​b>​ directory, you should be left with the timestamp to revert to (plus all previous timestamps in the chain). In this example, the result: 
-</​font>​ 
-<br> 
-<img style="​width:​75%"​ src="​http://​wiki.ahsay.com/​lib/​exe/​fetch.php?​media=public:​version_9:​faq:​2021-12-30_15_18_50-2021-12-28_17_27_19-clipboard_ed_2.png"/>​ 
-<​br><​br>​ 
-<table border=1><​tr><​td BGcolor=orange>​ 
-<font color=red>​Important:</​font>​ 
-<br> 
-Once the backup snapshot is reverted, the Restore menu will show backup data up to that snapshot timestamp; which is expected. 
-</​font>​ 
-</​TR></​TD></​TABLE>​ 
-<​br><​br>​ 
- 
- 
- 
-<!-- 
-<​li><​font color=black>​Remove all index files in the <​b>​blocks</​b>​ folder: 
-<br> 
-<br> 
-<ul> 
-<​li><​font color=black>​%backup_destination%\%backupset_id%\blocks\<​font color=red>​index.db.*.cgz</​font></​font></​li>​ 
-<​li><​font color=black>​%backup_destination%\%backupset_id%\blocks\<​font color=red>​index.db.*.cgz</​font></​font></​li>​ 
-</ul> 
-<br> 
-<img style="​width:​58%"​ src="​http://​wiki.ahsay.com/​lib/​exe/​fetch.php?​media=public:​8112_3.png"/>​ 
-< !-- </li> -- > 
-<​br><​br>​ 
---> ​ 
- 
-<!-- 
-<​li><​font color=black>​Copy the index files from a previous backup job folder (the backup snapshot (YYYY-MM-DD-hh-mm-ss) which you would like to revert to), back to the <​b>​blocks</​b>​ folder. 
-<br> 
-<br> 
-<​u>​For example</​u>​ 
-<br> 
-To revert the backup snapshot to the backup on April 15, 2021 11:02:23, browse to  
-<br> 
-<br> 
-C:\Program Files\AhsayCBS\user\username\1614747242788\blocks\<​font color=red>​2021-04-15-11-02-23</​font>​ 
-<br> 
-<br> 
-copy 
-<br> 
-<br> 
-C:\Program Files\AhsayCBS\user\username\1614747242788\blocks\<​font color=red>​2021-04-15-11-02-23</​font>​\index.db.*.cgz<​br>​ 
-C:\Program Files\AhsayCBS\user\username\1614747242788\blocks\<​font color=red>​2021-04-15-11-02-23</​font>​\index.db.*.cgz 
-<br> 
-<br> 
-to 
-<br> 
-<br> 
-C:\Program Files\AhsayCBS\user\username\1614747242788\blocks\index.db.*.cgz<​br>​ 
-C:\Program Files\AhsayCBS\user\username\1614747242788\blocks\index.db.*.cgz 
-<br> 
-<br> 
-<img style="​width:​50%"​ src="​http://​wiki.ahsay.com/​lib/​exe/​fetch.php?​media=public:​8112_4.png"/>​ 
-<br> 
-<br> 
-<font color=red>​Important:</​font>​ 
-<br> 
-Once the backup snapshot is reverted, data backup by the latest backup (or sub-sequence backup after the snapshot which you have reverted to) will not be displayed in the restore menu. 
-</​font>​ 
-< !-- </li> -- > 
-<​br><​br>​ 
---> 
- 
- 
- 
-<​li><​font color=black>​Ensure that the issue to the backup source drive is resolved, then perform another backup job afterward after unsuspending the account. 
-</​font>​ 
-</li> 
- 
- 
- 
- 
- 
-</ol> 
-<​br><​br><​br>​ 
-</​html>​ 
- 
-===== Keywords ===== 
-snapshot, undelete, undeleting, revert, disconnect 
  
public/version_9/general/9205_how_to_revert_index_snapshot.1642152704.txt.gz · Last modified: 2022/01/14 17:31 by kirk.lim

Page Tools