Introduction :
Oracle database automated backups are stored in Oracle Managed Object Store Buckets in OCI. This blog covers step by step process to Upload the database backup files from local server to OCI storage.
Step 1: Download MV2Bucket
Download the latest version of mv2bucket from Doc ID 2723911.1
Step 2: Install the MV2Bucket in target server
sudo rpm -i mv2bucket-2.0.2-4.el7.x86_64.rpm
Verify the package is installed in target server,
ls -l /opt/mv2bucket
Step 3: Upload the backup files to OCI Archival storage
Run the below command to Upload the backup files to OCI Archival storage.
sudo /opt/mv2bucket/mv2bucket.bin get –bucketname <Bucket Name> –stage <backup location> –incremental
Demo :
root$ sudo /opt/mv2bucket/mv2bucket.bin load –bucketname Archival_BucketProd –stage /u01/backup –incremental
INFO: 2024-03-15 15:30:20: Please check the logfile ‘/opt/mv2bucket/out/log/mv2bucket_59994.log’ for more details
│▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
mv2bucket – (OCI) Oracle Managed Bucket Content Manager
Version: 2.0.2-4
Copyright (c) 2020-2024 Oracle and/or its affiliates.
——————————————————–
Author: Ruggero Citton <ruggero.citton@oracle.com>
RAC Pack, Cloud Innovation and Solution Engineering Team
│▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│INFO: 2024-03-15 15:30:21: Target bucket ‘Archival_BucketProd’ existence check
INFO: 2024-03-15 15:30:24: Getting target bucket ‘Archival_BucketProd’ files list
INFO: 2024-03-15 15:30:26: Getting stage ‘/u01/backup’ files list
INFO: 2024-03-15 15:30:47: Im going to copy ‘45374’ files missing on target ‘Archival_BucketProd’
INFO: 2024-03-15 15:30:47: Uploading files to own bucket, it will take time, please wait…