Contents


64-warn.gif
NOTE: These instructions assume that you've already configured your system to access cloud storage.



SCP allows you to copy files to and from your Cloud Storage allotment in a secure manner as all logins and data transfer are encrypted. Most SCP clients require the following settings to connect you to your Cloud Storage server:


  • Hostname: Your username can be found in the customer portal Grid View and List View. It differs by data center and follows this pattern:
    • US-West-1: [customernumber].cloud.storage.gogrid.com
    • EU-West-1: [customernumber].cs.eu-west-1.gogrid.com
  • Username: Your username can be found in the customer portal. Click on Support > Passwords.
  • Password: Your password can be found in the customer portal. Click on Support > Passwords.
  • Source File: The file or directory you would like to transfer.
  • Destination Directory: The location of the destination directory of where you want to transfer the data.


Most Linux-based operating systems already have a command line SCP client accessible from a command prompt and there are several clients available for Windows.


Using SCP For Linux


Transferring Data to Cloud Storage Using SCP

You can run the SCP command using the following syntax to move data to your Cloud Storage:

scp -r [file or directory name] [hostname]:[destination]

where [file or directory name] is a distinct file or directory name and [destination] is the destination directory of where you want the files moved to. Here is an example of what the command may look like:

scp -r test.tar 16642@16642.cloud.storage.gogrid.com:testdir/

or

scp -r /var/www/ 500126@500126.cs.eu-west-1.gogrid.com:backups/2011-12-15


You will be asked to enter the password associated with your username.

Transferring Data from Cloud Storage Using SCP

From your server, you can run the SCP command using the following syntax to move data from your Cloud Storage to your local server:

scp [customer number]@[customer number].cloud.storage.gogrid.com:[file or directory name] [local destination]

where [customer number] is the customer number portion of the Cloud Storage hostname displayed in your GoGrid customer portal, [file or directory name] is a distinct file or directory name on your Cloud Storage allotment, and [destination] is the destination directory of where you want the files moved to. Here is an example of what the command may look like:

scp -r 16642@16642.cloud.storage.gogrid.com:testdir/test.tar .

or

scp -r 500126@500126.cs.eu-west-1.gogrid.com:backups/2011-12-15/ /var/www


You will be asked to enter the password associated with your username.

Using SCP for Windows

WinSCP

WinSCP is a Windows client that allows data transfer using SCP, FTP or SFTP. It can be downloaded here. Simply unzip the package, run the installer and open the WinSCP agent GUI from your applications. It will open the user-interface and you can use ssh and SCP protocols to transfer data to your Cloud Storage.

Cygwin

SCP is also available for Windows in combination with the open-source Cygwin software. Cygwin allows Windows to utilize the Linux API to run Linux-like commands and tools from the Windows command prompt. Utilizing Cygwin to run SCP works like the instructions above used for Linux systems.

External Links

Personal tools