- Plesk 12.5 for Linux
- Plesk 12.0 for Linux
Unable to restore a backup with a predefined IP mapping using the command like:
# /usr/local/psa/bin/pleskrestore --restore /var/lib/psa/dumps/<backup.xml> -map /var/lib/psa/dumps/<mapfile> -level domains
The following error in
CONFIG_TEXT: ERR  PHP Warning: fread(): 268 is not a valid stream resource;
Map file has the following content:
# less /var/lib/psa/dumps/<mapfile>[ip-map]
# Unchanged IP addresses:
# Please review default IP addresses mapping below:
# ip type has improper value. Current ip type value is exclusive
192.0.2.2 shared -> 192.0.2.2 shared
192.0.2.2 IP Address is marked as dedicated in Tools and Settings > IP Addresses
IP type in the mapping file has improper value, e.g it is set to be shared in the map file but it is reported by Plesk to be exclusive, meaning dedicated .
- Log into Plesk.
Change IP types in the mapping file according to server settings in Tools & Settings > IP Addresses and restart restoration procedure: