Skip to main content
SnapCenter Software 5.0

Clone Unix file system backup

Contributors netapp-soumikd

You can use SnapCenter to clone Unix file system using the backup of the filesystem.

Before you begin
  • You can skip the fstab file update by setting the value of SKIP_FSTAB_UPDATE to true in the agent.properties file located at /opt/NetApp/snapcenter/scc/etc.

  • You can have a static clone volume name and junction path by setting the value of USE_CUSTOM_CLONE_VOLUME_NAME_FORMAT to true in the agent.properties file located at /opt/NetApp/snapcenter/scc/etc. After updating the file, you should restart the SnapCenter for custom plug-in service by running the command: /opt/NetApp/snapcenter/scc/bin/scc restart.

    Example: Without this property the clone volume name and junction path will be like <Source_volume_name>_Clone_<Timestamp> but now it will be <Source_volume_name>_Clone_<Clone_Name>

    This keeps the name constant so that you can manually keep the fstab file updated if you do not prefer to update the fstab by SnapCenter.

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 the backups either from Local copies (primary), Mirror copies (secondary), or Vault copies (secondary).

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

  6. In the Location page, perform the following actions:

    For this field…​ Do this…​

    Clone server

    By default, the source host is populated.

    Clone mount point

    Specify the path where the file system will be mounted.

  7. In the Scripts page, perform the following steps:

    1. Enter the commands for pre clone or post clone that should be run before or after the clone operation, respectively.

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

    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 clone operation performed, select Attach Job Report.

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

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