Oracle WebCenter Sites. Backup and Recovery Guide 11g Release 1 (11.1.1)



Similar documents
Oracle Cloud E

Oracle Enterprise Manager

Oracle Cloud E

Oracle Fusion Middleware. 1 Oracle Identity Management Templates

Oracle Enterprise Manager

New Features in Primavera Contract Management 14.1

Oracle Retail MICROS Stores2 Functional Document Tax Free - Manual Receipt Number Assignment Release September 2015

Oracle Retail MICROS Stores2 Functional Document Sales - Reasons Release September 2015

IBM WebSphere Portal Reference Guide Release 9.2

Review Employee Leave Balances

StorageTek Library Attach for Window Servers

Oracle Cloud. Creating a Business Intelligence Cloud Extract E

Oracle Retail MICROS Stores2 Functional Document General - License Control Release September 2015

Vendor Performance Summary Report

Oracle Audit Vault Administrator s Guide Oracle Audit Vault Auditor s Guide Oracle Enterprise Manager Cloud Control Administrator s Guide

Oracle Communications Network Charging and Control. Release: 4.4

Reviewing Employee History

About Contract Management

Oracle Business Intelligence Publisher. 1 Oracle Business Intelligence Publisher Certification. Certification Information 10g Release 3 (

Revenue/Expenses Balance by Fund

Oracle WebCenter Content Service for Microsoft Exchange

NetFlow Collection and Processing Cartridge Pack User Guide Release 6.0

Oracle Cloud E

Introduction to Virtual Datacenter

Oracle Virtual Desktop Client for ipad. User Guide for Version 1.0

COPYRIGHT & TRADEMARKS

Oracle Enterprise Manager


Third Party System Management Integration Solution

Oracle Cloud E

1 Changes in this release

Oracle Retail MICROS Stores2 Functional Document Customers - Online Centralized Customer Management Release September 2015

Approve or Reject Purchase Requistions, Contracts, and Purchase Orders

Oracle Banking Digital Experience

Oracle Enterprise Manager. Introduction to the Oracle Virtual Networking Plug-in. Requirements. Supported Versions

Oracle Virtual Desktop Client. Release Notes for Release 3.2

Oracle Hospitality Payment Gateway Services Release Notes Release Part Number: E January 2016

Bank Account Numbers for ACH Payments

New Features in Primavera P6 Professional 15.1

JD Edwards EnterpriseOne Tools. 1 Understanding JD Edwards EnterpriseOne Business Intelligence Integration. 1.1 Oracle Business Intelligence

PeopleSoft Enterprise FSCM 9.1 Mobile Inventory Management Hardware and Software Requirements

Oracle Utilities Meter Data Management Business Intelligence

Oracle Banking Digital Experience

Oracle Enterprise Manager Ops Center. Introduction. Tuning Monitoring Rules and Policies 12c Release 1 ( )

Application Interface Services Server for Mobile Enterprise Applications Configuration Guide Tools Release 9.2

Siebel Application Deployment Manager Guide. Siebel Innovation Pack 2013 Version 8.1/8.2 September 2013

Oracle VM. Paravirtual Drivers Installation Guide for Microsoft Windows for Release E May 2012

Oracle Virtual Desktop Client. Release Notes for Version 3.0

JD Edwards World. Database Audit Manager Release A9.3 E

Oracle Secure Payment Gateway for HIS Profit Series SQL Server Upgrade Procedures. May 2016

Oracle Virtual Desktop Client for Android. Release Notes for Release 1.2

Oracle Banking Current Accounts and Savings Accounts

Customer Order Portal Created on 9/24/ :45 PM

Oracle Hospitality OPERA Cloud Services Security Guide Release 1.20 Part Number: E April 2016

Reference Process Models User's Guide for Oracle Application Integration Architecture Foundation Pack 11g Release 1 ( )

Oracle Retail Customer Engagement Cloud Service (Relate) Release Notes Release March 2015

PeopleSoft Customer Relationship Management 9.1 Hardware and Software Requirements Guide

Note : It may be possible to run Test or Development instances on 32-bit systems with less memory.

Crystal Access Guide HCM 9.1 All Sites

Oracle CRM On Demand Connected Mobile Sales Administration Guide. Version March 2012

Hardware and Software Requirements

Oracle Field Service Cloud SmartCollaboration Administration Panel. Release 4.5

Oracle Fusion Transactional Business Intelligence

Oracle Virtual Desktop Infrastructure. VDI Demo (Microsoft Remote Desktop Services) for Version 3.2

Oracle FLEXCUBE Direct Banking Release Help Desk User Manual. Part No. E

Oracle Fusion Middleware

Oracle Fusion Middleware

Oracle Utilities Mobile Workforce Management Business Intelligence

Oracle WebLogic Server

Oracle Enterprise Manager

Integrating Oracle Sales Cloud, Release 9 with JD Edwards EnterpriseOne release 9.1 Implementation Guide

Siebel Correspondence, Proposals, and Presentations Guide. Siebel Innovation Pack 2013 Version 8.1/8.2 September 2013

Functional Enhancements

PeopleSoft Financials/Supply Chain Management 9.1 FP2 Hardware and Software Requirements

Pre-Installation Instructions

Copyright

Oracle Enterprise Single Sign-on Logon Manager How-To: Configuring ESSO-LM Event Logging with Microsoft SQL Server 2005 Release

Viewing Paycheck Information Online - LSU Health New Orleans - On Campus

Oracle Order to Activate Integration Pack for Siebel CRM and Oracle Communications Order and Service Management

1 What Are Web Services?

Viewing Paycheck Information Online - LSUSH Off Campus

Siebel Installation Guide for Microsoft Windows. Siebel Innovation Pack 2013 Version 8.1/8.2, Rev. A April 2014

Oracle Fusion Middleware. 1 Oracle Team Productivity Center Server System Requirements. 2 Installing the Oracle Team Productivity Center Server

Required Ports and Protocols. Communication Direction Protocol and Port Purpose Enterprise Controller Port 443, then Port Port 8005

P R O V I S I O N I N G O R A C L E H Y P E R I O N F I N A N C I A L M A N A G E M E N T

Oracle Banking Digital Experience

Scheduler JAVA JOB Creation Oracle FLEXCUBE Investor Servicing Release [September] [2014]

Oracle Fusion Middleware

NEW FEATURES ORACLE ESSBASE STUDIO

PeopleSoft Enterprise Campus Solutions 9.0 Enrollment Web Services

How To Customize An Orgsync App On Anorus Mobile Security Suite On A Microsoft Ipad Oracle 2.5 (Ios) On A Pc Orca 2.2 (Iphone) On An Android Orca2 (Ip

Oracle Retail Clearance Optimization Engine. Overview. About Patch Releases. Release Notes Release

Oracle Enterprise Manager. Description. Versions Supported

Oracle Enterprise Manager. Description. Versions Supported. Prerequisites

Oracle Human Capital Management Cloud Securing Oracle HCM Cloud. Release 10

PeopleSoft Financials/Supply Chain Management 9.2 Hardware/Software Requirements Installation (through update Image 5)

ORACLE USER PRODUCTIVITY KIT USAGE TRACKING ADMINISTRATION & REPORTING RELEASE 3.6 PART NO. E

Oracle Communications Network Charging and Control. Session Initiation Protocol (SIP) Protocol Implementation Conformance Statement Release 5.0.

Oracle Database. How To Get Started. April g Release 2 (10.2) for or IBM z/os (OS/390) B

Oracle Java Micro Edition Software Development Kit

Transcription:

Oracle WebCenter Sites Backup and Recovery Guide 11g Release 1 (11.1.1) April 2012

Oracle WebCenter Sites Backup and Recovery Guide, 11g Release 1 (11.1.1) Copyright 2012 Oracle and/or its affiliates. All rights reserved. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle America, Inc., 500 Oracle Parkway, Redwood City, CA 94065. This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group. This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.

3 Table of Contents About This Guide................................................5 Audience............................................................... 5 Conventions............................................................ 5 Third-Party Libraries.....................................................5 Backup and Recovery............................................... 7 Prerequisites............................................................. 8 Backup and Recovery Procedures............................................ 8 WebCenter Sites Installation Directory.................................... 8 Shared Directory..................................................... 9 Web Application.................................................... 10 WebCenter Sites Database............................................. 12 LDAP............................................................. 15 Running the Recovered Application......................................... 15

Table of Contents 4

5 About This Guide Audience This document contains a set of guidelines and procedures for backing up Oracle WebCenter Sites components. It does not contain information regarding the backup of application server and database server settings or customizations. The Oracle WebCenter Sites application, discussed in this document, is a former FatWire product. Oracle WebCenter Sites is the current name of the application previously known as FatWire Content Server. In this guide, Oracle WebCenter Sites is also called WebCenter Sites. This document is written for installation and system engineers with experience installing WebCenter Sites. Users of this document should have a comprehensive knowledge of backing up and recovering web applications, such as WebSphere, Tomcat, and WebLogic. Users should also have experience installing the WebCenter Sites application and should be familiar with backing up and recovering database servers. Conventions The following text conventions are used in this guide: Boldface type indicates graphical user interface elements that you select. Italic type indicates book titles, emphasis, or variables for which you supply particular values. Monospace type indicates file names, URLs, sample code, or text that appears on the screen. Monospace bold type indicates a command. Third-Party Libraries Oracle WebCenter Sites and its applications include third-party libraries. For additional information, see Oracle WebCenter Sites 11gR1: Third-Party Licenses.

About This Guide 6

7 Backup and Recovery This document contains the following sections: Prerequisites Backup and Recovery Procedures Running the Recovered Application

Prerequisites WebCenter Sites Installation Directory 8 Prerequisites Before backing up any part of WebCenter Sites, it is best to shut down the application server. If you must make a live backup of WebCenter Sites, ensure the site is not in use and no requests are being made to the application server. Before recovering any part of WebCenter Sites, ensure the application server is shut down. Backup and Recovery Procedures WebCenter Sites Installation Directory Shared Directory Web Application WebCenter Sites Database WebCenter Sites Database (excluding statistics) LDAP WebCenter Sites Installation Directory Backup Jar or tar the WebCenter Sites installation directory. For example: tar cvf ContentServer_backup.tar /u01/cs/install jar cvf ContentServer_backup.jar /u01/cs/install Recovery Unjar or untar the backed up WebCenter Sites installation directory. For example: tar xvf ContentServer_backup.tar jar xvf ContentServer_backup.jar

Backup and Recovery Procedures Shared Directory 9 Shared Directory Backup Note Backing up the Shared directory is unnecessary if it is located in the WebCenter Sites installation directory, and the installation directory was backed up. To back up the Shared directory, jar or tar the directory. For example: tar cvf Shared_backup.tar /u01/cs/shared jar cvf Shared_backup.jar /u01/cs/shared Recovery Note Recovering the Shared directory is unnecessary if it is located in the WebCenter Sites installation directory, and the installation directory was recovered. To recover the Shared directory, unjar or untar the backed up Shared directory and use it to replace the existing one. For example: tar xvf Shared_backup.tar jar xvf Shared_backup.jar

Backup and Recovery Procedures Web Application 10 Web Application Table 1 summarizes which types of files in a WebCenter Sites web application must be backed up and recovered. Table 1: Backup and Recovery Information for.war and.ear files.war /.ear Deployment Method Backup Recovery Non-Exploded. For WebCenter Sites on WebSphere Exploded. For WebCenter Sites on: Tomcat WebLogic Unnecessary if the WebCenter Sites installation directory is backed up. (The.war and.ear files are contained in the WebCenter Sites installation directory: <cs_install_dir>/ ominstallinfo/app/) No development changes to the files. a Backup is unnecessary if: The files have not been changed during development, - and - the WebCenter Sites installation directory is backed up. (The.war and.ear files are contained in the WebCenter Sites installation directory: <cs_install_dir>/ ominstallinfo/app/) With development changes to the files. a Backup is required. Refer to the steps on page 11. Refer to the steps on page 11. Refer to the steps on page 11. Refer to the steps on page 12. a. The term development changes denotes changes to content, the data model, template code, publishing destinations, and so on.

Backup and Recovery Procedures Web Application 11 Non-Exploded Files Backup See Table 1, on page 10. Recovery 1. Undeploy the WebCenter Sites application. 2. Recover the WebCenter Sites installation directory (for instructions, see page 8). 3. Redeploy the WebCenter Sites application. Exploded Files Backup To back up exploded files with no development changes See Table 1, on page 10. To back up exploded files with development changes Jar or tar the deployed WebCenter Sites web application. Label the backup to distinguish it from the compressed cs.war file. For example: tar -cvf cs_web_backup.tar /u01/software/tomcat/webapps/cs jar cvf cs_web_backup.jar /u01/software/tomcat/webapps/cs Recovery To recover exploded files with no development changes 1. Stop the application server. 2. Delete the exploded web application. For example: rm -rf /u01/software/tomcat/webapps/cs/* 3. Recover the WebCenter Sites installation directory (for instructions, see page 8). 4. Unjar the backed up WebCenter Sites web application: For example: cd /u01/software/tomcat/webapps/cs jar xvf <cs_install_dir>/ominstallinfo/app/cs.war

Backup and Recovery Procedures WebCenter Sites Database 12 To recover exploded files with development changes 1. Stop the application server. 2. Delete the exploded web application. rm -rf /u01/software/tomcat/webapps/cs 3. Unjar or untar the backed up WebCenter Sites web application: cd /u01/software/tomcat/webapps tar -xvf <path to backup directory>/cs_web_backup.tar WebCenter Sites Database Backup SQL Server Oracle 11g DB2 9.7 SQL Server To back up SQL 2005/2008/2008R2 1. Open SQL Server Management Studio. 2. Connect to the database server. 3. Expand Databases. 4. Right-click on the database to be backed up. Click Tasks > Backup. 5. Under Backup type, select Full. Under Destination, click Add. 6. Enter the path and file name for the backup file. Click OK. 7. Under Destination, select the newly created backup location. 8. Click OK.

Backup and Recovery Procedures WebCenter Sites Database 13 Oracle 11g To back up Oracle 11g 1. Log in to the server as the oracle user. 2. Set ORACLE_HOME to the oracle database directory and ORACLE_SID to the database name. 3. Login to sqlplus as sys. Then, do the following: a. Use the create directory sql to map to the OS directory, where the exports will be stored. For example: SQL> create directorty exp_dp_dir as /u01/backup/exports ; b. Grant permissions for database export and directory access. For example: SQL> grant read,write on directory exp_dp_dir to system; SQL> grant EXP_FULL_DATABASE to system 4. Run the expdp command to start exporting. For example: expdp system/<password> DIRECTORY=exp_dp_dir DUMPFILE=<file_name>.dmp FULL=y SCHEMA=<YOUR_SCHEMA>; DB2 9.7 To back up DB2 9.7 1. Log in to the server as the db2inst user. 2. Run the following command: db2 force applications all 3. Run the following command: db2 backup db <db_name> to <backup_dir> Note After the command has completed, note the timestamp. This timestamp will be included in the name of the database backup file.

Backup and Recovery Procedures WebCenter Sites Database 14 Recovery SQL Server Oracle 11g DB2 V9.7 SQL Server To recover SQL 2005/2008/2008R2 1. Open SQL Server Management Studio. 2. Expand Databases. 3. Right-click on the database to be restored. Select Tasks > Restore > Database. 4. Under Source for restore, select From database. 5. Under Select the backup sets to restore, select the most recent backup. 6. Click Script at the top. This step opens the query editor containing the restore statement. 7. Edit the query by adding REPLACE, after WITH. This will allow the database log to be overwritten. 8. Click Execute. Oracle 11g To recover Oracle 11g 1. Log in to the server as the oracle user. 2. Set ORACLE_HOME to the oracle database directory and ORACLE_SID to the database name. 3. Go to $ORACLE_HOME/bin. 4. Run the following command:./impdp system/<password> DIRECTORY=exp_dp_dir DUMPFILE=<file_name>.dmp SCHEMAS=<YOUR_SCHEMA>; DB2 V9.7 To recover DB2 V9.7 1. Log in to the server as the db2inst user. 2. Run the following command: db2 force applications all 3. Run the following command: db2 restore db <db_name> from <backup_dir> replace existing

Running the Recovered Application LDAP 15 LDAP Backup Use an LDAP browser and export the LDAP configuration. Recovery Start with a clean LDAP server. Then use an LDAP browser and import the backed up LDAP configuration. Running the Recovered Application To run the recovered WebCenter Sites application 1. Before starting the application server: a. Clear the search indexes: rm rf <shared_dir>/lucene/global/* b. If you are using Tomcat, clear the application server cache: rm -rf <server_dir>/tmp/* rm -rf <server_dir>/work/* Note For the WebLogic application server, the cache will be cleared upon redeployment of the application. c. If you are using Tomcat or WebLogic, clear the compiled JSPs: rm -rf <web_app_dir>/jsp/cs_deployed/* 2. After starting the application server, ensure that all caches are synchronized.

Running the Recovered Application LDAP 16