SQL Virtual Restore - 2.4
Working with HyperUtil.exe - SQL Virtual Restore
HyperUtil.exe is a command line program that you can use to extract native SQL Server backup files from SQL HyperBac compressed or encrypted files.
You can also use HyperUtil.exe to verify SQL HyperBac backup files, to view backup file metadata, and to perform administrative tasks on SQL Virtual Restore index files.
Using HyperUtil.exe
To run HyperUtil.exe:
- Open a Command Prompt window by typing
cmdin the Run dialog (Start > Run) - Change directory to the HyperBac 'bin' folder (for example, '
cd C:\Program Files\Red Gate\HyperBac\bin') - Type the required command, and press RETURN.
For example, type '
HyperUtil ‑S"D:\backups\Mar10\Sales_Full_050310.hbc" ‑O"C:\local\Sales_Full_050310.bak" ‑E' to extract "Sales_Full_050310.bak" (native SQL Server format) from "Sales_Full_050310.hbc" (SQL HyperBac format).
HyperUtil.exe syntax
Command
HyperUtil[.exe]
-S[ource]"[path]filename"
[-O[utput]"[drive:][path]filename"]
[-Q[uery]]
[-L[ogging_path]"path"]
[-K"[path]keyfilename"]
[-R[epair]]
[-D[efrag]]
[-I[gnore]]
[-E[xtract]]
[-F[illfactor]]fillfactor
[-T[est]]
[-V[erbose_output]]
[-Y[do_not_prompt_for_overwrite]]
[--help|-?]
Arguments
Argument |
Description |
-S[ource]"[path]filename" |
Specify the path and name of the file you want to process (extract, verify, or view metadata). |
-O[utput]"[drive:][path]filename" |
Specify the path and name for the processed file HyperUtil.exe will create. |
-Q[uery] |
Display metadata from the source file. |
-L[ogging_path]"path" |
Specify the log file path for the operation. %TEMP% is used by default. |
-K"[path]keyfilename" |
Specify the location of the key file for an encrypted source file. Extraction will fail unless you ensure that the key file used to encrypt the backup is available. Read Working with key files for encrypted backups for more information about how SQL HyperBac uses key files. |
-R[epair] |
Repair the SQL Virtual Restore data file or log file specified by -S. |
-D[efrag] |
Defragment and recover space from the SQL Virtual Restore data file specified by -S. |
-I[gnore] |
Ignore errors during repair (-R) or defrag (-D) of the file specified by -S. |
-F[illfactor]fillfactor |
Adjust the fill factor of the SQL Virtual Restore file specified by -S. Fillfactor ranges from 60 to 100 (defaults to 90). |
-E[xtract] |
Extract a native SQL Server backup file to the location specified by -O, from the SQL HyperBac source file specified by -S. |
-T[est] |
Verify the SQL HyperBac backup file specified by -S. |
-V[erbose_output] |
Display detailed information about the operation. |
-Y[do_not_prompt_for_overwrite] |
Silently overwrite an existing output file (specified by -O). |
--help, or -? |
Display help information. |
Examples
Extract a native SQL Server format file from a compressed SQL HyperBac file
The following command extracts the native SQL Server format backup file "sales_010310.bak", from the compressed SQL HyperBac backup file "sales_010310.hbc":
Extract a native SQL Server format file from an encrypted SQL HyperBac file
The following command extracts the native SQL Server format backup file "sales_010310.bak", from the encrypted (and optionally compressed) SQL HyperBac backup file "sales_010310.hbe", using the "AES_256.key" key file:
Display information (metadata) about a SQL HyperBac file
The following command lists information (metadata) about the SQL HyperBac backup file "sales_010310.hbc":
Was this article helpful?
SQL Virtual Restore
- Upgrading the HyperBac engine components
- SQL Virtual Restore Error Checking Service Configuration - VirtualDiskSize setting required
all SQL products
- Compatibility of Red Gate tools in 64-bit environments
- Application has encountered an error and needs to close
- Error message after installing SQL Toolbelt - The description for Event ID ( 1 ) in Source ( nview_info ) cannot be found.
- Changing the temporary directory used by the installer
- Toolbelt Installer "hanging" while "scanning volumes"
- Login failing with "trusted SQL Server connection" error when using RunAs
all products
- Some Red Gate products identified as containing a trojan by Anti-Virus software
- Activation may fail with Unknown Error -1
- Product uses web help although a CHM file is available locally
- Argument exception resulting from missing environment variable
- Check for updates may fail when used through proxies
- 'Unidentified Publisher' error when repairing or uninstalling
- Licensing activates product as standard edition
- Moving Red Gate software products to another machine
- Red Gate tools log locations
- The application UI opening slowly when there is no internet access
SQL Virtual Restore
all SQL products
all products
- Red Gate product acknowledgements
- Activating your products
- Activating your products
- Red Gate bundle history
- Check for updates
- Troubleshooting Check for Updates errors
- Current versions
- Deactivating your products
- Installing Red Gate products from the .msi file
- Requesting additional activations
- Serial numbers for bundles
- Reactivating using a different serial number
- Extending your trial
- Finding your serial numbers
- Moving a serial number from one computer to another
- No response received for manual activation
- Licensing and activation resources
- Licensing and activation resources
- Troubleshooting licensing and activation errors
- Licensing and activation FAQs
- Red Gate tools log file locations
- Download old versions of products
- Download product prerequisites & utilities
- Support & upgrades
- Upgrading your software
- Upgrading FAQs

Using SQL Virtual Restore