top of page

How to Refresh an Autonomous Database from Production to Development on Oracle Cloud


Refreshing an existing development Autonomous Database (ADB) with data from a production ADB without creating a new database can help ensure your development environment has the latest data. This process involves using Oracle Cloud's tools to clone and replace the data in your development database with data from your production database. Below are the detailed steps:


#### Prerequisites

- Oracle Cloud account with necessary permissions.

- Autonomous Database instances for both production and development.

- Oracle SQL Developer or another SQL client tool.


### Step 1: Login to Oracle Cloud Console


1. **Open your web browser** and navigate to the [Oracle Cloud Console](https://cloud.oracle.com/).

2. **Login** with your Oracle Cloud credentials.

![Login to Oracle Cloud](https://example.com/screenshots/login.png)


### Step 2: Navigate to the Autonomous Database Section


1. In the Oracle Cloud Console, go to the **hamburger menu** in the top-left corner.

2. Select **Autonomous Database** under the **Database** section.

![Navigate to Autonomous Database](https://example.com/screenshots/navigate-to-adb.png)


### Step 3: Identify Your Production and Development Databases


1. In the Autonomous Database section, identify your **production** and **development** databases.

![Identify Databases](https://example.com/screenshots/identify-databases.png)


### Step 4: Create a Backup of the Production Database


1. Click on the **production database** to open its details.

2. Go to the **Backup** tab and click **Create Backup**.

![Create Backup](https://example.com/screenshots/create-backup.png)

3. Name your backup and click **Create Backup**.

![Name and Create Backup](https://example.com/screenshots/name-create-backup.png)


### Step 5: Restore the Production Backup to the Development Database


1. Go back to the **Autonomous Database** section and select your **development database**.

2. Click on **More Actions** and select **Restore**.

![Restore Backup](https://example.com/screenshots/restore-backup.png)


### Step 6: Configure Restore Options


1. Choose **Restore to Existing Database**.

![Restore to Existing Database](https://example.com/screenshots/restore-options-existing-db.png)

2. Select the backup you created from the production database.


### Step 7: Confirm and Start the Restore Process


1. Review the restore settings to ensure that the backup from the production database is selected.

2. Click **Restore Autonomous Database** to start the process.

![Restore Autonomous Database](https://example.com/screenshots/restore-confirm.png)

3. The restore process will overwrite the data in your development database with the data from the production backup. Monitor the progress in the Autonomous Database section.

![Monitor Restore Progress](https://example.com/screenshots/monitor-restore.png)


### Step 8: Verify the Data in the Development Database


1. Once the restore is complete, use SQL Developer or another SQL client to connect to the development database.

2. Run queries to verify that the data has been correctly restored and matches your production environment.

![Verify Data](https://example.com/screenshots/verify-data.png)


### Conclusion


By following these steps, you can refresh your development Autonomous Database with data from your production database on Oracle Cloud without creating a new database. This ensures that your development environment is always up-to-date with the latest data, facilitating accurate testing and development.


Feel free to adapt these steps to fit your specific requirements and organizational policies. If you need further customization or assistance, Oracle Cloud support is a great resource.

37 views

Recent Posts

See All

Comentarios


AiTech

©2023 by AiTech

bottom of page