當從在 Expand 中註冊的 Plesk for Linux 伺服器遷移時應使用此設定檔:

[GLOBAL]
# 此小節定義全域設定並列出原始伺服器。

# [mandatory, non-modifiable] 源類型
# 原始伺服器產品類型。
# 為此特定類型列出此配置範本中的其他參數,擴展。
# 不要在這裡更改源類型,而瀏覽所提供的配置範本
# 選一個最適合的源類型。
源類型:expand

# [mandatory, non-modifiable] target-type
# Target servers product type.
target-type: plesk

# [mandatory] source-servers
# Comma-separated list of the sections describing source Plesk servers connected to Expand.
# An arbitrary number of Plesk for Unix servers can be listed here.
# Order is important: Plesk server whose section is listed earlier in this list
# will have priority during conflict resolution.
source-servers: pfu1, pfu2

# [optional] external-db-servers
# 以逗號隔開的描述外部來源資料庫伺服器的節列表。
# It is required to specify external database servers for remote PostgreSQL.
# Otherwise, databases will not be copied.
# external-db-servers: pgsql1

# [optional] centralized-mail-servers
# Comma-separated list of the sections describing centralized mail servers
# assigned to the listed source Plesk servers. If the source Plesk servers listed
# in 'source-servers' setting are using a centralized mail server, you must list
# it here. If not specified, migration tool will not transfer the mailboxes and
# other settings located on the centralized mail servers.
# centralized-mail-servers: cm1

# [optional] centralized-dns-servers
# Comma-separated list of the sections describing centralized DNS servers assigned
# to the listed source Plesk servers.
# If not specified, the DNS forwarding will not be set up on the centralized DNS servers.
# centralized-dns-servers: cd1

# [optional] session-dir
# 用於遷移工具暫存檔案的目錄。
# If not specified, temporary files will be put into 'migration-session'.
# session-dir: migration-session

# [optional] zones-ttl
# The time in seconds, which migration tool sets as the SOA minimum TTL and refresh interval
# on a new DNS server.
# 如未指定,會使用預設值:120
# zones-ttl: 120

# [optional] external-dns-server
# An IP v4 address of an external DNS server that allows recursive DNS queries.
# Migration tool uses the specified address to test whether general Internet users can obtain
# the correct DNS records for the transferred domains.
# If nothing is specified, migration tool will use Google DNS server (8.8.8.8).
# 如指定 'none',遷移工具將跳過測試。
# external-dns-server: 8.8.8.8

# [optional] mail-messages-delta-limit
# The post-migration mail checks compare the number of messages in the source and the target mailboxes.
# If the number of messages differs more than it is specified in "mail-message-count-max-difference",
# it is considered an error.
# 如未指定,會使用預設值:10
# mail-messages-delta-limit: 10

# [optional] website-availability-check-timeout
# Timeout on site response in seconds. When check the availability of site, limit response time.
# 如未指定,會使用預設值:30
# website-availability-check-timeout: 30

# [optional] log-message-context-length
# 當記錄多行輸出 (API 請求,相應), 只顯示前 N
# 和最後 N 行。預設值為 0,表示顯示完整的API 請求。
# log-message-context-length: 10

[plesk]
# 該節定義目標面板設定。

# [mandatory] ip
# 目標Plesk Panel 伺服器的IPv4位址。
ip:

# [mandatory] os
# 伺服器的作業系統類型,'unix' 或 'windows'.
os: unix

# [optional] panel-username
# 面板管理員的登入名如未指定,則使用'admin'。
# panel-username: admin

# [optional] panel-password
# 面板管理員的密碼。如未指定,會自動檢測。
# panel-password: setup

# [optional] unix-session-dir
# Plesk Panel for Linux 目標伺服器上的暫存檔案目錄。如果
# not specified, temporary files will be put into '/tmp'
# unix-session-dir: /tmp

# [optional] is-local
# 遷移工具是否在與目標 Plesk 相同的伺服器上運行。
# 默認為 true.
# is-local: true

