public:8113_faq:how_to_revert_index_snapshot

Differences

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

Link to this comparison view

public:8113_faq:how_to_revert_index_snapshot [2021/04/20 00:31] (current)
edward.chan created
Line 1: Line 1:
 +===== FAQ: How to un-delete backup data (revert indexes to a healthy state (e.g. previous indexes from a successful backup)) =====
  
 +<​html>​
 + <​b>​
 +  Article ID:
 + </​b>​
 + 8113
 + <​br/>​
 + <​b>​
 +  Reviewed:
 + </​b>​
 + ​15/​04/​2021
 + <​br/>​
 + <​br/>​
 + <​b>​
 +  Product Version:
 + </​b>​
 + <​br/>​
 + ​AhsayCBS:​ 8.1 or above
 + <​br/>​
 + OS: All platforms ​
 +</​html>​
 +
 +
 +===== Description =====
 +<​html>​
 +For backup data that were moved to retention un-intentionally,​ for example, when a removable backup source (e.g. faulty hard drive / USB external drive) was disconnected before a backup, the following warning message will be displayed:
 +
 +<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.
 +<br>
 +<br>
 +Refer to the following steps 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).
 +
 +
 +
 +
 +</​html>​
 +
 +
 +
 +===== Steps =====
 +<​html>​
 +<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>​
 +<br>
 +<br>
 +Refer to the following steps to un-delete the data / revert to a previous set of indexes:
 +
 +<br>
 +<ol>
 +<​li><​font color=black>​On 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:​8112_2.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>​
 +
 +<​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:​75%"​ 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.
 +</​font>​
 +</li>
 +
 +
 +
 +
 +
 +</ol>
 +</​html>​
 +
 +===== Keywords =====
 +snapshot, undelete, undeleting, revert, disconnect
public/8113_faq/how_to_revert_index_snapshot.txt · Last modified: 2021/04/20 00:31 by edward.chan