🚧 Coming Soon! 🚧
Please visit HERE for more information
Last modified March 27, 2025

Using JetBackup Storage with AWS CLI

There are two ways to use JetBackup Storage with the AWS CLI.

Method 1

The first method involves adding the following subcommand after every command:

--endpoint-url=https://eu-central-2.storage.jetbackup.com

For example, if you want to list your buckets in the CLI, please type:

aws s3 ls --endpoint-url=https://eu-central-2.storage.jetbackup.com

or use a specific profile:

aws s3 ls --profile=jetbackup --endpoint-url=https://eu-central-2.storage.jetbackup.com

Method 2

To make it easier to access third-party S3 providers, you can use the awscli-plugin-endpoint plugin, but you will need to create an additional profile along with the default one. To create this profile, you can add a “profile” line at the end of the config file located in the “.aws” directory in your home directory.

Add a line profile line at the end of the config file like this at the end of the file:

[profile jetbackup]

After you’ve added the “profile” line to the config file, be sure to save the file.

Once you have created a profile, you can follow the instructions provided on the plugin’s GitHub page, which you can find at this link: https://github.com/wbinglee/awscli-plugin-endpoint. By doing so, you should be able to use “–profile jetbackup” after every command instead of having to type out the entire URL.

For instance, if you wish to list your buckets using the AWS CLI, simply type:

aws s3 ls --profile=jetbackup