FTMCLI setup for Oracle Storage Cloud Service

1. Install Java on Linux VM:

apt install openjdk-8-jre-headless

2.Set Java Home:

export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/jre/bin

export JAVA_HOME=/usr/lib/jvm/jre-openjdk/bin

3. Check the Java Jome Path:

echo $JAVA_HOME

4. Download ftmcli from :

https://www.oracle.com/technetwork/topics/cloud/downloads/index.html#FTMCLI

5. Upload to Cloud VM (/u01/ftmcli) using WINSCP and change permission to root/oracle user.

6. Update the ftmcli.properties file in the Folder /u01/ftmcli/ftmcli-v2.4.3

Set >>>> user=vikash.kumar@example.com

Set >>>  rest-endpoint=https://acme.storage.oraclecloud.com/v1/Storage-acme

7. Navigate to the Folder where ftmcli is installed and run the below command to Check the files in a container:

java -jar ftmcli.jar describe <BackupFolderName>

8. Download file with time stamp:

time java -jar ftmcli.jar download --directory /u01/ftmcli/download <FileNameWithinBackupContainer>

Reference: https://docs.oracle.com/en/cloud/iaas/storage-cloud/csclr/command-line-reference-oci-object-storage-classic.pdf

https://docs.oracle.com/en/cloud/iaas/storage-cloud/csclr/downloading-object.html

Comments

Popular posts from this blog

Using OCI CLI to generate report for all the Boot Volumes Backup Policy Assigned and Not Assigned

Creating Oracle Java Cloud Service Virtual Image with Oracle Database Cloud Service Virtual Image