LoginSignup
1

More than 5 years have passed since last update.

postfixadminで特定ドメインだけを移設する

Posted at

postfixadminを使っているサーバ間で特定ドメインだけを移設したい場合のデータベースのバックアップ/リストア方法。

移設元

mysqldump -p --where 'domain like "example.com"' -t postfix alias mailbox domain > postfixadmin_example.com.sql

移設先

mysql -p postfix < postfixadmin_example.com.sql

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1