There are different versions of python, so I will stick to only copying the 
lists and archives directories.  What about copying the data directory?  I read 
that this was important too.

-----Original Message-----
From: Mailman-Users 
[mailto:mailman-users-bounces+jewel.makda=washburn....@python.org] On Behalf Of 
Mark Sapiro
Sent: Monday, October 24, 2016 10:37 AM
To: mailman-users@python.org
Subject: Re: [Mailman-Users] Migrating Mailman to New Server (Same Domain)

On 10/24/2016 06:41 AM, Jewel Brueggeman-Makda wrote:
> Would it be best to copy the entire mailman directory to the new server or 
> just the lists and archives?  
> Command issued on new server to copy data from old.
> rsync -avr root@serverip:/usr/local/mailman /usr/local/mailman


That rsync should work if you want absolutely everything to be the same.
There could be issues if the whole environment is not the same. E.g. if Mailman 
was configured --with-python=/usr/bin/python2.6 and the only Python on the new 
server is Python 2.7.

Also, there can be considerations if E.g. the user number for the 'mailman' 
user is different on the new server, but rsync usually handles that, at least 
if running as root on both ends.

That's why we suggest building a working Mailman on the new server and just 
moving lists and archives.

Aside: the 'r' in '-avr' is redundant as it is implied by '-a'.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org 
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: 
http://wiki.list.org/x/QIA9 Searchable Archives: 
http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/jewel.makda%40washburn.edu
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to