FeministWiki:Server setup: Difference between revisions

    Line 225: Line 225:
    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 -az --delete /var/www/ root@feministwiki.dev:/var/www
      rsync -az --delete /var/www/ root@feministwiki.dev:<ssh_port>/var/www


    Note that the trailing slash in {{C|/var/www/}} is important; if not provided, it will copy the directory to {{C|/var/www/www}} on the new server.
    Note that the trailing slash in {{C|/var/www/}} is important; if not provided, it will copy the directory to {{C|/var/www/www}} on the new server.