« FeministWiki:Server setup » : différence entre les versions

Ligne 203 : Ligne 203 :
This is very simple but takes a lot of time to finish; run it from the old server:
This is very simple but takes a lot of time to finish; run it from the old server:


  cd /var/www
  rsync -a --delete /var/www/ root@feministwiki.dev:/var/www
tar -czf - . | ssh root@feministwiki.dev 'cd /var/www; tar -xzf -'
 
Note that the trailing slash in <code>/var/www/</code> is important; if not provided, it will copy the directory to <code>/var/www/www</code> on the new server.


== Test ==
== Test ==