Skip to main content
SnapCenter Software 5.0

Restore Windows file system backups

Contributors netapp-nsriram netapp-asubhas

You can use SnapCenter to restore file system backups. File system restoration is a multiphase process that copies all the data from a specified backup to the original location of the file system.

Before you begin
  • You must have backed up the file system.

  • If a scheduled operation, such as a backup operation, is currently in progress for a file system, then that operation must be cancelled before you can start a restore operation.

  • You can only restore a file system backup to the original location, not to an alternate path.

    You cannot restore a single file from a backup because the restored file system overwrites any data on the original location of the file system. To restore a single file from a file system backup, you must clone the backup and access the file in the clone.

  • You cannot restore a system or boot volume.

  • SnapCenter can restore file systems in a Windows cluster without taking the cluster group offline.

About this task
  • The SCRIPTS_PATH is defined using the PredefinedWindowsScriptsDirectory key located in the SMCoreServiceHost.exe.Config file of the plug-in host.

    If needed, you can change this path and restart SMcore service. It is recommended that you use the default path for security.

    The value of the key can be displayed from swagger through the API: API /4.7/configsettings

    You can use the GET API to display the value of the key. SET API is not supported.

  • For SnapMirror Business Continuity (SM-BC) restore operation, you must select the backup from the primary location.

  • For ONTAP 9.12.1 and below version, the clones created from the SnapLock Vault Snapshots as part of restore will inherit the SnapLock Vault expiry time. Storage admin should manually cleanup the clones post the SnapLock expiry time.

  1. In the left navigation pane, click Resources, and then select the appropriate plug-in from the list.

  2. To filter the list of resources, select the File System and Resource Group options.

  3. Select a resource group from the list, and then click Restore.

  4. In the Backups page, select whether you want to restore from primary or secondary storage systems, and then select a backup to restore.

  5. Select your options in the Restore wizard.

  6. You can enter the path and the arguments of the prescript or postscript that you want SnapCenter to run before or after the restore operation, respectively.

    For example, you can run a script to update SNMP traps, automate alerts, send logs, and so on.

    Note The prescripts or postscripts path should not include drives or shares. The path should be relative to the SCRIPTS_PATH.
  7. In the Notification page, select one of the following options:

    For this field…​ Do this…​

    Log SnapCenter server events to storage system syslog

    Select this option to log SnapCenter Server events to the syslog of the storage system.

    Send AutoSupport notification for failed operations to storage system

    Select this option to send information about any failed operations to NetApp using AutoSupport.

    Email preference

    Select Always, On Failure, or On failure or warning to send email messages to recipients after restoring backups. Enter the SMTP server, default email subject line, and To and From email addresses.

  8. Review the summary, and then click Finish.

  9. Monitor the operation progress by clicking Monitor > Jobs.

Important If the restored file system contains a database, then you must also restore the database. If you do not restore the database, then your database might be in an invalid state. For information on restoring databases, see the Data Protection Guide for that database.