You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.5 KiB

Migration

From:       debian9,  sympa 6.2.16
To:         debian12, sympa 6.2.70
Future:     debian13, sympa 6.2.76

Documentation

export/import

export (deprecated)

  1. temp dir
  • sympa_domain=$(grep '^domain' /etc/sympa/sympa/sympa.conf | cut -f2)
  • temp_dir="$sympa_domain-$(date '+%F')"
  • mkdir $temp_dir && cd $temp_dir || echo 'already exist!' && false
  1. database backup

    • db_name=sympa
    • db_user=sympa
    • db_passwd=$(grep '^db_passwd' /etc/sympa/sympa/sympa.conf | cut -f2)
    • PGPASSWORD=$db_passwd pg_dump -h localhost -U "$db_user" "$db_name" | gzip > "$db_name.psql.gz"
  2. tar

    1. /etc/sympa
      • cp /etc/sympa/sympa/sympa.conf .
    2. /var/lib/sympa
      • tar -czvf lib-sympa.tgz /var/lib/sympa
    3. /var/spool/sympa
      • tar -czvf spool-sympa.tgz /var/spool/sympa

import (deprecated)

  1. database restore
  2. tar
  • /etc/sympa/sympa/sympa.conf
  1. sympa.pl --upgrade

from miaou-recipe (example sympa3.incus)

  • CONTAINER=sympa3
  • miaou-create "$CONTAINER"
  • miaou/miaou-install-sympa "$CONTAINER"

miaou-install-from-import-sympa

  • CONTAINER=sympa3
  • miaou/miaou-install-from-import-sympa $CONTAINER ~/Downloads/listes.artcode.re-2025-11-14.sympa