Backup Storage from Contabo

Hello.
I have purchased 250GB of storage from Contabo for backup. Can I add it to virtualmin?? Can I do it here, as shown in the image?

Operating system**|Ubuntu Linux 22.04.5|
|Webmin version|2.202|Usermin version|2.102|
|Virtualmin version|7.20.2|Authentic theme version|21.20.7|

Hey.

Contabo backup storage operates as FTP, so what you are showing won’t work for it, but you can use it for backups. Just, select that you want to use “FTP server” as a destination - Screenshot by Lightshot in the backup configuration page.

I have purchased s3 storage, not ftp.

If it is s3 compatible, you can add it there. If it is not s3 compatible, you cannot. I don’t know anything about Contabo, and the screenshot you’ve posted of the Contabo UI doesn’t say anything about S3 (but “buckets” is terminology that is used in S3 compatible storage, so maybe it is).

It’s AWS - S3. But can you help me what exact command I should write?

Object Storage at a Fraction of What Others Charge

Our storage is a cheap alternative with unlimited free transfer to AWS S3 and other vendors. Billing is simple and month-to-month at all-inclusive rate,

and you can easily migrate from S3.

I just did this for object storage at Linode – but I’m unfamiliar with the process at Contabo.

But for background, and what works at Linode:

  • “Account description” can be anything you want
  • “S3 access key” is going to come from a key set from Contabo
  • “S3 secret key” is going to come from a key set from Contabo
  • you want to check “call endpoint”
  • in the “call endpoint” field you’re going to put in the server name from Contabo
  • you may or may not need to put something in the “region” field; for Linode I keep this empty

Once your account is “connected” you should automatically see the buckets available for that account when you navigate in virtualmin to “S3 buckets”.

NOTE: for Linode you do not need to make any changes/adjustments/observations in “S3 buckets”. Clicking on any of the buckets will only generate an error. Your situation may be different.

The next critical step is including the bucket name in the backup link.

In that example “matrix.synapse” is the bucket name.

Within that bucket backups are made into the /daily/backup… directory

2 Likes

Thanks for the answer. Where exactly do I need to go to Add S3 Account?

Would this video shed any new light for you.

No, the video doesn’t help, what does it show to Vironeer.

Its helping to know where in Contabo where the secret key, access keys and bucket path can be found, that all you need to setup the add S3 account to virtualmin.
Otherwise what issue are you having? Its pretty simple on the virtualmin side.

1 Like

In the backup destination I don’t have S3 option as it is in the image. Maybe it is only in the pro version of virtulmin? I don’t have the pro version.

I only have these. Local files - FTP - SSH Server - Webmin server - Rack Cloud

you have set up the account here ?

Yes, I’m putting everything in correctly, but I have an error. The Access Key I’m entering is correct, I’ve done it 30 times.
I think cloud backup is only supported in the pro version of virtualmin?? or am I wrong?

Failed to save S3 account : S3 account cannot be used : An error occurred (InvalidAccessKeyId) when calling the ListBuckets operation: The AWS Access Key Id you provided does not exist in our records.

I don’t think pro is the issue, I’ve restored to VPS’s that are not pro. I’ve only hooked up to AWS though not a compatible service.

what end point and region have you set here ?

You’re literally looking at the feature in Virtualmin GPL, and still asking if it’s only in Pro?

That’s an error from your provider. So, they don’t think you’ve entered the right key ID.

I haven’t learned anything there. What exactly should I write?

You need to get the end point and region from your s3 provider if I remember in this case is someone else than aws , which it appears you were trying to connect to. You need to learn those values from your provider
EDIT :-
found this on the contabo help website

Can I mount S3 Object Storage files to my personal computer?
It is possible to mount S3 Object Storage to your VPS/VDS or personal computer. This way you can access the files and folders of your S3 Object Storage like a local drive which makes usage more convenient. The methods to set this up are different for Windows and Linux but there are some things you will need on both Windows and Linux:

Contabo's S3 URL.
The Object Storage's access key.
The Object Storage's secret key.
You can find the S3 URL on the buckets overview page in the "Bucket URL" column.

which explains where the end point is (Contabo’s S3 URL) but doesn’t seem to mention the region don’t know if that is an issue for virtualmin or not

I only see the Region. The call endpoint does not…

from your screenshot I only see the end point (the bit you have coloured in) and not the region