I backed up a v7 PMG server restoring it to a new v8 server, the restore mostly worked, however I received these error messages and the relevant tables weren't restored. I checked the backup archive and found the files in good order, any ideas what is causing this issue?
Restore command: pmgbackup restore --filename pmg-backup_2023_09_02_64F3F3C2.tgz
Error messages:
unable to update postfix table /etc/pmg/domains: postmap: fatal: bad string length 0 < 1: mydomain =
unable to update postfix table /etc/pmg/transport: postmap: fatal: bad string length 0 < 1: mydomain =
unable to update postfix table /etc/pmg/tls_policy: postmap: fatal: bad string length 0 < 1: mydomain =
unable to update postfix table /etc/pmg/tls_inbound_domains: postmap: fatal: bad string length 0 < 1: mydomain =
unable to update postfix table /etc/postfix/senderaccess: postmap: fatal: bad string length 0 < 1: mydomain =
unable to update postfix table /etc/postfix/rcptaccess: postmap: fatal: bad string length 0 < 1: mydomain =
unable to update postfix table /etc/postfix/clientaccess: postmap: fatal: bad string length 0 < 1: mydomain =
unable to update postfix table /etc/postfix/postscreen_access: postmap: fatal: bad string length 0 < 1: mydomain =
newaliases: fatal: bad string length 0 < 1: mydomain =
Restore command: pmgbackup restore --filename pmg-backup_2023_09_02_64F3F3C2.tgz
Error messages:
unable to update postfix table /etc/pmg/domains: postmap: fatal: bad string length 0 < 1: mydomain =
unable to update postfix table /etc/pmg/transport: postmap: fatal: bad string length 0 < 1: mydomain =
unable to update postfix table /etc/pmg/tls_policy: postmap: fatal: bad string length 0 < 1: mydomain =
unable to update postfix table /etc/pmg/tls_inbound_domains: postmap: fatal: bad string length 0 < 1: mydomain =
unable to update postfix table /etc/postfix/senderaccess: postmap: fatal: bad string length 0 < 1: mydomain =
unable to update postfix table /etc/postfix/rcptaccess: postmap: fatal: bad string length 0 < 1: mydomain =
unable to update postfix table /etc/postfix/clientaccess: postmap: fatal: bad string length 0 < 1: mydomain =
unable to update postfix table /etc/postfix/postscreen_access: postmap: fatal: bad string length 0 < 1: mydomain =
newaliases: fatal: bad string length 0 < 1: mydomain =