Quantcast
Channel: Datto SIRIS Errors Archives | Invenio IT
Viewing all 10 articles
Browse latest View live

Datto SIRIS Web Console Error: Connection Not Ready Yet

$
0
0

While attempting to access the Datto SIRIS Remote Web link from the Datto Resale Portal Firefox times out with the following error: Connection Not Ready Yet, Retry Connection.

connectionNotReadyYet.png

Example: Remote Web Console timed out

 

Cause

This occurs when the php-cgi process running on the Datto is unable to forward it’s session outbound to Datto’s Monitoring Servers.
Also seen when a remote web console has been open and left idle for extended periods of time.

Solution

• In the event that the remote web link fails to load the device’s web console, attempt to access the console from a machine on the Datto SIRIS’ local sub-net.
• Using firefox on the local subnet browse to: http://device.dattobackup.com (use your SIRIS IP address) and log into the local web console.
• Once connected to the console locally check the Status page to confirm that the Connectivity section reports Good.

statusPage.JPG

Example: Status Page Connectivity Section reporting Good for all checks.

 

For further assistance please contact Invenio Support
888-244-1912

 

Datto SIRIS Best Practices

Like what you read? Click here to subscribe to this blog and receive
the latest Invenio IT blog content in your inbox or RSS reader!

View Author Info at Google+


Datto SIRIS VM boot-up time is lagged during Disaster Recovery & How to boot VM in Safe Mode

$
0
0

From time to time Virtual Machines that are hosted on a Datto Siris device may experience a painfully slow boot process. This blog post aims to lay out the steps to circumvent this issue in an efficient manner to help swiftly boot up a Virtual Machine.

Please Note:  This applies only to slow Virtual Machines in a Disaster Recovery environment that are configured to have regular live network connectivity.

server2003bootslow.JPGWin7BootSlow.png

Example: 2003 and 2008 OS exhibiting slow boot process

Cause

• Most commonly these machines have services by manufacturers other than Microsoft enabled in msconfig.
• These services commonly are found to be what is slowing down start-up of the OS of the virtual machine.

Eliminating lag experienced during the boot process

• First step is to access the “Advanced Boot Options” for the Operating System by pressing F8 on boot.
• This may be very difficult to perform via an RDP session so it is suggested to VNC into your Datto Appliance.
• VNC access to Datto Siris devices can be obtained using any VNC client  from a machine on the local subnet, or remotely using the Datto Resale Portal task “remoteVNC” as shown below.

 

remoteVNC.png
     Example: “remoteVNC” Portal Task

 

• If prompted for a password please use either the password configured in the Datto Siris web console, or the default VNC password (contact Datto for more info).
• Once connected double click the icon on the desktop for “Sun Virtual Box”.

 

VNCDesktop.JPG
Example: VNC connection established with Virtual Box icon identified.

 

• If no Virtual Machines appear in the Virtual Box program then re-start the VM from the “Local Virtualization” tab on the Siris web console and continue to the next step.

 

vnc_virtualbox.JPG
Example: Virtual Box launched with no Virtual Machines mounted.

• If the Virtual Machine appears in Virtual Box and is running then it will need to be stopped from the “Local Virtualization” tab on the Siris web console.

virtualboxrunning.JPG
               Example: Virtual Box launched with Virtual Machine in a “Running” state.

 

stopme.JPG
 Example: Stop Mounted VM

• Once the Virtual Machine appears in Virtual Box as being “Powered Off” it may be launched by clicking on the Virtual Machine’s name, followed by clicking the button “Start”.

virtualboxidle.JPG
Example: Virtual Box showing Virtual Machine mounted but not running.

• The Virtual Machine will instantly start to boot on the screen so immediately start to repeatedly press F8 to access the “Advanced Boot Options” screen.

Please Note: If the timing to input the key F8 is missed then simply close the window which will power off the Virtual Machine.  Then repeat previous step to start the Virtual Machine again.

 

win7bootoptions.JPG

Example: Windows 7 Advanced Boot Options Screen – Safe Mode selected


• From the Advanced Boot Options screen select option for “Safe Mode”
• Once the Virtual Machine boots in Safe Mode we will want to access msconfig by click Start > Run > msconfig

stopme.JPG

          Example: Virtual Machine hosted within Virtual Box starting msconfig


• From msconfig click tab entitled “Services”.
• Click checkbox entitled “Hide all Microsoft services”.
• Select “Disable all” button.

msconfig.png

Please Note: The “Virtual Box Guest Additions service” used for Virtual Drivers and is installed on the production machine during the ShadowSnap Agent installation will not be impacted by these steps.  It will still start up when the Virtual Machine is rebooted.

• Reboot the machine.  It should be much faster to boot fully into the Virtual Environment with live networking enabled.
 

For further assistance please contact Invenio Support
888-244-1912

 

Datto SIRIS Best Practices

Like what you read? Click here to subscribe to this blog and receive
the latest Invenio IT blog content in your inbox or RSS reader!

View Author Info at Google+

Datto Siris Snapshot Returned Error Code -121

$
0
0

Like everything in this world, technology issues arise.  Knowing how to deal with issues when they do occur with your Datto Siris is crucial to the success of your backups and data recovery.  Below is an example of an error and troubleshooting solutions.

Backups fail with either error messages:

STC failure occurred mid transfer.
stcx.SnapshotError (rc=500, err=1): Snapshot returned error code – 121 for VSNAP Direct; None.

Cause

The error code -121 is an official Microsoft System Error Code for ”The semaphore timeout has expired.”  Semaphore Timeout Errors are caused by a very wide scope of specific issues.  Generally these issues relate to latency, or lag in the responsiveness of the network that occurs when the ShadowSnap™ Agent Service is transferring a backup job to the Datto SIRIS™ or SIRIS Lite™ Device.

1.   The agent is experiencing networking issues when trying to write the backup image to the datto device.

2.   The agent is experiencing a timeout when attempting to write data.

Something is preventing large data transmission across the network. Some AntiVirus programs will lock access to files if data is being constantly manipulated.

 

Solution

1. To minimize any number of transient errors that may appear, update the ShadowProtect and ShadowSnap agents to the latest version found at www.shadowsnap.com and perform a reboot of the target machine.

2.   Basic network troubleshooting:

• Check networking settings
• Can the datto be accessed from the machine
• Are the shares browsable
• Can shares be written to?
• Replacing the Ethernet Cable which is plugged in to the Datto SIRIS™ or SIRIS Lite™ may help resolve any packet loss experienced as the result of a faulty Ethernet Cable.
• Ensure that there is no firewall, proxy, or filter of any type that is interrupting communication between the Datto SIRIS™ or SIRIS Lite™ Device. and the ShadowSnap™ Agent on TCP port 25566.

• If protecting machines across multiple subnets please ensure that a static route is configured on the network or use an auxiliary NIC provided on the Datto SIRIS™ or SIRIS Lite to communicate with this subnet.

3.  Review the StorageCraft server tuning guide to attempt to improve the server reliability.

http://www.storagecraft.com/support/kb/article/241

4.  Add exceptions to any Antivirus or FireWall for the ShadowSnap application on ports 25566 and port 139, and the C:\Program Files\StorageCraft folder within the anti-virus program present on the server.

5. If all above steps fail, perform a chkdsk /r and a disk defragmentation on the target machine. Ensure that there is at least 10% of available free space on the operating system drive.
 

For further assistance please contact Invenio Support
888-244-1912

 

Datto SIRIS Best Practices

Like what you read? Click here to subscribe to this blog and receive
the latest Invenio IT blog content in your inbox or RSS reader!

View Author Info at Google+

Datto Siris| STC failure occurred mid transfer.

$
0
0

Knowing how to solve issues with your Datto Siris when they arise is critical to your backup and recovery strategy. Below is an error that you may encounter, along with a troubleshooting solution for your Datto Siris.

Your Datto Siris backups may fail with error:

STC failure occurred mid transfer.

No recent error reported from ShadowSnap agent

STCfailureoccurredmidtransfer.jpg

 

Cause