# [optional] apache-restart-interval
# 最小時間間隔,以秒為單位,Apache 在
# 遷移過程中的重啟間隔。如該間隔太短,Apache 將會啟動頻繁。這
# 將會引起Plesk 目標伺服器的長期宕機。如果該間隔太長,
# Plesk 目標伺服器的現有使用者將不得不等很久
# 才能等到更改被應用。跳過更改 Apache 重啟間隔,設定值為
# 'none'. 若未指定,遷移工具將跳過更改Apache
# 重啟間隔。
# apache-restart-interval: none

[expand]
# This section defines the settings of Expand control panel server.

# [mandatory] ip
# An IP v4 address of the Expand control panel server.
# It does not matter whether this IP address is external or internal, as long as migration tool
# can connect to the server at this address.
ip:

# [mandatory] panel-username
# Expand administrator user name.
panel-username: root

# [mandatory] panel-password
# Expand administrator password.
panel-password:

# [optional] ssh-username
# User name of the privileged system user on Expand control panel server.
# If not specified, 'root' is used.
# ssh-username: root

# [optional] ssh-auth-type
# SSH 驗證類型。
# 支援兩種驗證類型:'password' 或 'key'. 默認為'password'.
# ssh-auth-type: password

# [optional] ssh-password
# Password of the privileged system user on Expand control panel server.
# 如果您選擇了 SSH 驗證類型'password',則必須要指定該密碼。
# 注意密碼中的散列符號會被視作常規符號。
ssh-password:

# [optional] ssh-key
# SSH private key file name. You can specify it if you select SSL authentication type 'key'.
# If not specified, "id_rsa" or "id_dsa" keys from ~/.ssh are used.
# ssh-key: id_dsa

[pfu1]
# This section defines settings of source Plesk server 'pfu1'.

# [mandatory] ip
# An IP v4 address of this Plesk server.
ip:

# [mandatory] os
# 伺服器的作業系統類型,'unix' 或 'windows'.Defines which other parameters
# are required in this section.
os: unix

# [optional] panel-username
# 面板管理員的用戶名如未指定,則使用'admin'。
# panel-username: admin

# [optional] panel-password
# 面板管理員的密碼。如未指定,會自動檢測。
# panel-password:

# [optional] ssh-username
# 該Plesk 伺服器上優先順序系統使用者的用戶名。如未指定,則使用'root'。
# ssh-username: root

# [optional] ssh-auth-type
# SSH 驗證類型。
# 支援兩種驗證類型:'password' 或 'key'. 默認為'password'.
# ssh-auth-type: password

# [optional] ssh-password
# 該Plesk 伺服器上優先順序系統使用者的密碼。
# 如果您選擇了 SSH 驗證類型'password',則必須要指定該密碼。
# 注意密碼中的散列符號會被視作常規符號。
ssh-password:

# [optional] ssh-key
# SSH private key file name. You can specify it if you select SSL authentication type 'key'.
# If not specified, "id_rsa" or "id_dsa" keys from ~/.ssh are used.
# ssh-key: id_dsa

# [optional] session-dir
# 暫存檔案的目錄。
# If not specified, temporary files are put into /tmp.
# session-dir: /tmp

[pfu2]
# This section defines settings of source Plesk server 'pfu2'.

# [mandatory] ip
# An IP v4 address of this Plesk server.
ip:

# [mandatory] os
# 伺服器的作業系統類型,'unix' 或 'windows'.Defines which other parameters
# are required in this section.
os: unix

# [optional] panel-username
# 面板管理員的用戶名如未指定,則使用'admin'。
# panel-username: admin

# [optional] panel-password
# 面板管理員的密碼。如未指定,會自動檢測。
# panel-password:

# [optional] ssh-username
# 該Plesk 伺服器上優先順序系統使用者的用戶名。如未指定,則使用'root'。
# ssh-username: root

