File System Backups with Oracle Secure Backup and StorageTek Tape Systems

Version 1

    by Dean Halbeisen

     

    This article is intended to be a click-by-click walk-through illustrating how to get started with file system backups using Oracle Secure Backup and Oracle's StorageTek tape systems with Oracle Enterprise Manager Cloud Control 13c.

     

    Table of Contents

     

    Introduction

     

    This article starts at the point where the initial system and application installation have been completed. The following steps must be completed before this process can begin:

     

    • The system (such as Oracle MiniCluster) must be installed and configured.
    • Oracle Secure Backup must be installed and configured with disk pools and tape storage.
    • Oracle Enterprise Manager 13c host agents must be installed on each system.
    • The Oracle Secure Backup plugin for Oracle Enterprise Manager 13c must be promoted on the Oracle Secure Backup administration server in the Oracle Secure Backup domain.

     

    Walk-Through: Getting Started with File System Backup and Recovery

     

    The following sections illustrate how to schedule a backup job, monitor backups, and perform file system recovery.

     

    Schedule a Backup Job

     

    The following steps use the Oracle Enterprise Manager Cloud Control GUI to submit a file system backup job.

     

    1. Select Targets > All Targets.

      f1.png

      Figure 1.Select the target devices.

       

    2. Select Databases > Oracle Secure Backup Domain.

      f2.png

      Figure 2. Select the Oracle Secure Backup domain.

       

    3. Click a target to open the home page for that target. This example selects OOS-SRVR-01.HOL.COM.

      f3.png

      Figure 3. Open the Oracle Secure Backup target's home page.

       

    4. Select Manage > File System Backup/Restore > Schedule Backup.

      f4.png

      Figure 4. Select the option to schedule a backup.

       

    5. Enter credentials for the Oracle Secure Backup domain (likely saved for you from the setup) and then click OK.

      f5.png

      Figure 5. Enter credentials for the Oracle Secure Backup domain.

       

    6. Select the option to select hosts and directory information, and then click Next.

      f6.png

      Figure 6. Select the backup mode.

       

    7. Select the files and directories for backup. In this example, host OOS-SVRV-01 and file system /var/tmp are specified. Click Next to continue.

      f7.png

      Figure 7. Select the host, files, and directories for backup.

       

    8. Review the backup job options, and then click Next to continue. Default values are used in this example to create a full backup.

      f8.png

      Figure 8. Review the backup job options.

       

    9. Review the backup job devices, and then click Next to continue with the defaults.

      f9.png

      Figure 9. Review the backup job devices.

       

    10. Review the scheduling options, and then click Next to continue with the defaults.

      f10.png

      Figure 10. Review the scheduling options.

       

    11. Review the backup job details, and then click Submit Job.

      f11.png

      Figure 11. Review the backup job details.

       

    12. A status message is displayed. Click View Job to display more information.

      f12.png

      Figure 12. View job details.

       

    13. Review the detailed job information.


      f13.png

      Figure 13. View detailed job information.

       

    Explore Live Monitoring Capabilities

     

    The following steps explore the live monitoring capabilities of Oracle Enterprise Manager Cloud Control.

     

    1. Exit the job details screen and use the Recent Target List to go back to the Oracle Secure Backup domain.
    2. Select Manage > File System Backup/Restore > Backup Reports to view backup reports.

      f14.png

      Figure 14. View backup reports.

       

    3. Click the Browse Backup button to browse the most recent backup.

      f15.png

      Figure 15. Browse recent backups.

       

    4. Click the /var directory to browse files and directories in the backup.

      f16.png

      Figure 16. Browse contents of the backup.

       

    5. Continue to browse the contents of the backup by clicking the /tmp directory. Files in this directory are displayed.

      f17.png

      Figure 17. Continue to browse contents of the backup.

       

    6. Use the Favorites or Recent buttons to return to the Targets home screen.

      f18.png

      Figure 18. Return to the Targets home screen.

       

    Perform File Recovery

     

    The following steps use the Oracle Enterprise Manager Cloud Control GUI to simulate a lost-file scenario and perform file recovery.

     

    1. To simulate a lost-file recovery scenario, first manually delete some files.

      a. Connect to the machine with SSH:

      # ssh oracle@192.168.56.13 
      . . .
      root@OOS-SRVR-01:~# cd /var/tmp

      b. Delete some directories:

      root@OOS-SRVR-01:/var/tmp# rm -rf OraIn* 
      root@OOS-SRVR-01:/var/tmp#
    2. Now, restore the deleted files. First, select Manage > File System Backup/Restore > Perform Restore.

      f19.png

      Figure 19. Start a file restore operation.

       

    3. Select the option to select specific files to restore, and then click Next.

      f20.png

      Figure 20. Select the option to restore specific files.

       

    4. On the Select Backup Period screen, enter a host name (this example uses OOS-SRVR-01), leave the default backup period set to most recent, and click Next to continue.

      f21.png

      Figure 21. Select the host name and backup period to use for the restore operation.

       

    5. On the Select Files screen, select the /var/tmp/Ora* files that were manually deleted at the start of this scenario.

      a. On the left pane (Contents of the Backup) select the /var/tmp directory, specify Ora* as the filter, and click the Add button (located near the bottom of the screen; not visible in Figure 22).

      b. Then on the right pane (Files/Directories for Restore) click Select All, and then click Next to continue.

      f22.png

      Figure 22. Browse the contents of the backup and select files to restore.

       

    6. On the Destinations Options screen, review the information and then click Next to continue.

      f23.png

      Figure 23. Review the restore destination options.

       

    7. On the Restore Options screen, review the information and click Next to continue.

      f24.png

      Figure 24. Review the restore options.

       

    8. On the Locations Preview screen, review the information and click Next to continue.

      f25.png

      Figure 25. Review the locations preview information.

       

    9. Review the scheduling options and click Next to continue.

      f26.png

      Figure 26. Review the scheduling options.

       

    10. Review the summary information and click Submit Job to continue.

      f27.png

      Figure 27. Review the summary information and submit the job to start the restore operation.

       

    11. Status information is displayed. Click View Job to monitor the restore process.

      f28.png

      Figure 28. Monitor the restore process.

       

    12. Explore live monitoring capabilities. Use quick link buttons (top bar of the dashboard) to exit.

      f29.png

      Figure 29. Explore the live monitoring capabilities.

       

    See Also

     

    For more information, please see the following resources:

     

     

    About the Author

     

    Dean Halbeisen is a solutions manager at Oracle. He has over 20 years of IT experience and is an expert in enterprise computing solutions, most recently applying these practices to next-generation data center solutions, integrated systems, and Oracle engineered systems. In his current role, Dean is responsible for solution architecture and development around Oracle Optimized Solutions, including communicating about Oracle's systems, solutions, technology strategies, and roadmaps to customers, partners, and internal stakeholders.