FeministWiki:Server setup: Difference between revisions

Line 212: Line 212:
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:'''


  rsync -a --delete /var/www/ root@feministwiki.dev:/var/www
  rsync -az --delete /var/www/ root@feministwiki.dev:/var/www


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.
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.