1 Answer
- Newest
- Most votes
- Most comments
0
Because there is no host access to Db2 database, the restore and rollforward function has to be performed using rdsadmin stored procedure. Below are the steps to perform a restore from native IBM Db2 backup image (offline backup) to Amazon RDS for Db2:
Full offline backup and restore with S3 Integration
-
- Copy native Db2 database backup image to S3 using aws s3 cp command
-
- Enable S3 Integration – Attach IAM role to RDS Db2 instance
-
- Restore database [rdsadmin.restore_database] stored procedure
You can also use full online database backup with transaction logs to restore to RDS for Db2:
Full online backup and restore with S3 Integration
- Copy native Db2 database backup image and transaction logs to S3
- Enable S3 Integration – Attach IAM role to RDS Db2 instance to access
- Start restore [rdsadmin.restore_database]. Set backup_type to ONLINE
- Start rollforward [rdsadmin.rollforward_database]. Set complete_rollforward to FALSE
- Complete rollforward [rdsadmin.complete_rollforward]
Relevant content
- asked 2 years ago
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated a year ago

@Vijay Sitaram, Is ther any option to view restore error logs in aws rds db2