# [optional] ssh-auth-type
# SSH 驗證類型。
# 支援兩種驗證類型:'password' 或 'key'. 默認為'password'.
# ssh-auth-type: password

# [optional] ssh-password
# 該Plesk 伺服器上優先順序系統使用者的密碼。
# 如果您選擇了 SSH 驗證類型'password',則必須要指定該密碼。
# 注意密碼中的散列符號會被視作常規符號。
ssh-password:

# [optional] ssh-key
# SSH private key file name. You can specify it if you select SSL authentication type 'key'.
# If not specified, "id_rsa" or "id_dsa" keys from ~/.ssh are used.
# ssh-key: id_dsa

# [optional] session-dir
# 暫存檔案的目錄。
# If not specified, temporary files are put into /tmp.
# session-dir: /tmp

[pgsql1]
# This optional section defines settings of external PostgreSQL database server 'pgsql1'.
# Fill this section's settings and list it in the 'external-db-servers'
# setting of GLOBAL section to get the databases copied from this server.
# Remove this section otherwise.

# [mandatory] host
# The address of this database server, exactly as displayed in Plesk Panel (usually it equals
# to database server's IP address).
host:

# [mandatory] type
# Type of the database server, the only allowed value is 'postgresql'
類型:postgresql

# [mandatory] ip
# 該資料庫伺服器的 IP v4 地址。
ip:

# [optional] ssh-username
# User name of the privileged system user on this database server. 如未指定,則使用'root'。
# ssh-username: root

# [optional] ssh-auth-type
# SSH 驗證類型。
# 支援兩種驗證類型:'password' 或 'key'. 默認為'password'.
# ssh-auth-type: password

# [optional] ssh-password
# 該資料庫伺服器上的優先順序系統使用者的密碼。
# 如果您選擇了 SSH 驗證類型'password',則必須要指定該密碼。
# 注意密碼中的散列符號會被視作常規符號。
ssh-password:

# [optional] ssh-key
# SSH private key file name. You can specify it if you select SSL authentication type 'key'.
# If not specified, "id_rsa" or "id_dsa" keys from ~/.ssh are used.
# ssh-key: id_dsa

[cm1]
# This optional section defines settings of centralized mail server 'cm1'.
# Fill this section's settings and list it in the 'centralized-mail-servers' setting of GLOBAL section
# to get the mail settings and content transferred from this server.
# Remove this section otherwise.

# [mandatory] ip
# An IP v4 address of this Plesk server.
ip:

# [mandatory] os
# 伺服器的作業系統類型,'unix' 或 'windows'.Defines which other parameters
# are required in this section.
os: unix

# [optional] panel-username
# 面板管理員的用戶名如未指定,則使用'admin'。
# panel-username: admin

# [optional] panel-password
# 面板管理員的密碼。如未指定,會自動檢測。
# panel-password:

# [optional] ssh-username
# 該Plesk 伺服器上優先順序系統使用者的用戶名。如未指定,則使用'root'。
# ssh-username: root

# [optional] ssh-auth-type
# SSH 驗證類型。
# 支援兩種驗證類型:'password' 或 'key'. 默認為'password'.
# ssh-auth-type: password

# [optional] ssh-password
# 該Plesk 伺服器上優先順序系統使用者的密碼。
# 如果您選擇了 SSH 驗證類型'password',則必須要指定該密碼。
# 注意密碼中的散列符號會被視作常規符號。
ssh-password:

# [optional] ssh-key
# SSH private key file name. You can specify it if you select SSL authentication type 'key'.
# If not specified, "id_rsa" or "id_dsa" keys from ~/.ssh are used.
# ssh-key: id_dsa

# [optional] session-dir
# 暫存檔案的目錄。
# If not specified, temporary files are put into /tmp.
# session-dir: /tmp

[cd1]
# This optional section defines settings of centralized DNS server 'cd1'.
# Fill this section's settings and list it in the 'centralized-dns-servers' setting of GLOBAL section
# to get the DNS forwarding set up on this server.
# Remove this section otherwise.

