+ All Categories
Home > Technology > Backup DB to Cloud and Restore

Backup DB to Cloud and Restore

Date post: 16-Apr-2017
Category:
Upload: marketingarrowecscz
View: 148 times
Download: 1 times
Share this document with a friend
23
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Demo Step 1: Backup On-Premises database to Oracle Cloud (CLI or EM) Step 2: Instantiate the database in the cloud from the backup
Transcript

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.

Demo

Step 1: Backup On-Premises database to Oracle Cloud (CLI or EM)

Step 2: Instantiate the database in the cloud from the backup

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.

On-Premises: RMAN Configuration

$ rman target /

Recovery Manager: Release 12.1.0.1.0 - Production on Sun Aug 14 09:41:08 2016

Copyright (c) 1982, 2013, Oracle and/or its affiliates. All rights reserved.

connected to target database: odbs (DBID=2636081010, open)

RMAN>CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' PARMS

'SBT_LIBRARY=/home/oracle/OPC/lib/libopc.so,

ENV=(OPC_PFILE=/u01/products/db/12.1/dbs/opcodbs.ora)';

RMAN> CONFIGURE COMPRESSION ALGORITHM 'MEDIUM’;

RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;

RMAN> CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 4 BACKUP TYPE TO BACKUPSET;

RMAN> SHOW ALL;

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.

Perform On-Premises RMAN Backups to Cloud

RMAN> SET ENCRYPTION ON IDENTIFIED BY 'abc123' ONLY;

executing command: SET encryption

RMAN> BACKUP DEVICE TYPE SBT AS COMPRESSED BACKUPSET DATABASE PLUS ARCHIVELOG FORMAT '%d_%U';

Starting backup at 14-AUG-16

current log archived

released channel: ORA_DISK_1

released channel: ORA_DISK_2

released channel: ORA_DISK_3

released channel: ORA_DISK_4

allocated channel: ORA_SBT_TAPE_1

channel ORA_SBT_TAPE_1: SID=42 device type=SBT_TAPE

channel ORA_SBT_TAPE_1: Oracle Database Backup Service Library VER=3.15.1.16

channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:04:05

Finished backup at 14-AUG-16

Starting Control File and SPFILE Autobackup at 14-AUG-16

piece handle=c-2636081010-20150913-00 comment=API Version 2.0,MMS Version 3.15.1.16

Finished Control File and SPFILE Autobackup at 14-AUG-16

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.

In the Cloud DBaaS: Restore from Backup Create Cloud Instance

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.

Creating an Instance from the Backup

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.


Recommended