Status | ||||
---|---|---|---|---|
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
$ ssh mysite.test |
-e 'ssh -axp 1022'
By default, symbolic links are not transferred at all.
...
Grab the pantheon credentials from the desitnation account and modify to fit.
Log in to the client server to run this operation, though you can sync a local directory to Pantheon in just much the same way:.
You will need to get the ssh key for the machine performing the rsync operation to Pantheon up to your control panel if it is not already there.
Code Block | ||
---|---|---|
| ||
# rsync the files to Panthon dev rsync -trazog --verbose --exclude-from='/var/www/backup/rsync-files-exclude.txt' \ /var/www/mysite/htdocs/sites/default/files/ \ --ipv4 -e 'ssh -p 2222' \ dev.b37d48af-d7ab-4d1e-b6cf-XXXXXXXXXXX@appserver.dev.b37d48af-d7ab-4d1e-b6cf-XXXXXXXXXXX.drush.in:files; # enter pantheon dashboard password when prompted |
...