« FeministWiki:Server setup » : différence entre les versions

Ligne 249 : Ligne 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 ==