Learn how to manage your Public Cloud archives with Cloud Archive.
Object Storage is a storage solution that is managed primarily through the OpenStackAPI. However, you might not be familiar with managing storage space via the command line. Therefore, we have developed a gateway that makes it possible to connect to your PCA container with an SFTP client.
Requirements
- SFTP Client: WinSCP
- OpenStack Login & Password
- TenantName of the project
Instructions
SFTP Client
In this example, we use WinSCP, but you can use any SFTP client. The configuration of each SFTP client is similar, as explained here, regardless of the client.
OpenStackID
You can generate your OpenStack login & password using this guide.
TenantName
The TenantName corresponds to the name of your Horizon Project. To get the TenantName, you need to connect to the OpenStack web interface: https://horizon.cloud.ovh.us/. Once logged in, the TenantName is visible at the top of the page.
Connection
- Host Name: gateways.storage.YOUR_REGION.cloud.ovh.us
- User Name: pca
- Password: ..
NOTE: If your services are in a US data center, the URL will end with .us. If they are in another data center, the URL will end with .net.
Example
If you created aPCA container in us-east-va-1:
- Host Name: gateways.storage.us-east-va-1.cloud.ovh.us
- User Name: pca
- Password:971891XXXX1214.f6nBXXXXXAmcv.SfPeASYfuWeqBZgXXXXX2XhF3DY12RkD
WinSCP Setting
In this part, we will disable two WinSCP options:
Transfer Resume / Transfer to Temporary Filename: This option will have to be disabled because recovery is not possible withPCA, and WinSCP can return an error.
-
In the Endurance section, select
Disable.
Preserve Timestamp: Timestamp corresponds to the date of modification of the file; we disable it because, on PCA, we replace this data with the date of upload of the file.
-
In the Transfer section, click on
Edit.... -
Uncheck
Preserve timestamp.
Data Recovery
Data recovery requires that the object be unlocked first. A GET request must be made on the object in question. If this command is not made beforehand, your SFTP client will return an error message when attempting to download a file.
Go further
For more information and tutorials, please see our other Public Cloud support guides or explore the guides for other OVHcloud products and services.