wiki.allensmith.net

Personal "Rough Notes & Useful Links

User Tools

Site Tools


kb:linux:vexxhost_lts14rsyncsshlxc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
kb:linux:vexxhost_lts14rsyncsshlxc [2015/08/11 09:27]
Allen Smith + Vexxhost rsync info. + typo fixes
kb:linux:vexxhost_lts14rsyncsshlxc [2016/01/13 20:35] (current)
Line 11: Line 11:
 <​code>​ <​code>​
 eval "​$(ssh-agent -s)" ​    # start the ssh-agent in the background eval "​$(ssh-agent -s)" ​    # start the ssh-agent in the background
-ssh-add ~/​.ssh/​[sshkey] ​    # will need to type in the pass-phrase ​for this+ssh-add ~/​.ssh/​[sshkey] ​    # will need to type in the key pass-phrase ​(if any)
 </​code>​ </​code>​
  
 An example to Rsync a DokuWiki site from Vexxhost to an UbuntuCloud Lxc webserver:<​code>​ An example to Rsync a DokuWiki site from Vexxhost to an UbuntuCloud Lxc webserver:<​code>​
 sudo chown ubuntu:​ubuntu -R /​var/​www/​html sudo chown ubuntu:​ubuntu -R /​var/​www/​html
-sudo chmod go-w -R /​var/​www/​html ​    # Vexxhost 500 Error if group or others have write permission! 
 rsync -av --exclude="​cache/​*/"​ -e ssh [remoteuser]@[remotehost.tld]:/​home/​[remoteuser]/​public_html/​dir/​ /​var/​www/​html/​this/​dir rsync -av --exclude="​cache/​*/"​ -e ssh [remoteuser]@[remotehost.tld]:/​home/​[remoteuser]/​public_html/​dir/​ /​var/​www/​html/​this/​dir
 sudo chown www-data:​www-data -R /​var/​www/​html sudo chown www-data:​www-data -R /​var/​www/​html
kb/linux/vexxhost_lts14rsyncsshlxc.1439299666.txt.gz · Last modified: 2016/01/13 20:30 (external edit)