Skip to main content
SnapCenter Software 6.0

Restore Unix file systems

Contributors netapp-soumikd

In the event of data loss, you can use SnapCenter to restore Unix file systems.

About this task

  • You should execute the following commands to establish the connection with the SnapCenter Server, list the backups and retrieve its information, and restore the backup.

    The information regarding the parameters that can be used with the command and their descriptions can be obtained by running Get-Help command_name. Alternatively, you can also refer to the SnapCenter Software Command Reference Guide.

  • For SnapMirror active sync restore operation, you must select the backup from the primary location.

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

  2. In the Resources page, select either Path or Resource Group from the View list.

  3. Select the file system from either the details view or the resource group details view.

    The topology page is displayed.

  4. From the Manage Copies view, select Backups from either the primary or the secondary (mirrored or replicated) storage systems.

  5. Select the backup from the table, and then click restore icon.

  6. In the Restore Scope page:

    • For NFS file systems, by default Connect and Copy restore is selected. You can also select Volume Revert or Fast Restore.

    • For non NFS file systems, the restore scope is selected depending on the layout.

      The new files created after backup may not be available after restore depending on the file system type and layout.

  7. In the PreOps page, enter pre restore commands to run before performing a restore job.

  8. In the PostOps page, enter post restore commands to run after performing a restore job.

    Note You should check if the commands exist in the command list available on the plug-in host at location /opt/NetApp/snapcenter/scc/etc/allowed_commands.config path.
  9. In the Notification page, from the Email preference drop-down list, select the scenarios in which you want to send the email notifications.

    You must also specify the sender and receiver email addresses, and the subject of the email. If you want to attach the report of the restore operation performed, you must select Attach Job Report.

    Note For email notification, you must have specified the SMTP server details by using the either the GUI or the PowerShell command Set-SmSmtpServer.
  10. Review the summary, and then click Finish.

    Important If restore operation fails, rollback is not supported.
    Note In case of restore of a filesystem residing on volume group, the old contents on the filesystem are not deleted. Only the content from the cloned filesystem will be copied to the source filesystem. This is applicable when there are multiple filesystems on the volume group and default NFS filesystem restores.
  11. Monitor the operation progress by clicking Monitor > Jobs.