@utahta taught me how to transfer files to Web servers and DB servers launched on DotCloud, so here’s a memo.
To place files on the server, you can use the scp command.
(All commands are executed from the command line)
First, use DotCloud’s info command to check the URL of the server running the database as follows:
$ dotcloud info example.db
...
- name: ssh
url: ssh://[email protected]:port
...
Next, run the scp command to the obtained URL:
$ scp -P port -i ~/.dotcloud/dotcloud.key file_to_transfer [email protected]:
With this, you can transfer files to the target server.
That’s all from the Gemba.