Nova Resource Talk:Wikispore/Runbook

From Wikitech
Jump to navigation Jump to search

Copying from one instance to another

Not sure if this will help you out or not, but scp -3 works pretty well for me to move small things like db dumps from one instance to another. Something like scp -3 $SRC_HOST_FQDN:/srv/mediawiki-vagrant/backup.sql.gz $DEST_HOST_FQDN:/srv/mediawiki-vagrant copies a file from the /vagrant directory on one LXC container to the same directory on another. For things that are too large to proxy through your laptop, rsync can be a reasonable option for moving things from one instance to another by running an rsync server on one instance and pushing/pulling data there from another instance. --BryanDavis (talk) 00:35, 28 October 2019 (UTC)