Manage your archives with an SFTP/SCP client

This guide shows you how to manage your Public Cloud Archives.

Preamble

Object Storage is a storage solution that is managed primarily through the OpenStack API. However, you might not be familiar with managing storage space via command line. Therefore, we have developed a gateway which makes it possible to connect to your PCA container with an SFTP client.

Requirements

  • SFTP Client : WinSCP
  • OpenStack Login & Password
  • TenantName of the project

SFTP Client

In this example, we use WinSCP but you can use any SFTP client. Configuration of each SFTP client is similar as explained here regardless of client.

OpenStack ID

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.net/. Once logged in, the TenantName is visible at the top of page.

horizon

Connection

  • Host Name : gateways.storage.{region}.cloud.ovh.net
  • User Name : pca
  • Password : {TenantName}.{Username_Openstack}.{Password_Openstack}
  • Port : 22

connexion

Example

If you created a PCA container in sbg1 :

  • Host Name : gateways.storage.sbg1.cloud.ovh.net
  • User Name : pca
  • Password : 971891XXXX1214.f6nBXXXXXAmcv.SfPeASYfuWeqBZgXXXXX2XhF3DY12RkD

connexion

WinSCP Setting

In this part we will disable two WinSCP options :

Transfer Resume / Transfer to Temporary Filename : This option will have to be disable because recovery is not possible with PCA and WinSCP can return you an error.

  • In the "Endurance" section, select "Disable".

connexion

Preserve Timestamp : TimeStamp corresponds to the date of modification of the file, we disable it because on PCA we replace this data by the date of upload of the file.

  • In the "Transfer" section, click on "Edit...".

connexion

  • Uncheck "Preserve timestamp".

connexion

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. Consult our guide to learn how to unlock your object here.


Did you find this guide useful?

Please feel free to give any suggestions in order to improve this documentation.

Whether your feedback is about images, content, or structure, please share it, so that we can improve it together.

Your support requests will not be processed via this form. To do this, please use the "Create a ticket" form.

Thank you. Your feedback has been received.


These guides might also interest you...

OVHcloud Community

Access your community space. Ask questions, search for information, post content, and interact with other OVHcloud Community members.

Discuss with the OVHcloud community

In accordance with the 2006/112/CE Directive, modified on 01/01/2015, prices incl. VAT may vary according to the customer's country of residence
(by default, the prices displayed are inclusive of the UK VAT in force).