# [mandatory] ip
# An IP v4 address of this centalized DNS server.
ip:

# [optional] ssh-username
# User name of the privileged system user on this centralized DNS server. 如未指定,則使用'root'。
# ssh-username: root

# [optional] ssh-auth-type
# SSH 驗證類型。
# 支援兩種驗證類型:'password' 或 'key'. 默認為'password'.
# ssh-auth-type: password

# [optional] ssh-password
# Password of the privileged system user on this centralized DNS server.
# 如果您選擇了 SSH 驗證類型'password',則必須要指定該密碼。
# 注意密碼中的散列符號會被視作常規符號。
ssh-password:

# [optional] ssh-key
# SSH private key file name. You can specify it if you select SSL authentication type 'key'.
# If not specified, "id_rsa" or "id_dsa" keys from ~/.ssh are used.
# ssh-key: id_dsa

當從在 Expand 中註冊的 Plesk for Windows 伺服器遷移時應使用此設定檔:

[GLOBAL]
# This section defines global settings and lists the source servers.

# [mandatory, non-modifiable] 源類型
# Source servers product type.
# The other parameters in this configuration template are listed for this
# particular type, expand. Rather than changing the source-type here, browse the
# provided configuration templates and pick one that best suits your source type.
源類型expand

# [mandatory, non-modifiable] target-type
# Target servers product type.
target-type: plesk

# [mandatory] source-servers
# Comma-separated list of the sections describing source Plesk servers connected to Expand.
# An arbitrary number of Plesk for Windows servers can be listed here.
# Order is important: Plesk server whose section is listed earlier in this list
# will have priority during conflict resolution.
source-servers: pfw1, pfw2

# [optional] external-db-servers
# 以逗號隔開的描述外部來源資料庫伺服器的節列表。
# It is highly recommended to specify external database servers for remote MSSQL.
# Otherwise there could be issues when copying database content.
# external-db-servers: mssql1

# [optional] centralized-mail-servers
# Comma-separated list of the sections describing centralized mail servers assigned
# to the listed source Plesk servers.
# If the source Plesk servers listed in 'source-servers' setting are using
# a centralized mail server, you must list it here.
# If not specified, migration tool will not transfer the mailboxes and other settings
# located on the centralized mail servers.
# centralized-mail-servers: cm1

# [optional] centralized-dns-servers
# Comma-separated list of the sections describing centralized DNS servers assigned
# to the listed source Plesk servers.
# If not specified, the DNS forwarding will not be set up on the centralized DNS servers.
# centralized-dns-servers: cd1

# [optional] session-dir
# 用於遷移工具暫存檔案的目錄。
# If not specified, temporary files will be put into 'migration-session'.
# session-dir: migration-session

# [optional] zones-ttl
# The time in seconds, which migration tool sets as the SOA minimum TTL and refresh interval
# on a new DNS server.
# 如未指定,會使用預設值:120
# zones-ttl: 120

# [optional] external-dns-server
# An IP v4 address of an external DNS server that allows recursive DNS queries.
# Migration tool uses the specified address to test whether general Internet users can obtain
# the correct DNS records for the transferred domains.
# If nothing is specified, migration tool will use Google DNS server (8.8.8.8).
# 如指定 'none',遷移工具將跳過測試。
# external-dns-server: 8.8.8.8

# [optional] mail-messages-delta-limit
# The post-migration mail checks compare the number of messages in the source and the target mailboxes.
# If the number of messages differs more than it is specified in "mail-message-count-max-difference",
# it is considered an error.
# 如未指定,會使用預設值:10
# mail-messages-delta-limit: 10

# [optional] website-availability-check-timeout
# Timeout on site response in seconds. When check the availability of site, limit response time.
# 如未指定,會使用預設值:30
# website-availability-check-timeout: 30

