Restore Windows file system backups
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.
What you will need
-
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.
Steps
-
In the left navigation pane, click Resources, and then select the appropriate plug-in from the list.
-
To filter the list of resources, select the File System and Resource Group options.
-
Select a resource group from the list, and then click Restore.
-
In the Backups page, select whether you want to restore from primary or secondary storage systems, and then select a backup to restore.
-
Select your options in the Restore wizard.
-
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.
The prescripts or postscripts path should not include drives or shares. The path should be relative to the SCRIPTS_PATH. -
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.
-
Review the summary, and then click Finish.
-
Monitor the operation progress by clicking Monitor > Jobs.
|
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. |