This error message originally covered a very wide scope.  Typically there is a preceding error message which directly identifies the issue. Many of these transient errors were caused by earlier versions of ShadowSnap and ShadowProtect. Updating to the latest version of both is highly recommended. The latest installer package an always be found at www.shadowsnap.com. Be advised that a reboot of the target machine may be necessary.

 

Solution

1.   To Determine the Preceding error message click on the link for the protected machine’s section on the local Datto Siris Web Console’s Agents tab for: View the backup log

viewtheBackupLog.jpg
Example: View the backup log link

 

2.   When the backup log is displayed click on the link for Show Agent Log to obtain a detailed listing of the Agent’s backup log.

showAgentLog.jpg
Example: Show Agent Log link

3.   In the agent log, you will see better-defined errors in the agent log.

 

For further assistance please contact Invenio Support
888-244-1912

 

Datto SIRIS Best Practices

Like what you read? Click here to subscribe to this blog and receive
the latest Invenio IT blog content in your inbox or RSS reader!

View Author Info at Google+

Datto Siris: Could not unsnap the snapshot

$
0
0

Errors will occur when backing up with any (and every) solution.  Knowing how to resolve those errors and issues is critical too ensuring your backup and recovery solution is successful.

Below is a possible error you may encounter:

VSS failure occurred mid transfer.
stcx.SnapshotError (rc=500, err=1): Could not unsnap the snapshot. (-2147212543, False); None.
CouldNotUnsnapTheSnapshot.jpg

Cause

The Microsoft Shadow Copy Provider responsible for VSS was unable to perform a backup.
 
Note: Backups will continue if this error is thrown, unless the StorageCraft Shadow Copy Provider is not running. The StorageCraft Raw Agent Service uses both the Microsoft Shadow Copy Provider VSS and Storage Craft Shadow Copy Provider (STC) to perform backups.  If the Microsoft Shadow Copy Provider fails then this error will appear, and the next backup will be attempted by the Storage Craft Shadow Copy Provider (STC).  The STC backup produces a crash consistent state backup, whereas fully functional VSS writers produce an application aware backup.  This is a concern for systems running any services that include a VSS writer for backups, such as database services.  For instance, if the VSS writer for a database is failed, recent transactions for that database may not be backed up by ShadowSnap.

Solution

Suggested long-term resolution path

Windows 2003 and older:  Update the Protected Machine with all hotfixes that are available for VSS from Microsoft. Check the VSS hotfix page

Windows Vista and newer: De-select the System Reserved Partition from attempting a backup on the Advanced Options page.  View the KB from IBM here for more information on this issue.Note: The SRP volume is not needed for any SIRIS virtualization or restore.  During the virtualization and restore process Datto installs the necessary boot information so as not to have junk boot data to attempt to virtualize/restore from.

Run through the Steps to Troubleshooting VSS Knowledge Base Article

 

Alternate path, provide crash consistent backups only with STC
  1. From the Datto SIRIS or SIRIS Lite web console click on Basic Options for the Protected System.

basicOptions.jpg

 

  1. On the Basic Options page set the Backup Engine to STC and click Apply.

backupEngineOptions__1_.jpg

 

For further assistance please contact Invenio Support
888-244-1912

 

Datto SIRIS Best Practices

Like what you read? Click here to subscribe to this blog and receive
the latest Invenio IT blog content in your inbox or RSS reader!

View Author Info at Google+