# [optional] log-message-context-length
# 當記錄多行輸出 (API 請求,相應), 只顯示前 N
# 和最後 N 行。預設值為 0,表示顯示完整的API 請求。
# log-message-context-length: 10

# [optional] copy-mssql-content
# Select way to copy MSSQL content: native MSSQL dumps, text dumps or automatic selection (default).
# 可能的值:'native', 'text', 'auto'
# Native backups require direct access of migration tool to all MSSQL servers, so make sure that you provided
# access to all external MSSQL servers in 'external-db-servers' option.
# Native backup is the most reliable way to copy MSSQL database content.
# Text dumps have an advantage that they do not require physical access to the servers. Only access by MSSQL
# protocols is required. But such way may fail in case of complex MSSQL databases with stored procedures, triggers, etc.
# If automatic selection is specified, panel migrator will use native backups if we have direct access to the servers
# with MSSQL, and text dumps otherwise.
# copy-mssql-content: auto

[plesk]
# 該節定義目標面板設定。

# [mandatory] ip
# 目標Plesk Panel 伺服器的IPv4位址。
ip:

# [mandatory] os
# 伺服器的作業系統類型,'unix' 或 'windows'.
os: windows

# [optional] panel-username
# 面板管理員的登入名如未指定,則使用'admin'。
# panel-username: admin

# [optional] panel-password
# 面板管理員的密碼。如未指定,會自動檢測。
# panel-password: setup

# [optional] windows-session-dir
# A directory for temporary files on Plesk Panel for Windows target server. 如果
# not specified, temporary files will be put into 'C:\migrator'
# windows-session-dir: C:\migrator

# [optional] is-local
# 遷移工具是否在與目標 Plesk 相同的伺服器上運行。
# 默認為 true.
# is-local: true

[expand]
# This section defines the settings of Expand control panel server.

# [mandatory] ip
# An IP v4 address of the Expand control panel server.
# It does not matter whether this IP address is external or internal, as long as migration tool
# can connect to the server at this address.
ip:

# [mandatory] panel-username
# Expand administrator user name.
panel-username: root

# [mandatory] panel-password
# Expand administrator password.
panel-password:

# [optional] ssh-username
# User name of the privileged system user on Expand control panel server.
# If not specified, 'root' is used.
# ssh-username: root

# [optional] ssh-auth-type
# SSH 驗證類型。
# 支援兩種驗證類型:'password' 或 'key'. 默認為'password'.
# ssh-auth-type: password

# [optional] ssh-password
# Password of the privileged system user on Expand control panel server.
# 如果您選擇了 SSH 驗證類型'password',則必須要指定該密碼。
# 注意密碼中的散列符號會被視作常規符號。
ssh-password:

# [optional] ssh-key
# SSH private key file name. You can specify it if you select SSL authentication type 'key'.
# If not specified, "id_rsa" or "id_dsa" keys from ~/.ssh are used.
# ssh-key: id_dsa

[pfw1]
# This section defines settings of source Plesk server 'pfw1'.

# [mandatory] ip
# An IP v4 address of this Plesk server.
ip:

# [mandatory] os
# 伺服器的作業系統類型,'unix' 或 'windows'.Defines which other parameters
# are required in this section.
os: windows

# [optional] panel-username
# 面板管理員的用戶名如未指定,則使用'admin'。
# panel-username: admin

# [optional] panel-password
# 面板管理員的密碼。如未指定,會自動檢測。
# panel-password:

# [optional] windows-username
# 該Plesk 伺服器上優先順序系統使用者的用戶名。默認為 'Administrator'.
# windows-username: 管理員

# [mandatory] windows-password
# 該Plesk 伺服器上優先順序系統使用者的密碼。
windows-password:

# [optional] session-dir
# 暫存檔案的目錄。
# Note that for MySQL database content to be copied, this directory should be exported
# on rsync server as "migrator".
# If not specified, temporary files are put into C:\migrator.
# session-dir: C:\migrator

