1,106
edits
Technician (talk | contribs) No edit summary |
Technician (talk | contribs) No edit summary |
||
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: | rsync -e "ssh -p ${SSH_PORT}" -az --delete /var/www/ root@feministwiki.dev:/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. | ||
Line 253: | Line 253: | ||
This is a simple one. Run this command from the old server: | This is a simple one. Run this command from the old server: | ||
rsync -az --delete /home/vmail/ root@feministwiki.dev: | rsync -e "ssh -p ${SSH_PORT}" -az --delete /home/vmail/ root@feministwiki.dev:/home/vmail | ||
Note that the trailing slash in {{C|/home/vmail/}} is important. | Note that the trailing slash in {{C|/home/vmail/}} is important. | ||
Line 262: | Line 262: | ||
cd /var/lib/mailman | cd /var/lib/mailman | ||
rsync -az --delete archives data lists root@feministwiki.dev: | rsync -e "ssh -p ${SSH_PORT}" -az --delete archives data lists root@feministwiki.dev:/var/lib/mailman | ||
And then this on the new server: | And then this on the new server: |