You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: migration-tools/tts-backup-python/README.md
+20-7Lines changed: 20 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,8 +112,7 @@ Leave these a blank unless really needed.
112
112
113
113
***DVREALM_USER*** - (OPTIONAL INPUT) Required only if Database Vault is enabled and configured in the source database. Specify a Database Vault realm owner or authorized user required to access objects protected by Database Vault during the backup process. If not provided and Database Vault is enabled, backup will fail with an error.
114
114
115
-
***DVREALM_PASSWORD*** - (OPTIONAL INPUT) Required only if Database Vault is enabled and configured in the source.Password for the specified DVREALM_USER. If not provided and Database Vault is enabled, backup will fail with an error.
116
-
115
+
***DVREALM_PASSWORD*** - (RUNTIME INPUT) Required only if Database Vault is enabled and configured in the source. Password for the specified DVREALM_USER. If not provided and Database Vault is enabled, backup will fail with an error. Provide as CLI runtime input when prompted. This prompt appears only if DVREALM_USER is provided.
117
116
118
117
**Backup Utility Sample Inputs**
119
118
```
@@ -175,7 +174,6 @@ Leave these a blank unless really needed.
175
174
TRANSPORT_TABLES_PROTECTED_BY_OLS_POLICIES=FALSE
176
175
TRANSPORT_DB_PROTECTED_BY_DATABASE_VAULT=FALSE
177
176
DVREALM_USER=
178
-
DVREALM_PASSWORD=
179
177
```
180
178
181
179
Run the TTS Backup Tool from the project directory as below. User will be prompted for database password and optional TDE wallet store password.
@@ -191,6 +189,14 @@ Run the TTS Backup Tool from the project directory as below. User will be prompt
191
189
192
190
The tool will take backups of the tablespace datafiles and create a metadata bundle. Both backups and the bundle will be uploaded to the provided OCI Object Storage buckets or FSS Mount Targets. Backup Utility will output an URL to OCI Object Storage metadata bundle or FSS Mount Target path for metadata bundle. User should note the given URL/Path as that will be needed as migration input when creating Autonomous AI Database for the migration.
193
191
192
+
**TTS Backup Utility Version**
193
+
194
+
To check the version of the TTS Backup Utility being used, run the command below
195
+
196
+
```
197
+
$ python3 tts-backup.py --version
198
+
```
199
+
194
200
### Create Dynamic Group and Policy
195
201
196
202
Transportable Tablespaces functionality will download metadata from OCI Object Storage metadata bucket using [OCI Resource Principal](https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/resource-principal.html). Create Dynamic Group and Policy to allow access to the metadata bucket using the resource principal.
@@ -222,7 +228,7 @@ The operation will first create the database and then trigger migration operatio
222
228
223
229
### Incremental Migration
224
230
225
-
If user is performing an incremental migration operation, repeat Backup Tablespaces step at source database for each incremental using the same set of inputs. Backup Utility will output a new OCI Object Storage URL / FSS Mount Target path corresponding to that increment. Use the OCI Object Storage URL to update the Autonomous AI Database created with the first backup above. Set FINAL_BACKUP=TRUE in the input file before performing final backup.
231
+
If user is performing an incremental migration operation, repeat Backup Tablespaces step at source database for each incremental using the same set of inputs. Do not alter the tablespace list during incremental backups. Use the Tablespace list provided during first backup. Backup Utility will output a new OCI Object Storage URL / FSS Mount Target path corresponding to that increment. Use the OCI Object Storage URL to update the Autonomous AI Database created with the first backup above. Set FINAL_BACKUP=TRUE in the input file before performing final backup.
226
232
227
233
### Modify Autonomous AI Database with Migration inputs
228
234
@@ -314,7 +320,7 @@ Open tts-backup-env.txt file downloaded to the project directory and provide the
314
320
315
321
***DVREALM_USER*** - (OPTIONAL INPUT) Required only if Database Vault is enabled and configured in the source database. Specify a Database Vault realm owner or authorized user required to access objects protected by Database Vault during the backup process. If not provided and Database Vault is enabled, backup will fail with an error.
316
322
317
-
***DVREALM_PASSWORD*** - (OPTIONAL INPUT) Required only if Database Vault is enabled and configured in the source.Password for the specified DVREALM_USER. If not provided and Database Vault is enabled, backup will fail with an error.
323
+
***DVREALM_PASSWORD*** - (RUNTIME INPUT) Required only if Database Vault is enabled and configured in the source.Password for the specified DVREALM_USER. If not provided and Database Vault is enabled, backup will fail with an error. Provide as CLI runtime input when prompted. This prompt appears only if DVREALM_USER is provided.
318
324
319
325
**Backup Utility Sample Inputs**
320
326
```
@@ -371,7 +377,6 @@ Open tts-backup-env.txt file downloaded to the project directory and provide the
371
377
TRANSPORT_TABLES_PROTECTED_BY_OLS_POLICIES=FALSE
372
378
TRANSPORT_DB_PROTECTED_BY_DATABASE_VAULT=FALSE
373
379
DVREALM_USER=
374
-
DVREALM_PASSWORD=
375
380
```
376
381
377
382
Run the TTS Backup Tool from the project directory as below. User will be prompted for database password and optional TDE wallet store password.
@@ -387,6 +392,14 @@ Run the TTS Backup Tool from the project directory as below. User will be prompt
387
392
388
393
The tool will take backups of the tablespace datafiles and create a metadata bundle. Both backups and the bundle will be uploaded to backup and metadata directories under the File System - Export path. Backup Utility will output an URL to FSS file path for the metadata bundle. User should note the given FSS file path as that will be needed as migration input when creating Autonomous AI Database for the migration.
389
394
395
+
**TTS Backup Utility Version**
396
+
397
+
To check the version of the TTS Backup Utility being used, run the command below
398
+
399
+
```
400
+
$ python3 tts-backup.py --version
401
+
```
402
+
390
403
### Create Autonomous AI Database with Migration inputs
391
404
392
405
Create an Autonomous AI Database from OCI Console using the steps below.
@@ -405,7 +418,7 @@ The operation will first create the database and then trigger migration operatio
405
418
406
419
### Incremental Migration
407
420
408
-
If user is performing an incremental migration operation, repeat Backup Tablespaces step at source database for each incremental using the same set of inputs. Backup Utility will output a new OCI Object Storage URL / FSS Mount Target path corresponding to that increment. Use the FSS file path to update the Autonomous AI Database created with the first backup above. Set FINAL_BACKUP=TRUE in the input file before performing final backup.
421
+
If user is performing an incremental migration operation, repeat Backup Tablespaces step at source database for each incremental using the same set of inputs. Do not alter the tablespace list during incremental backups. Use the Tablespace list provided during first backup. Backup Utility will output a new OCI Object Storage URL / FSS Mount Target path corresponding to that increment. Use the FSS file path to update the Autonomous AI Database created with the first backup above. Set FINAL_BACKUP=TRUE in the input file before performing final backup.
409
422
410
423
### Modify Autonomous AI Database with Migration inputs
0 commit comments