FeministWiki:Server setup: Difference between revisions

Line 249: Line 249:


  cd /var/lib/mailman
  cd /var/lib/mailman
  tar -czf - archives data lists | ssh root@feministwiki.dev 'cd /var/lib/mailman && tar -xzf - && check_perms -f'
  rsync -az --delete archives data lists root@feministwiki.dev:/var/lib/mailman


The {{C|check_perms}} command, which is part of GNU Mailman, will take care of fixing the group ownership of the extracted files.
And then this on the new server:
 
check_perms -f
 
The {{C|check_perms}} command, which is part of GNU Mailman, will take care of fixing file ownership and permissions.


== Recreate SQL users ==
== Recreate SQL users ==