O
organicdevelopm
Guest
Hi,
I have been playing around with the plesk backup utility in plesk 8.3 and have unearthed what appears to be a major bug.
Running the following command:
/usr/local/psa/bin/pleskbackup -c -v all --skip-logs /backups/psabackup;
Backups the server config details into a backup file, this works fine and excludes the domain data, mail records, databases etc.
However, after running the next 2 commands:
/usr/local/psa/bin/pleskrestore --create-map /backups/psabackup -map /backups/mapfile;
/usr/local/psa/bin/pleskrestore --restore /backups/psabackup -map /backups/mapfile -level server -nowarning;
ALL domain data is erased allong with ALL database tables, the databases themselves remain however.
Now, from my point of view, this seems a bit odd. Surely when restoring control panel and domain SETTINGS only, it shouldnt delete current domains, it should merely check if a domain exists, if it does, just update its details, if it doesnt, create it and its associated directories etc.
The reasons I am trying to do this is that I want to use plesk in a master/slave configuration to get 100% uptime and using the plesk backup/restore seems to be the only way to do this.
Can anyone shed any light on this?
Thanks
Oli
Organic Development
I have been playing around with the plesk backup utility in plesk 8.3 and have unearthed what appears to be a major bug.
Running the following command:
/usr/local/psa/bin/pleskbackup -c -v all --skip-logs /backups/psabackup;
Backups the server config details into a backup file, this works fine and excludes the domain data, mail records, databases etc.
However, after running the next 2 commands:
/usr/local/psa/bin/pleskrestore --create-map /backups/psabackup -map /backups/mapfile;
/usr/local/psa/bin/pleskrestore --restore /backups/psabackup -map /backups/mapfile -level server -nowarning;
ALL domain data is erased allong with ALL database tables, the databases themselves remain however.
Now, from my point of view, this seems a bit odd. Surely when restoring control panel and domain SETTINGS only, it shouldnt delete current domains, it should merely check if a domain exists, if it does, just update its details, if it doesnt, create it and its associated directories etc.
The reasons I am trying to do this is that I want to use plesk in a master/slave configuration to get 100% uptime and using the plesk backup/restore seems to be the only way to do this.
Can anyone shed any light on this?
Thanks
Oli
Organic Development