You can re-index and then restore the contents of an .SV (DataCenter save file/backup set) file via command line via hiback.exe even when the index record/index file for the .SV is not present anymore or became corrupt. Attempting to restore an .SV file in this manner is just bit more complicated than attempting to perform the operation on a .SV file that is stored on a local device such as a local hard drive, as there is the added step of mapping a network drive letter in via an escalated/admin command prompt so that the hiback command can see the .SV file on the network location such as a NAS or network share. In addition, if the NAS share/network share is protected and not open to everyone then you will need to know the username and password for the credentials to the share to be able to map a network drive letter to it.
Here are the tips and the steps for you to follow if attempting to restore an .SV file from a network location such as a NAS share or network share:
NovaStor Direct Restore (Command Line):
To perform a direct restore from a backup .SV file (save file/backup file), launch an elevated (Administrator) command prompt and perform a drive mapping of your NAS share or your network share. First of all you need to realize that if your .SV file (save file/backup file) is on a NAS share or a network share that is protected (user and password, possibly different than the user that you are logged in to Windows with) then mapping a network drive as that other user while logged in to Windows won't be acceptable here since the command line session loads an Admin command prompt and those drive mappings are different than your other user that is logged in to Windows so the command line session won't see your own network drive mappings.
After launching the Admin command prompt here are the instructions:
In our example the command to map our NAS share to an available Q: drive is:
"net use q: \\ag-qnap1\Shared"
Issue the commands without the quotes. If it fails then first verify the spelling of your main NAS or network share and B. verify that the folder in question does not require specific domain or local user to be referenced in the net use command to specify the proper username and password for that share. *If your share contains spaces and has case sensitivity then pay attention to how you will need to use the net use switches. *If your share does require specific username and password to access the share, and it is not wide open to the Public/Everyone/All users, then you will need to specify the /USER:[domainname\]username] and the [password] switch at the end of the net use command, such as /user:HTG Pa$$word. You should reference the net use guide that we have as part of our Restore Image Backup from NAS knowledge base article here:
Net Use Command Syntax
net use [{devicename | *}] [\\computername\sharename[\volume] [{password | *}]] [/user:[domainname\]username] [/user:[dotteddomainname\]username] [/user:[username@dotteddomainname] [/home {devicename | *} [{password | *}]] [/persistent:{yes | no}] [/smartcard] [/savecred] [/delete] [/help] [/?]
Example command WITHOUT spaces or case sensitivity requirements:
net use q: \\192.168.1.4\backups /user:HTG Pa$$word
Example command WITH spaces and case sensitivity requirements:
net use q: "\\192.168.1.4\My Share\Backups" /user:HTG Pa$$word
Now verify that the Q: drive is mapped in the Admin command prompt session by performing a "cd q:" command via the same Admin command prompt session. If you are able to get to that newly mapped in network drive and then do a "dir" file/folder listing there then you have read permission to the Share and should now be able to reference the mapped drive during the "Which Fileset: %q:\Jon\QA-VMS-2012R2A\File\qnap.0001\1809120x.SV" part of the instructions, where you select the .SV file to restore, it will be able to read the .SV at that network location to be able to use it for restoring files.
Now from the same elevated/admin command prompt session, navigate to the following directory location:
C:\Program Files\NovaStor\DataCenter\Hiback
1) Type following command and press enter: hiback.exe
2) At the "Which Fileset:" prompt, enter the path and name of the save file (xxxx.SV) that you will be restoring data from and press enter:
Example: Which Fileset: %q:\Jon\QA-VMS-2012R2A\File\qnap.0001\1809120x.SV
3) Enter "ci" at the "Function" prompt for list file creation (to re-create the list file / index record that does not currently exist):
4) Then enter the disk pool device where the save file resides (the device name can be found in the Restore section by clicking on the backup job). You can see the Device is by loading DataCenter GUI and going to your Backup Servers area and looking at the particular Disk Pool where the backup job was originally pointing to to get that Device information. In this example the device name is "$mp-srv-2016*disc|File.0001":
5) When the "ci" command for re-indexing the .SV file is successfully completed, the output will be similar to the example below.
Notice the newly created list file name next to "Catalog to:" In this example the name is 001509129246.LST:
The "ci" command will build a new list file (index file) for your .SV file. After the list file is generated successfully the list file will be located as a newest dated .LST file generated in "C:\Program Files\NovaStor\DataCenter\Hiback\tmp\". The filename may look like "180912C00.LST". That same file needs to be copied, and not moved, to "C:\Program Files\NovaStor\DataCenter\Hiback\list\". The file needs to be named the same in the tmp\ and the \list\ folder. Once the file is in place in both the Hiback\tmp\ and Hiback\list\ folders then you can use the DataCenter Standalone Restore GUI (nicknamed HUI GUI). This is a GUI application that is part of DataCenter that allows to restore files from an .SV backup set that is currently indexed, and here are those instructions below:
NovaStor DataCenter Standalone Restore GUI:
The NovaStor DataCenter Standalone Restore interface can be used to restore data to a backup client (run GUI on the backup client).
1) To launch the interface browse to the "C:\Program Files\NovaStor\DataCenter\Hiback\hui" directory. If the folder is not found see the note at bottom of this article.
Then right-click on the "hui_cross.cmd", file and select "Run as administrator":
2) Find the correct "Save File", "List File" for the data that you will restore and click on the "Open" button:
3) On the "Selection" tab of the "pop-up" window, select files to be restored:
4) Click on the "Options" tab and select the proper options for the restore and click the "Restore All" button:
*Note that if you only want to restore a single file or folder from the backup set, as you chose in the prior selection / screen, you will be required to select the option "Path filter string", otherwise ALL files and folders will be restored from your selection set.
5) The "Status" tab will list all files restored with the totals near the bottom of the log file:
Note: hui.cmd may also be used to perform restores but, hui_cross.cmd is the tool recommended for restores.
Note: In some versions of DataCenter 7.3.x, the HUI GUI app may not be found for whatever reason. In that case contact customer support to be provided with the replacement file set that should allow this to run. Simply ask for the HUI GUI v7.3 app .zip package.