Skip to main content
SnapManager for SAP

Order of performing operations

Contributors

SnapManager enables you to perform various operations such as creating profiles, performing backups, and cloning backups. These operations must be performed in a specific order.

Steps
  1. Create a profile on an existing repository by using the smsap profile create command.

    Note The Oracle user specified for the target database must have sysdba privileges.

    Example

    The following example shows the command to create a profile:

    smsap profile create -profile prof1 -profile-password prof1cred
    -repository -dbname HR1 -login -username admin -host server1 -port 1527
    -database -dbname SID -host db_server1 -port 1527
  2. Create a backup on an existing profile by using the smsap backup create command.

    Example

    The following example shows the command to create a backup:

    smsap backup create -profile prof1 -full -offline -label full_backup_prof1 -force
  3. Restore and recover a database backup on primary storage by using the smsap backup restore command.

    Example

    The following example shows the command to restore a backup:

    smsap backup restore -profile prof1 -label full_backup_prof1
    -complete -recover -alllogs
  4. Create a clone specification by using the smsap clone template command.

    You can use the Clone wizard in the graphical user interface (GUI) to create a template clone specification. You can also create the clone specification file by using a text editor.

  5. Clone a database with an existing backup by using the smsap clone create command.

    You must have an existing clone specification or create a clone specification to specify the storage and database specifications for the clone.

    Example

    The following example shows the command to create a clone:

    smsap clone create -profile prof1 -backup-label full_backup_prof1
    -newsid clone1 -label prof1_clone -clonespec C:\\clone_spec\\prof1_clonespec.xml