[pfw2]
# This section defines settings of source Plesk server 'pfw2'.

# [mandatory] ip
# An IP v4 address of this Plesk server.
ip:

# [mandatory] os
# 伺服器的作業系統類型,'unix' 或 'windows'.Defines which other parameters
# are required in this section.
os: windows

# [optional] panel-username
# 面板管理員的用戶名如未指定,則使用'admin'。
# panel-username: admin

# [optional] panel-password
# 面板管理員的密碼。如未指定,會自動檢測。
# panel-password:

# [optional] windows-username
# 該Plesk 伺服器上優先順序系統使用者的用戶名。默認為 'Administrator'.
# windows-username: 管理員

# [mandatory] windows-password
# 該Plesk 伺服器上優先順序系統使用者的密碼。
windows-password:

# [optional] session-dir
# 暫存檔案的目錄。
# Note that for MySQL database content to be copied, this directory should be exported
# on rsync server as "migrator".
# If not specified, temporary files are put into C:\migrator.
# session-dir: C:\migrator

[cm1]
# This optional section defines settings of centralized mail server 'cm1'.
# Fill this section's settings and list it in the 'centralized-mail-servers' setting of GLOBAL section
# to get the mail settings and content transferred from this server.
# Remove this section otherwise.

# [mandatory] ip
# An IP v4 address of this centalized mail server.
ip:

# [mandatory] os
# 伺服器的作業系統類型,'unix' 或 'windows'.Defines which other parameters are required
# in this section.
os: windows

# [optional] panel-username
# 面板管理員的用戶名如未指定,則使用'admin'。
# panel-username: admin

# [optional] panel-password
# 面板管理員的密碼。如未指定,會自動檢測。
# panel-password:

# [optional] windows-username
# 該集中式郵件伺服器上優先順序系統使用者的用戶名。默認為 'Administrator'.
# windows-username: 管理員

# [mandatory] windows-password
# Password of the privileged system user on this centralized mail server.
windows-password:

[cd1]
# This optional section defines settings of centralized DNS server 'cd1'.
# Fill this section's settings and list it in the 'centralized-dns-servers' setting of GLOBAL section
# to get the DNS forwarding set up on this server.
# Remove this section otherwise.

# [mandatory] ip
# An IP v4 address of this centalized DNS server.
ip:

# [optional] ssh-username
# User name of the privileged system user on this centralized DNS server. 如未指定,則使用'root'。
# ssh-username: root

# [optional] ssh-auth-type
# SSH 驗證類型。
# 支援兩種驗證類型:'password' 或 'key'. 默認為'password'.
# ssh-auth-type: password

# [optional] ssh-password
# Password of the privileged system user on this centralized DNS server.
# 如果您選擇了 SSH 驗證類型'password',則必須要指定該密碼。
# 注意密碼中的散列符號會被視作常規符號。
ssh-password:

# [optional] ssh-key
# SSH private key file name. You can specify it if you select SSL authentication type 'key'.
# If not specified, "id_rsa" or "id_dsa" keys from ~/.ssh are used.
# ssh-key: id_dsa

[mssql1]
# This optional section defines settings of external MSSQL database server 'mssql1'.
# Fill this section's settings and list it in the 'external-db-servers'
# setting of GLOBAL section to get the MSSQL databases copied from this server with native MSSQL backup.
# Remove this section otherwise.

# [mandatory] host
# The address of this database server, exactly as displayed in Plesk Panel (usually it equals
# to database server's IP address).
host:

# [mandatory] type
# 資料庫伺服器的類型,只允許值 'mssql'
類型:mssql

# [mandatory] ip
# 該資料庫伺服器的 IP v4 地址。
ip:

# [optional] windows-username
# 該集中式郵件伺服器上優先順序系統使用者的用戶名。默認為 'Administrator'.
# windows-username: 管理員

# [mandatory] windows-password
# 該資料庫伺服器上的優先順序系統使用者的密碼。
windows-password: