postfixadminを使っているサーバ間で特定ドメインだけを移設したい場合のデータベースのバックアップ/リストア方法。
#移設元
mysqldump -p --where 'domain like "example.com"' -t postfix alias mailbox domain > postfixadmin_example.com.sql
#移設先
mysql -p postfix < postfixadmin_example.com.sql
Go to list of users who liked
More than 5 years have passed since last update.
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
Go to list of users who liked