Datto Siris: Final Error (#2 The System Cannot Find The File Specified.)

$
0
0

Every backup will encounter an error, often times they are a result of the system that is being backed up.  In this Datto Siris post we cover the  error that you may encounter “Final Error (#2 The System Cannot Find The File Specified.)” on your Datto Siris.  We also offer a troubleshooting solution for this error on your Datto Siris.

Final Error (#2 The System Cannot Find The File Specified.)

-2_Resize.jpg

       Example: Final Error (#2 The System Cannot Find The File Specified.)

 

Cause

1.   What many times this error appears for is damaged disks or bad sectors on the drive.

2.    It can also indicate a bad ShadowProtect install or conflicting ShadowProtect installs (Previous versions, Server, Desktop, non-MSP installs)

 

Solution

 

  1. • In the Datto Siris, set Shared Compatibility mode, and ensure there is a public DNS setting.
  2. • Update ShadowSnap and ShadowProtect to latest version found on www.shadowsnap.com. Make sure that no previous versions of the software have been installed.
  3. • Run a chkdsk /r to fix and repair any bad disk sectors on the target server.
  4. • In the Datto Siris, force a differential merge from the advanced options tab.
  5.  If all of these steps fail, we need to re-register the StorageCraft drivers by performing these steps (Be advised there are 4 reboots in here, have a good maintenance window scheduled):

 

Steps to purge all Stcvsm.sys related registry entries and repair the ShadowProtect install.

    1. • Download PSExec.exe from http://live.sysinternals.com/psexec.exe.
    2. • Also download the ShadowProtect MSP installer
    3. • Open a command prompt and browse to the location psexec was downloaded to.
    4. • Run the following command. Psexec.exe -hsi cmd.exe.
    5. • This will open a second Command prompt window that will be running as local system.
    6. • From that CMD window browse to <Program Dir>\Storagecraft\Shadowprotect\.•
    7. From the CMD window Run Stcinst.exe –w
    8.  Reboot the machine.
    9. • Using the ShadowProtect MSP installer, repair the Shadowprotect install.
    10.  Reboot the machine.
    11. •  From the CMD window Run Stcinst.exe –u  (please follow steps 1-5 to bring up the correct CMD window again).
    12.  Reboot the machine
    13. • Repair the Shadowprotect install.
    14.  Reboot the machine. 
    15. • Upon completion, attempt another ShadowSnap backup. This may require a differential merge to be performed again.

 

For further assistance please contact Invenio Support
888-244-1912

 

Datto SIRIS Best Practices

Like what you read? Click here to subscribe to this blog and receive
the latest Invenio IT blog content in your inbox or RSS reader!

View Author Info at Google+

Why image backup technology is so impressive (and necessary)

$
0
0

An Image Backup Solution Will Save Time and Headaches

When thinking about computer backups and system restoration, it is best to be prepared for the absolutely worst case scenarios because they actually do occur. For example, what if your courier carrying the backup tapes from the off-site storage facility gets in a bad traffic accident and all of the backups get destroyed? What if you find out, too late, that your backups only run on an obsolete system that doesn’t exist anymore? What if your disaster recovery site gets hit by lightning and burns to the ground?

Traditional file-based backup saves copies of the data. This type of backup works reasonably well, especially if only pieces of the system need to be restored. For example, if a user loses a few files, these can easily be found on the backups and replaced. However, if the entire system goes down, file-based backup can be a big headache. Usually the entire system will need to be re-built from scratch, and then have the data loaded onto it. This takes time, and every minute your company isn’t able to operate means you are losing money, losing customers, and paying employees to sit around and wait.

Image-based backup takes a “snapshot” of the entire system every time it backs it up. Not just the data, but the operating system, the system state, and the application configurations. Each “snapshot” is called an image, and the image is stored in case it is needed. The entire system can, if necessary, be restored in one quick step from the backed-up image.

Another feature of image-based backup is the ease of upgrading your computer system. Since the entire system is stored in the backup, in order to perform an upgrade the backup can just be loaded onto the new hardware. No disruptions in workflow necessary.

Image-based backups can be used with both real and virtual operating systems, and can be backed up into the cloud or onto special servers. Most image-based systems use deduplication and compression to reduce storage space needs.

We offer an assortment of image backup systems designed to meet the needs of small businesses.

5 big tips to using ShadowProtect on the Datto SIRIS

$
0
0

?Datto SIRIS: Using ShadowProtect and Image Manager

This article explains the installation, configuration, and using ShadowProtect and Image Manager applications.

2. Index

Overview

ShadowProtect

  1. Preparing for installation
  2. What if an application on my machine does not have its own VSS writer?
  3. Log truncation for Microsoft SQL and Exchange
  4. Installing and activating ShadowProtect
  5. Configuring ShadowProtect backup jobs
  6. Restoring files and folders with ShadowProtect

Image Manager

  1. Installing ImageManager
  2. Configuring consolidation and retention with ImageManager
  3. Verifying backup integrity

Troubleshooting

  1. Gathering ShadowProtect logs
  2. ImageManager will not run retention
  3. ShadowProtect service does not respond
  4. Manually uninstalling ShadowProtect
  5. Additional links

3. Overview

ShadowProtect is a VSS-aware backup and disaster recovery application by Storagecraft Technology Corporation. It is included with Datto’s inverse-chain “ShadowSnap” backup solution for Datto SIRIS and ALTO series units. It may also be used as a standalone backup application on Microsoft Windows operating systems to send backups to network-addressable storage hosted on a Datto G-Series device. This article covers the latter usage of the software.

Since ShadowProtect is a required part of the ShadowSnap software installation, it may also be used to create a backup of a virtual machine hosted on a Datto SIRIS or ALTO series unit for use in performing a BMR (Bare Metal Restore) of the virtual machine back to its production environment with the ShadowProtect ISO.

ShadowProtect is not supported for use with SMB or iSCSI shares hosted on DattoNAS series devices. The DattoNAS series uses the snapshotting feature of Sun Microsystem’s ZFS filesystem to create backups of its hosted shares. Sending ShadowProtect backups to a DattoNAS share will rapidly fill the DattoNAS device’s storage space.

Image Manager is responsible for monitoring and performing consolidation operations on backup files generated by ShadowProtect. Using ImageManager is crucial to properly managing the growth of your ShadowProtect backup chains.

 

4. ShadowProtect

4.1. Preparing for Installation

Since ShadowProtect uses the Microsoft Volume Shadow Copy Service (VSS) framework on 2003/XP and newer Windows Operating Systems, it should be tested prior to installing ShadowProtect with the Microsoft VShadow utility. The VShadow utility will verify the system’s registered VSS writers are working properly by attempting to create a temporary shadow copy. If the VShadow utility cannot successfully create a temporary shadow copy, you may need to contact Microsoft for assistance with the VSS framework.

Another useful utility to run prior to installing ShadowProtect is StorageCraft’s own ShadowProtect Preinstall Check tool, which will scan a Windows system and provide a summary of recommendations for optimal performance during backups as well as a list of installed programs that may conflict with ShadowProtect.

The VSS Explained: Common Writers, Services, and Hotfixes available knowledgebase article contains a list of 3rd party programs known to conflict with ShadowProtect’s ability to properly utilize the VSS subsystem.

Since ShadowProtect accesses disks at the sector level, a disk health check with the repair option enabled (chkdsk /r) is also recommended before beginning a new ShadowProtect backup chain.

 

4.2. What if an application on my machine does not have its own VSS writer?

If you have an application that does not have its own VSS writer to properly freeze/thaw the application’s database in the event of a VSS-aware backup, it is highly recommended to make accommodations for that software to use its own backup utility.

Since ShadowProtect detects change at the sector level, backups run outside of ShadowProtect should not be stored on any volumes ShadowProtect is configured to back up.

 

4.3. Log truncation for Microsoft Exchange and SQL Server

ShadowProtect does not automatically support log truncation for Exchange 2010 or 2013 due to changes in how Exchange’s VSS writers are configured by default. If you wish to truncate logs for Exchange 2010 or 2013, contact Microsoft for assistance to configure your VSS writers to truncate Exchange logs during full copy backups.

For Exchange 2007 and earlier, the “Microsoft Exchange Writer” VSS writer must be functioning properly and enabled in the Windows registry. Exchange Circular Logging must be disabled.

 

4.4. Installing and Activating ShadowProtect

If you purchased a ShadowProtect license key directly from StorageCraft, you will need to download and install ShadowProtect from StorageCraft’s web portal. If you purchased a ShadowProtect license key from the Datto Partner Portal, you will need to download and install Datto’s MSP (Managed Service Provider) version.

ShadowProtect activation keys are specific to the Windows Server, SBS, and Desktop environments. Purchase the appropriate class of license from the Datto Partner Portal to ensure a successful activation. All Datto-issued activation keys use the same ShadowProtect installation executable.

After installing ShadowProtect, a reboot of the Windows operating system is required.

After rebooting, launch the application (StorageCraft –> ShadowProtect in the Windows Start Menu) and navigate to “Help” –> “Product Activation”:

using shadowprotect

Enter a valid license key and fill in the required fields, then confirm your entries. If activation is successful, the “License” field on the bottom left-hand corner of the screen will show “Active” (instead of “Trial”) as in the image above.

If activation is unable to complete, verify the machine ShadowProtect is being installed on can connect to activate.storagecraft.com:80. After activation, ShadowProtect will periodically contact this server on port 80 to re-verify licensing information.

 

4.5. Configuring ShadowProtect Backup Jobs

If you are sending ShadowProtect jobs to a network attached storage (NAS) share hosted on a Datto device, see How to Create a NAS Share on a Datto Device for instructions on creating and configuring a NAS share through the Datto device web interface.

With a destination for ShadowProtect backup files configured, start the ShadowProtect Backup Wizard by clicking the Wizards tab, then Backup:

using shadowprotect

Click Next, and select the volumes you wish to back up:

using shadowprotect

Click Next. To save backups to a NAS share, click the drop down in the next screen, and select Network Locations:

using shadowprotect

 

In the dialog box that pops up, enter a “Destination Name” that ShadowProtect will use to refer to your destination, the path to your NAS share, and credentials to access your share if your share is private, then click OK:

using shadowprotect

In the next screen, click the Continuous Incrementals radio button and select the days/times you wish to take backups. If “Use VSS” is checked, ShadowProtect will use VSS for all backup times selected under “Additional Incremental Backups”.

Note: Selecting “Continuous Incrementals” is necessary to avoid multiple full backups of volumes in your chain, which will cause unnecessarily high bloat and potentially fill your backup device within a very short period of time.

If you are only taking a one-time full backup for a Bare Metal Restore (BMR), select the “Now” option instead of “Continuous Incrementals”, then select “Full”. Selecting a “Full” backup job will skip the backup schedule configuration options.

using shadowprotect

In the next screen, you can configure encryption, compression, and metadata settings for your backup job as well as access advanced options, which allows you to configure throttling settings (for busy or less powerful machines) and run custom scripts during predefined stages in a ShadowProtect backup job’s execution. For more information on advanced options, please see the ShadowProtect User Guide in the Additional links section of this article.

If you configure an encrypted backup job with a password, data will not be recoverable in the event of a lost password and a new backup job with a full base image will be required.
High compression only yields between 1-2% greater compression than Standard. This method also greatly increases the CPU load and the required backup time. This method is not recommended in most circumstances.

using shadowprotect

After clicking Next, you will be given the chance to review your settings for the backup job. Check the “Execute Now” box if you wish to immediately begin the initial full base image backup, then click Finish.

You will be brought to the “Backup Jobs” tab where you can review the status and settings of the backup job. Double-clicking on the backup job will restart the Backup wizard and allow you to make adjustments to your previously-selected settings.

 

4.6. Restoring files and folders with ShadowProtect

There are three methods to perform a file or directory-level restoration with ShadowProtect: “Mount”, “Quick Mount”, and the “Explore Backup” wizard.

Quick Mount will mount backup images to the next available Windows mountpoint for read-only access, while Mount will mount backup images with read/write access to the next available Windows mountpoint. The “Explore Backup” wizard offers more customization than both the “Mount” and “Quick Mount” options.

ShadowProtect retains file permissions in backup images. As a result, files or folders from a backup image may not open when using Quick Mount to view an image on a different system (which lacks those permissions). To temporarily change these permissions and view the files or folders, use Mount to open the backup image as Read/Write instead. You can then use Windows Explorer to change ownership of the file or folder to access it.

The Mount and Quick Mount options are integrated into the Windows shell during the installation of ShadowProtect. To Mount or Quick Mount a backup, browse to your backup chain using Windows Explorer (explorer.exe), right-click on a ShadowProtect backup file, and click “Mount…” or “Quick Mount”:

using shadowprotect

If you are unable to properly mount the image with the Mount or Quick Mount options, start the “Explore Backup Wizard” by clicking the Explore Backup option in the expandable “Tasks” section on the left-hand side of the ShadowProtect interface:

using shadowprotect

After opening the “Explore Backup” wizard, ShadowProtect will allow you to select a backup file in your backup chain. After selecting a backup file, information about the volume stored in the backup image will be displayed:

using shadowprotect

Click Next, and ShadowProtect will display a list of all files in your backup chain with their creation times. Click on the point in time (“Creation Time”) you wish to restore from and click Next:

using shadowprotect

Next, choose a drive letter or empty NTFS folder as a mountpoint for the volume’s point-in-time backup you selected and whether or not you want the restore mounted read-only or read/write with the “Mount Backup as Read-Only” checkbox, then click Next:

using shadowprotect

Confirm your selections in the “Wizard Summary” screen, then click Finish to mount the backup to the selected mountpoint. When you are finished restoring from the mounted backup, click the “Dismount Backup Image” link in the expandable “Tasks” section on the left-hand side of the ShadowProtect interface and follow the instructions to dismount the backup image.

Changes made directly to files in a read/write-mounted ShadowProtect file restore will not be saved after unmounting the restore. Copy the files and folders you need out of the restore into the production environment.

 

5. ImageManager

5.1. Installing ImageManager

StorageCraft ImageManager is a utility for use with ShadowProtect backup files that performs consolidation, retention, and verification operations based on a policy that you create.

To install ImageManager, download the installer from the Datto Partner Portal, then run the executable and follow the installation instructions.

After installation is complete, launch the application (StorageCraft –> StorageCraft ImageManager in the Start menu by default). On first startup, ImageManager will ask you to create a new password:

using shadowprotect

Enter a desired password in the “New Password” and “Confirm New Password” fields, then click OK.

This password only applies to accessing the ImageManager application and does not encrypt backup files. Encryption for backup files is configured in ShadowProtect itself (see the section Configuring ShadowProtect backup jobs in this article). If you forget your ImageManager password, you can run the ImageManager Password Reset Utility from StorageCraft as an Administrator to reset your password to “password”.

To begin managing your backup files, click on the Start Managing Folder… option in the left-hand pane, then enter the network path to the folder where your backup chain is stored, a description for the folder being managed, and credentials (if your destination requires authentication) in the “Managed Folder Settings” dialog box:

using shadowprotect

After clicking Save, ImageManager will display details about the backup chain and available storage space for your backup job destination.

 

5.2. Configuring Consolidation and Retention with ImageManager

Consolidation refers to the number of hours, days, or months (or longer configurable period of time) before a set of ShadowProtect backup files representing a specific period of time in the backup chain is rolled up into one file.

The backup file generated by consolidation will represent the state of the machine for the newest backup out of the set of backups that were rolled up. For example, if the Weekly Consolidation setting is configured to roll up daily backups into one weekly backup on Saturday and your last backup job for the week is scheduled on Friday at 5:00 pm, a restoration of the machine from the consolidated weekly backup created on Saturday would represent the state of the machine as it was on Friday at 5:00 pm.

Examples of files created by consolidation:

D_VOL-b001-i005-cd.spi (-cd represents a Consolidated Daily file)

D_VOL-b001-i026-cw.spi (-cw represents a Consolidated Weekly file)

D_VOL-b001-i097-cm.spi (-cm represents a Consolidated Monthly file)

To set your consolidation settings in ImageManager, click Consolidation Settings… in the left-hand pane. This will open the “Consolidation Settings” dialog box:

using shadowprotect

Retention refers to the number of days ImageManager will keep an archive of files that were removed from the active backup chain due to consolidation operations.

Retention will not delete files necessary to continue a chain, even if they are older than the currently configured retention settings. Backup files must be able to be discarded with a continuous, valid chain still present to qualify for deletion.

To set your retention settings in ImageManager, click Consolidation Settings… in the left-hand pane. This will open the “Consolidation Settings” dialog box:

using shadowprotect

To modify retention settings for a particular backup chain, check “Override global agent retention settings for this managed folder”, then set your retention settings as desired.

 

5.3. Verifying Backup Integrity

By default ImageManager will perform verification on image files at creation time and after every 7 days. You can configure the frequency with which ImageManager verifies backups by clicking on the Verification Settings… link in the left-hand pane of the ImageManager main console.

To receive e-mail notifications for events that occur in ImageManager, including backup issues, click the Notification Settings… link in the left-hand pane of the ImageManager console, then click on the Conditions tab:

using shadowprotect

Check the boxes for the desired events, then click the Email Setup tab and enter a valid SMTP server and authentication credentials if necessary.

The “Send Test Email” option should be used after configuring the SMTP server to test the configuration.

 

6. Troubleshooting

6.1. Gathering ShadowProtect Logs

Datto may request logs generated by ShadowProtect and Windows to aid in troubleshooting backup issues. To gather these logs, the ShadowProtect Diagnostic tool may be employed.

The ShadowProtect diagnostic tool will gather the following information:

  1. A diagnostic file generated by the tool itself
  2. The logs generated by ShadowProtect
  3. System Information
  4. IP configuration
  5. Event Viewer logs

To run the ShadowProtect diagnostic tool, the files contained inside spdiagnostic zip must be extracted into a folder. After extraction, double-click the runsupportmode.cmd file to start the log gathering process.

If using “runsupportmode.cmd” does not start the diagnostic, you can start the diagnostic directly by running spdiagnostic.exe in the “bin” directory.

You may have to explicitly run the ShadowProtect diagnostic tool with an Administrator account depending on the Windows configuration. If the utility appears to freeze, terminate the process and right-click on the diagnostic tool executable, then select “Run as Administrator”.

After the diagnostic tool runs, the log files will be saved in the current user’s Documents folder. Newer versions of spdiagnostics (7.x and later) will place the log files in aX:Program FilesStoragecraftspdiagnostic folder.

The output will consist of several individual files and a spdiagnostic-(date timestamp).7zMfile.

 

6.3. ImageManager will not run retention

If the storage area ShadowProtect jobs are being created in is full or almost full, ImageManager may not be able to create a large enough temporary workspace on the destination to run retention operations.

If you are setting up ImageManager for a pre-existing backup chain that has never been subjected to consolidation or retention, ImageManager may require as much as 55% space free in the storage area to perform consolidation and retention operations.

If multiple ShadowProtect chains are present on a storage device approaching full capacity, you can temporarily move an entire backup chain folder to an external storage device to free up space . With space temporarily freed on the primary storage device, retention can be run on the chain still present on the primary storage device. The ShadowProtect chain which was copied onto the external storage device can then be moved back to its original location.

If ImageManager will still not run retention after freeing a significant amount of space on the destination storage device:

  1. Close ImageManager.
  2. Run services.msc to open the Windows Services management console, and stop the “ShadowProtect ImageManager” service.
  3. Navigate to X:Program Files (x86)StorageCraftImageManager and locateImageManager.mdb.
  4. Rename the ImageManager.mdb file to ImageManager.old and close the window.
  5. Restart the “ShadowProtect ImageManager” service.
  6. Re-open the Image Manager interface. This will create a new database file for ImageManager to use.

 

6.4. ShadowProtect service does not respond

When trying to start the ShadowProtect service, one of the following errors may be displayed:

  • “Failed to update volume information”
  • “Windows could not start the ShadowProtect Service on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to the service-specific error code -2147467259.”
  • “An attempt was made to reference a token that does not exist”
  • “Agent is incompatible with the GUI. Mininum version required is 39”

These errors are typically caused by a corrupt backuphistory.dat file or the ShadowProtect service being configured to run under an account that does not have Administrative rights.

To re-create the backuphistory.dat file, forcefully close all instances of ShadowProtect and remove the X:Program FilesStorageCraftShadowProtectLogsbackuphistory.dat file, then restart ShadowProtect.

To run ShadowProtect with a local Administrator account, open the Windows Services management console by running services.msc and right-clicking on the “ShadowProtect Service”, then selecting “Properties”. In the service configuration dialog box that pops up, click the “This account” radio button and enter credentials for a Windows local Administrator account:

using shadowprotect

After filling in the credentials for a local Administrator account, click OK, and restart the service.

 

6.5. Manual Uninstall of ShadowProtect

If ShadowProtect’s uninstaller does not function properly due to environmental reasons, ShadowProtect can be removed manually.

In order to complete a manual uninstallation, do the following:

    1. Unregistering the StorageCraft ShadowCopy Provider*
    2. Unregistering the ImageReady software
    3. Unregistering the ShadowProtect Service Agent
    4. Unregistering the StorageCraft Image Mount Tools
    5. Unregistering the ShadowProtect snapshot driver (PnP & non-PnP variants)*
    6. Unregistering the ShadowProtect Mount Shell Extension
    7. Clearing “Add/Remove Programs”/Install Folders/Start Menu Shortcuts

* Steps 1 and 5 require two utilities ShadowProtect uses to uninstall the Shadow Copy Provider and PnP Snapshot driver. These files are included with every install of ShadowProtect. However, if the core of the application has already been removed, these utilities may have been erased as well. In that case, use the link below to download the utilities:

ShadowProtect Uninstall Tools (contains stcinst.exe and vssins64.exe)

Export a copy of the Windows registry before making the modifications below.

Step 1. Unregistering the StorageCraft ShadowCopy Provider

For 32-bit OS platforms:

  1. Open a command prompt as an Administrator and navigate to the ShadowProtect install directory (typically X:Program FilesStorageCraftShadowProtect).
  2. Type net stop vsnapvss and press Enter.
  3. Type vsnapvss.exe /unregister and press Enter.

For 64-bit OS platforms:

  1. Open a command prompt as an Administrator and navigate to the ShadowProtect install directory (typically X:Program Files (x86)StorageCraftShadowProtect).
  2. For ShadowProtect 4.x and older, type vssins64.exe -u and press Enter. If this command does not run, you may have to manually copy vssins64.exe from theShadowProtect Uninstall Tools download into theX:Program Files (x86)StorageCraftShadowProtect directory. For ShadowProtect 5.x and newer, skip to step 3.
  3. Type sbvss64.exe /unregserver and press Enter
  4. Type vsnapvss.exe /unregister and press Enter

using shadowprotect

Step 2: Unregistering the ImageReady software (only for ShadowProtect 5.x or newer)

  1. Open a command prompt with administrative privileges and navigate to the ShadowProtect install directory (typicallyX:Program Files (x86)StorageCraftShadowProtect).
  2. Type net stop StorageCraft ImageReady and press Enter.
  3. Open the Windows registry editor (regedit.exe) and navigate toHKLMSYSTEMCurrentControlSetservicesStorageCraft ImageReadyusing shadowprotect
  4. Add a REG_DWORD value named DeleteFlag with a value of 1 in the key.
  5. Edit the Start value and change the value to 4 (disable the service).
  6. Once the system is rebooted ImageReady will be uninstalled completely.

Step 3: Unregistering the ShadowProtect Service Agent

  1. Open a command prompt with administrative privileges and navigate to the ShadowProtect install directory (typicallyX:Program Files (x86)StorageCraftShadowProtect).
  2. Type ShadowProtectSvc.exe -UnregServer

Step 4: Unregistering the StorageCraft Image Mount Tools

  1. Open a command prompt with administrative privileges and navigate to the ShadowProtect install directory (typicallyX:Program Files (x86)StorageCraftShadowProtect).
  2. Type regsvr32 /u sbimgmnt.dll and press Enter.
  3. Open the Windows registry editor (regedit.exe) and navigate toHKLMSYSTEMCurrentControlSetservicessbmount.
  4. Add a REG_DMWORD value name DeleteFlag with a value of 1.
  5. Edit the Start value and change the value to 4 (disables the driver). using shadowprotect
  6. Once the system is rebooted the mount tools and drivers will be uninstalled completely.
  7. Open the Windows registry editor (regedit.exe) and remove theHKEY_CLASSES_ROOT.SPF and HKEY_CLASSES_ROOT.SPI registry key.

Step 5: Unregistering the ShadowProtect Snapshot Driver

For Windows Vista/7/2008 or newer OSs:

  1. Open a command prompt with administrative privileges and navigate to the ShadowProtect install directory (typicallyX:Program Files (x86)StorageCraftShadowProtect).
  2. Type stcinst.exe -u and press Enter. If this command does not run, you may have to manually copy stcinst.exe from the “32bit” or “64bit” folder (depending on your OS version) from the ShadowProtect Uninstall Tools download into yourX:Program Files (x86)StorageCraftShadowProtect directory, then runstcinst.exe -u.
  3. Reboot the system.

For Windows XP/2003 and older:

  1. Open the Windows registry editor (regedit.exe) and navigate toHKLMSYSTEMCurrentControlSetservicesstcvsm.
  2. Add a REG_DWORD value named DeleteFlag with a value of 1.
  3. Edit the “Start” value and change the value to 4 (disables the driver).
  4. Reboot the system
  5. Open the Windows registry editor (regedit.exe) and remove theHKLMSYSTEMCurrentControlSetserviceseventlogSystemstcvsm registry key.

Step 6: Unregister the ShadowProtect Mount Shell Extension

  1. Open a command prompt with administrative privileges and navigate to the ShadowProtect install directory (typicallyX:Program FilesStorageCraftShadowProtect).
  2. Type regsvr32 /u sbimgmnt.dll and press Enter.

Step 7: Clearing “Add/Remove Programs”/Install Folders/Start Menu Shortcuts

For 32-bit OS platforms:

  1. Open the Windows registry editor (regedit.exe) and remove theHKLMSYSTEMCurrentControlSetControlClass{0A2D3D86-E1F2-4165-AB5CE63D32C0BDE}registry key.
  2. Open the Windows registry editor (regedit.exe) and remove theHKLMSOFTWAREMicrosoftWindowsCurrentVersionUninstallShadowProtect registry key.
  3. Delete the X:Program FilesStorageCraftShadowProtect folder.
  4. Reboot the system.

For 64-bit OS platforms:

  1. Open the Windows registry editor (regedit.exe) and remove theHKLMSYSTEMCurrentControlSetControlClass{0A2D3D86-E1F2-4165-AB5CE63D32C0BDE}registry key.
  2. Open the Windows registry editor (regedit.exe) and remove theHKLMSOFTWAREWow6432NodeMicrosoftCurrentVersionUninstallShadowProtect andHKLMSOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall{26F74578-1285-4C09-80C0-29106C357BFD}registry keys.
  3. Delete the X:Program Files (x86)StorageCraftShadowProtect folder.
  4. Reboot the system.

For 32-bit and 64-bit OS platforms:

  1. Verify ShadowProtect does not exist in the “Add/Remove Programs” or “Programs and Features” section of the Control Panel (appwiz.cpl). If a ShadowProtect entry does exist, select it and then click “Uninstall”. If a dialog box appears stating that the application has already been removed and asking if you want to remove it from the list, choose to remove it from the list.
  2. Open the Start Menu and select the “All Programs” option.
  3. Scroll down and right-click the StorageCraft folder, then select “Delete”.

 

7. Additional Links

The following links to StorageCraft’s website contain additional information regarding ShadowProtect and ImageManager:

Links from this KB article:

We hope this post was helpful in providing help on using ShadowProtect for the Datto SIRIS. If you need any additional assistance, please contact us today.


Datto Failed screenshot with “BOOTMGR is compressed”

$
0
0

Ever wonder what to do when you see the BOOTMGR is compressed?

This article describes the cause and possible solution for the screenshot verification error “BOOTMGR is compressed.”

BOOTMGR-is-compressed

Cause

NTFS compression has been enabled on the volume containing the Windows boot files. When this option is selected, Windows will try to compress all files, including critical boot files.

Solution

On the production machine, open Windows Explorer (explorer.exe).

Right click the drive where BOOTMGR is located (typically C:), and select Properties.

Uncheck the Compress this drive to save disk space option.

Take a new backup, and then schedule a screenshot for the new backup.

hdd properties

If you still receive the “BOOTMGR is missing” message after a new backup, manually force a differential merge for the agent. Note that this will force the agent to traverse the entirety of each volume being backed up, and it will appear to be a full backup. However, a diff-merge backup will only incur a cost of space on the storage array equal to a normal incremental and a minor amount of overhead.

If the BOOTMGR is compressed and you aren’t able to troubleshoot, contact us directly.

5 big tips to using ShadowProtect on the Datto SIRIS

$
0
0

Datto SIRIS: Using ShadowProtect and Image Manager

This article explains the installation, configuration, and using ShadowProtect and Image Manager applications.

2. Index

Overview

ShadowProtect

  1. Preparing for installation
  2. What if an application on my machine does not have its own VSS writer?
  3. Log truncation for Microsoft SQL and Exchange
  4. Installing and activating ShadowProtect
  5. Configuring ShadowProtect backup jobs
  6. Restoring files and folders with ShadowProtect

Image Manager

  1. Installing ImageManager
  2. Configuring consolidation and retention with ImageManager
  3. Verifying backup integrity

Troubleshooting

  1. Gathering ShadowProtect logs
  2. ImageManager will not run retention
  3. ShadowProtect service does not respond
  4. Manually uninstalling ShadowProtect
  5. Additional links

3. Overview

ShadowProtect is a VSS-aware backup and disaster recovery application by Storagecraft Technology Corporation. It is included with Datto’s inverse-chain “ShadowSnap” backup solution for Datto SIRIS and ALTO series units. It may also be used as a standalone backup application on Microsoft Windows operating systems to send backups to network-addressable storage hosted on a Datto G-Series device. This article covers the latter usage of the software.

More information: ShadowProtect and ShadowSnap: What’s the difference?

Since ShadowProtect is a required part of the ShadowSnap software installation, it may also be used to create a backup of a virtual machine hosted on a Datto SIRIS or ALTO series unit for use in performing a BMR (Bare Metal Restore) of the virtual machine back to its production environment with the ShadowProtect ISO.

ShadowProtect is not supported for use with SMB or iSCSI shares hosted on DattoNAS series devices. The DattoNAS series uses the snapshotting feature of Sun Microsystem’s ZFS filesystem to create backups of its hosted shares. Sending ShadowProtect backups to a DattoNAS share will rapidly fill the DattoNAS device’s storage space.

Image Manager is responsible for monitoring and performing consolidation operations on backup files generated by ShadowProtect. Using ImageManager is crucial to properly managing the growth of your ShadowProtect backup chains.

4. ShadowProtect

4.1. Preparing for Installation

Since ShadowProtect uses the Microsoft Volume Shadow Copy Service (VSS) framework on 2003/XP and newer Windows Operating Systems, it should be tested prior to installing ShadowProtect with the Microsoft VShadow utility. The VShadow utility will verify the system’s registered VSS writers are working properly by attempting to create a temporary shadow copy. If the VShadow utility cannot successfully create a temporary shadow copy, you may need to contact Microsoft for assistance with the VSS framework.

Another useful utility to run prior to installing ShadowProtect is StorageCraft’s ownShadowProtect Preinstall Check tool, which will scan a Windows system and provide a summary of recommendations for optimal performance during backups as well as a list of installed programs that may conflict with ShadowProtect.

The VSS Explained: Common Writers, Services, and Hotfixes available knowledgebase article contains a list of 3rd party programs known to conflict with ShadowProtect’s ability to properly utilize the VSS subsystem.

Since ShadowProtect accesses disks at the sector level, a disk health check with the repair option enabled (chkdsk /r) is also recommended before beginning a new ShadowProtect backup chain.

4.2. What if an application on my machine does not have its own VSS writer?

If you have an application that does not have its own VSS writer to properly freeze/thaw the application’s database in the event of a VSS-aware backup, it is highly recommended to make accommodations for that software to use its own backup utility.

Since ShadowProtect detects change at the sector level, backups run outside of ShadowProtect should not be stored on any volumes ShadowProtect is configured to back up.

4.3. Log truncation for Microsoft Exchange and SQL Server

ShadowProtect does not automatically support log truncation for Exchange 2010 or 2013 due to changes in how Exchange’s VSS writers are configured by default. If you wish to truncate logs for Exchange 2010 or 2013, contact Microsoft for assistance to configure your VSS writers to truncate Exchange logs during full copy backups.

For Exchange 2007 and earlier, the “Microsoft Exchange Writer” VSS writer must be functioning properly and enabled in the Windows registry. Exchange Circular Logging must be disabled.

For tips on configuring SQL database log truncation, please see the article below:

Best Practices for backing up SQL Databases / SQL Logs Failing to Truncate

4.4. Installing and Activating ShadowProtect

If you purchased a ShadowProtect license key directly from StorageCraft, you will need to download and install ShadowProtect from StorageCraft’s web portal. If you purchased a ShadowProtect license key from the Datto Partner Portal, you will need to download and install Datto’s MSP (Managed Service Provider) version.

ShadowProtect activation keys are specific to the Windows Server, SBS, and Desktop environments. Purchase the appropriate class of license from the Datto Partner Portal to ensure a successful activation. All Datto-issued activation keys use the same ShadowProtect installation executable.

After installing ShadowProtect, a reboot of the Windows operating system is required.

After rebooting, launch the application (StorageCraft –> ShadowProtect in the Windows Start Menu) and navigate to “Help” –> “Product Activation”:

using shadowprotect

Enter a valid license key and fill in the required fields, then confirm your entries. If activation is successful, the “License” field on the bottom left-hand corner of the screen will show “Active” (instead of “Trial”) as in the image above.

If activation is unable to complete, verify the machine ShadowProtect is being installed on can connect to activate.storagecraft.com:80. After activation, ShadowProtect will periodically contact this server on port 80 to re-verify licensing information.

4.5. Configuring ShadowProtect Backup Jobs

If you are sending ShadowProtect jobs to a network attached storage (NAS) share hosted on a Datto device, see How to Create a NAS Share on a Datto Device for instructions on creating and configuring a NAS share through the Datto device web interface.

With a destination for ShadowProtect backup files configured, start the ShadowProtect Backup Wizard by clicking the Wizards tab, then Backup:

using shadowprotect

Click Next, and select the volumes you wish to back up:

using shadowprotect

Click Next. To save backups to a NAS share, click the drop down in the next screen, and select Network Locations:

using shadowprotect

In the dialog box that pops up, enter a “Destination Name” that ShadowProtect will use to refer to your destination, the path to your NAS share, and credentials to access your share if your share is private, then click OK:

using shadowprotect

In the next screen, click the Continuous Incrementals radio button and select the days/times you wish to take backups. If “Use VSS” is checked, ShadowProtect will use VSS for all backup times selected under “Additional Incremental Backups”.

Note: Selecting “Continuous Incrementals” is necessary to avoid multiple full backups of volumes in your chain, which will cause unnecessarily high bloat and potentially fill your backup device within a very short period of time.

If you are only taking a one-time full backup for a Bare Metal Restore (BMR), select the “Now” option instead of “Continuous Incrementals”, then select “Full”. Selecting a “Full” backup job will skip the backup schedule configuration options.

using shadowprotect

In the next screen, you can configure encryption, compression, and metadata settings for your backup job as well as access advanced options, which allows you to configure throttling settings (for busy or less powerful machines) and run custom scripts during predefined stages in a ShadowProtect backup job’s execution. For more information on advanced options, please see the ShadowProtect User Guide in the Additional links section of this article.

If you configure an encrypted backup job with a password, data will not be recoverable in the event of a lost password and a new backup job with a full base image will be required.
High compression only yields between 1-2% greater compression than Standard. This method also greatly increases the CPU load and the required backup time. This method is not recommended in most circumstances.

using shadowprotect

After clicking Next, you will be given the chance to review your settings for the backup job. Check the “Execute Now” box if you wish to immediately begin the initial full base image backup, then click Finish.

You will be brought to the “Backup Jobs” tab where you can review the status and settings of the backup job. Double-clicking on the backup job will restart the Backup wizard and allow you to make adjustments to your previously-selected settings.

4.6. Restoring files and folders with ShadowProtect

There are three methods to perform a file or directory-level restoration with ShadowProtect: “Mount”, “Quick Mount”, and the “Explore Backup” wizard.

Quick Mount will mount backup images to the next available Windows mountpoint for read-only access, while Mount will mount backup images with read/write access to the next available Windows mountpoint. The “Explore Backup” wizard offers more customization than both the “Mount” and “Quick Mount” options.

ShadowProtect retains file permissions in backup images. As a result, files or folders from a backup image may not open when using Quick Mount to view an image on a different system (which lacks those permissions). To temporarily change these permissions and view the files or folders, use Mount to open the backup image as Read/Write instead. You can then use Windows Explorer to change ownership of the file or folder to access it.

The Mount and Quick Mount options are integrated into the Windows shell during the installation of ShadowProtect. To Mount or Quick Mount a backup, browse to your backup chain using Windows Explorer (explorer.exe), right-click on a ShadowProtect backup file, and click “Mount…” or “Quick Mount”:

using shadowprotect

If you are unable to properly mount the image with the Mount or Quick Mount options, start the “Explore Backup Wizard” by clicking the Explore Backup option in the expandable “Tasks” section on the left-hand side of the ShadowProtect interface:

using shadowprotect

After opening the “Explore Backup” wizard, ShadowProtect will allow you to select a backup file in your backup chain. After selecting a backup file, information about the volume stored in the backup image will be displayed:

using shadowprotect

Click Next, and ShadowProtect will display a list of all files in your backup chain with their creation times. Click on the point in time (“Creation Time”) you wish to restore from and click Next:

using shadowprotect

Next, choose a drive letter or empty NTFS folder as a mountpoint for the volume’s point-in-time backup you selected and whether or not you want the restore mounted read-only or read/write with the “Mount Backup as Read-Only” checkbox, then click Next:

using shadowprotect

Confirm your selections in the “Wizard Summary” screen, then click Finish to mount the backup to the selected mountpoint. When you are finished restoring from the mounted backup, click the “Dismount Backup Image” link in the expandable “Tasks” section on the left-hand side of the ShadowProtect interface and follow the instructions to dismount the backup image.

Changes made directly to files in a read/write-mounted ShadowProtect file restore will not be saved after unmounting the restore. Copy the files and folders you need out of the restore into the production environment.

5. ImageManager

5.1. Installing ImageManager

StorageCraft ImageManager is a utility for use with ShadowProtect backup files that performs consolidation, retention, and verification operations based on a policy that you create.

To install ImageManager, download the installer from the Datto Partner Portal, then run the executable and follow the installation instructions.

After installation is complete, launch the application (StorageCraft –> StorageCraft ImageManager in the Start menu by default). On first startup, ImageManager will ask you to create a new password:

using shadowprotect

Enter a desired password in the “New Password” and “Confirm New Password” fields, then click OK.

This password only applies to accessing the ImageManager application and does not encrypt backup files. Encryption for backup files is configured in ShadowProtect itself (see the section Configuring ShadowProtect backup jobs in this article). If you forget your ImageManager password, you can run the ImageManager Password Reset Utility from StorageCraft as an Administrator to reset your password to “password”.

To begin managing your backup files, click on the Start Managing Folder… option in the left-hand pane, then enter the network path to the folder where your backup chain is stored, a description for the folder being managed, and credentials (if your destination requires authentication) in the “Managed Folder Settings” dialog box:

using shadowprotect

After clicking Save, ImageManager will display details about the backup chain and available storage space for your backup job destination.

5.2. Configuring Consolidation and Retention with ImageManager

Consolidation refers to the number of hours, days, or months (or longer configurable period of time) before a set of ShadowProtect backup files representing a specific period of time in the backup chain is rolled up into one file.

The backup file generated by consolidation will represent the state of the machine for the newest backup out of the set of backups that were rolled up. For example, if the Weekly Consolidation setting is configured to roll up daily backups into one weekly backup on Saturday and your last backup job for the week is scheduled on Friday at 5:00 pm, a restoration of the machine from the consolidated weekly backup created on Saturday would represent the state of the machine as it was on Friday at 5:00 pm.

Examples of files created by consolidation:

D_VOL-b001-i005-cd.spi (-cd represents a Consolidated Daily file)

D_VOL-b001-i026-cw.spi (-cw represents a Consolidated Weekly file)

D_VOL-b001-i097-cm.spi (-cm represents a Consolidated Monthly file)

To set your consolidation settings in ImageManager, click Consolidation Settings… in the left-hand pane. This will open the “Consolidation Settings” dialog box:

using shadowprotect

Retention refers to the number of days ImageManager will keep an archive of files that were removed from the active backup chain due to consolidation operations.

Retention will not delete files necessary to continue a chain, even if they are older than the currently configured retention settings. Backup files must be able to be discarded with a continuous, valid chain still present to qualify for deletion.

To set your retention settings in ImageManager, click Consolidation Settings… in the left-hand pane. This will open the “Consolidation Settings” dialog box:

using shadowprotect

To modify retention settings for a particular backup chain, check “Override global agent retention settings for this managed folder”, then set your retention settings as desired.

5.3. Verifying Backup Integrity

By default ImageManager will perform verification on image files at creation time and after every 7 days. You can configure the frequency with which ImageManager verifies backups by clicking on the Verification Settings… link in the left-hand pane of the ImageManager main console.

To receive e-mail notifications for events that occur in ImageManager, including backup issues, click the Notification Settings… link in the left-hand pane of the ImageManager console, then click on the Conditions tab:

using shadowprotect

Check the boxes for the desired events, then click the Email Setup tab and enter a valid SMTP server and authentication credentials if necessary.

The “Send Test Email” option should be used after configuring the SMTP server to test the configuration.

6. Troubleshooting

6.1. Gathering ShadowProtect Logs

Datto may request logs generated by ShadowProtect and Windows to aid in troubleshooting backup issues. To gather these logs, the ShadowProtect Diagnostic tool may be employed.

The ShadowProtect diagnostic tool will gather the following information:

  1. A diagnostic file generated by the tool itself
  2. The logs generated by ShadowProtect
  3. System Information
  4. IP configuration
  5. Event Viewer logs

To run the ShadowProtect diagnostic tool, the files contained inside spdiagnostic zip must be extracted into a folder. After extraction, double-click the runsupportmode.cmd file to start the log gathering process.

If using “runsupportmode.cmd” does not start the diagnostic, you can start the diagnostic directly by running spdiagnostic.exe in the “bin” directory.

You may have to explicitly run the ShadowProtect diagnostic tool with an Administrator account depending on the Windows configuration. If the utility appears to freeze, terminate the process and right-click on the diagnostic tool executable, then select “Run as Administrator”.

After the diagnostic tool runs, the log files will be saved in the current user’s Documents folder. Newer versions of spdiagnostics (7.x and later) will place the log files in aX:\Program Files\Storagecraft\spdiagnostic folder.

The output will consist of several individual files and a spdiagnostic-(date timestamp).7zMfile.

6.3. ImageManager will not run retention

If the storage area ShadowProtect jobs are being created in is full or almost full, ImageManager may not be able to create a large enough temporary workspace on the destination to run retention operations.

If you are setting up ImageManager for a pre-existing backup chain that has never been subjected to consolidation or retention, ImageManager may require as much as 55% space free in the storage area to perform consolidation and retention operations.

If multiple ShadowProtect chains are present on a storage device approaching full capacity, you can temporarily move an entire backup chain folder to an external storage device to free up space . With space temporarily freed on the primary storage device, retention can be run on the chain still present on the primary storage device. The ShadowProtect chain which was copied onto the external storage device can then be moved back to its original location.

If ImageManager will still not run retention after freeing a significant amount of space on the destination storage device:

  1. Close ImageManager.
  2. Run services.msc to open the Windows Services management console, and stop the “ShadowProtect ImageManager” service.
  3. Navigate to X:\Program Files (x86)\StorageCraft\ImageManager and locateImageManager.mdb.
  4. Rename the ImageManager.mdb file to ImageManager.old and close the window.
  5. Restart the “ShadowProtect ImageManager” service.
  6. Re-open the Image Manager interface. This will create a new database file for ImageManager to use.

6.4. ShadowProtect service does not respond

When trying to start the ShadowProtect service, one of the following errors may be displayed:

  • “Failed to update volume information”
  • “Windows could not start the ShadowProtect Service on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to the service-specific error code -2147467259.”
  • “An attempt was made to reference a token that does not exist”
  • “Agent is incompatible with the GUI. Mininum version required is 39”

These errors are typically caused by a corrupt backuphistory.dat file or the ShadowProtect service being configured to run under an account that does not have Administrative rights.

To re-create the backuphistory.dat file, forcefully close all instances of ShadowProtect and remove the X:\Program Files\StorageCraft\ShadowProtect\Logs\backuphistory.dat file, then restart ShadowProtect.

To run ShadowProtect with a local Administrator account, open the Windows Services management console by running services.msc and right-clicking on the “ShadowProtect Service”, then selecting “Properties”. In the service configuration dialog box that pops up, click the “This account” radio button and enter credentials for a Windows local Administrator account:

using shadowprotect

After filling in the credentials for a local Administrator account, click OK, and restart the service.

6.5. Manual Uninstall of ShadowProtect

If ShadowProtect’s uninstaller does not function properly due to environmental reasons, ShadowProtect can be removed manually.

In order to complete a manual uninstallation, do the following:

    1. Unregistering the StorageCraft ShadowCopy Provider*
    2. Unregistering the ImageReady software
    3. Unregistering the ShadowProtect Service Agent
    4. Unregistering the StorageCraft Image Mount Tools
    5. Unregistering the ShadowProtect snapshot driver (PnP & non-PnP variants)*
    6. Unregistering the ShadowProtect Mount Shell Extension
    7. Clearing “Add/Remove Programs”/Install Folders/Start Menu Shortcuts

* Steps 1 and 5 require two utilities ShadowProtect uses to uninstall the Shadow Copy Provider and PnP Snapshot driver. These files are included with every install of ShadowProtect. However, if the core of the application has already been removed, these utilities may have been erased as well. In that case, use the link below to download the utilities:

ShadowProtect Uninstall Tools (contains stcinst.exe and vssins64.exe)

Export a copy of the Windows registry before making the modifications below.

Step 1. Unregistering the StorageCraft ShadowCopy Provider

For 32-bit OS platforms:

  1. Open a command prompt as an Administrator and navigate to the ShadowProtect install directory (typically X:\Program Files\StorageCraft\ShadowProtect).
  2. Type net stop vsnapvss and press Enter.
  3. Type vsnapvss.exe /unregister and press Enter.

For 64-bit OS platforms:

  1. Open a command prompt as an Administrator and navigate to the ShadowProtect install directory (typically X:\Program Files (x86)\StorageCraft\ShadowProtect).
  2. For ShadowProtect 4.x and older, type vssins64.exe -u and press Enter. If this command does not run, you may have to manually copy vssins64.exe from theShadowProtect Uninstall Tools download into theX:\Program Files (x86)\StorageCraft\ShadowProtect directory. For ShadowProtect 5.x and newer, skip to step 3.
  3. Type sbvss64.exe /unregserver and press Enter
  4. Type vsnapvss.exe /unregister and press Enter

using shadowprotect

Step 2: Unregistering the ImageReady software (only for ShadowProtect 5.x or newer)

  1. Open a command prompt with administrative privileges and navigate to the ShadowProtect install directory (typicallyX:\Program Files (x86)\StorageCraft\ShadowProtect).
  2. Type net stop StorageCraft ImageReady and press Enter.
  3. Open the Windows registry editor (regedit.exe) and navigate toHKLM\SYSTEM\CurrentControlSet\services\StorageCraft ImageReadyusing shadowprotect
  4. Add a REG_DWORD value named DeleteFlag with a value of 1 in the key.
  5. Edit the Start value and change the value to 4 (disable the service).
  6. Once the system is rebooted ImageReady will be uninstalled completely.

Step 3: Unregistering the ShadowProtect Service Agent

  1. Open a command prompt with administrative privileges and navigate to the ShadowProtect install directory (typicallyX:\Program Files (x86)\StorageCraft\ShadowProtect).
  2. Type ShadowProtectSvc.exe -UnregServer

Step 4: Unregistering the StorageCraft Image Mount Tools

  1. Open a command prompt with administrative privileges and navigate to the ShadowProtect install directory (typicallyX:\Program Files (x86)\StorageCraft\ShadowProtect).
  2. Type regsvr32 /u sbimgmnt.dll and press Enter.
  3. Open the Windows registry editor (regedit.exe) and navigate toHKLM\SYSTEM\CurrentControlSet\services\sbmount.
  4. Add a REG_DMWORD value name DeleteFlag with a value of 1.
  5. Edit the Start value and change the value to 4 (disables the driver). using shadowprotect
  6. Once the system is rebooted the mount tools and drivers will be uninstalled completely.
  7. Open the Windows registry editor (regedit.exe) and remove theHKEY_CLASSES_ROOT\.SPF and HKEY_CLASSES_ROOT\.SPI registry key.

Step 5: Unregistering the ShadowProtect Snapshot Driver

For Windows Vista/7/2008 or newer OSs:

  1. Open a command prompt with administrative privileges and navigate to the ShadowProtect install directory (typicallyX:\Program Files (x86)\StorageCraft\ShadowProtect).
  2. Type stcinst.exe -u and press Enter. If this command does not run, you may have to manually copy stcinst.exe from the “32bit” or “64bit” folder (depending on your OS version) from the ShadowProtect Uninstall Tools download into yourX:\Program Files (x86)\StorageCraft\ShadowProtect directory, then runstcinst.exe -u.
  3. Reboot the system.

For Windows XP/2003 and older:

  1. Open the Windows registry editor (regedit.exe) and navigate toHKLM\SYSTEM\CurrentControlSet\services\stcvsm.
  2. Add a REG_DWORD value named DeleteFlag with a value of 1.
  3. Edit the “Start” value and change the value to 4 (disables the driver).
  4. Reboot the system
  5. Open the Windows registry editor (regedit.exe) and remove theHKLM\SYSTEM\CurrentControlSet\services\eventlog\System\stcvsm registry key.

Step 6: Unregister the ShadowProtect Mount Shell Extension

  1. Open a command prompt with administrative privileges and navigate to the ShadowProtect install directory (typicallyX:\Program Files\StorageCraft\ShadowProtect).
  2. Type regsvr32 /u sbimgmnt.dll and press Enter.

Step 7: Clearing “Add/Remove Programs”/Install Folders/Start Menu Shortcuts

For 32-bit OS platforms:

  1. Open the Windows registry editor (regedit.exe) and remove theHKLM\SYSTEM\CurrentControlSet\Control\Class\{0A2D3D86-E1F2-4165-AB5C\E63D32C0BDE}registry key.
  2. Open the Windows registry editor (regedit.exe) and remove theHKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ShadowProtect registry key.
  3. Delete the X:\Program Files\StorageCraft\ShadowProtect folder.
  4. Reboot the system.

For 64-bit OS platforms:

  1. Open the Windows registry editor (regedit.exe) and remove theHKLM\SYSTEM\CurrentControlSet\Control\Class\{0A2D3D86-E1F2-4165-AB5C\E63D32C0BDE}registry key.
  2. Open the Windows registry editor (regedit.exe) and remove theHKLM\SOFTWARE\Wow6432Node\Microsoft\CurrentVersion\Uninstall\ShadowProtect andHKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{26F74578-1285-4C09-80C0-29106C357BFD}registry keys.
  3. Delete the X:\Program Files (x86)\StorageCraft\ShadowProtect folder.
  4. Reboot the system.

For 32-bit and 64-bit OS platforms:

  1. Verify ShadowProtect does not exist in the “Add/Remove Programs” or “Programs and Features” section of the Control Panel (appwiz.cpl). If a ShadowProtect entry does exist, select it and then click “Uninstall”. If a dialog box appears stating that the application has already been removed and asking if you want to remove it from the list, choose to remove it from the list.
  2. Open the Start Menu and select the “All Programs” option.
  3. Scroll down and right-click the StorageCraft folder, then select “Delete”.

7. Additional Links

The following links to StorageCraft’s website contain additional information regarding ShadowProtect and ImageManager:

Links from this KB article:

Viewing all 10 articles
Browse latest View live