Hi Trollface
We have recently tested the restore procedures from Plesk 11, and I had exactly the same problem as you.
Here is a procedure that should work:
Shorthands:
PBM = Plesk Business Manager
PPP = Parallels Plesk Panel
- Reinstall OS
- Reinstall Plesk (with business manager)
- Initialize Plesk / Insert License key
- Delete ALL default Plans (there are three tabs on that page - delete everything)
- Don't initialize PBM (not sure if this matters)
- Disable SSO as root:
Code:
/usr/local/psa/bin/sso --disable
- Restore full PPP backup (we have done gui, CLI should work too)
- Backup restore scripts mess up permissions on two very important files:
Code:
chmod 0640 /usr/local/psa/var/sso.idp.pem
chmod 0640 /usr/local/psa/var/sso.sp.pem
chown psaadm:sw-cp-server /usr/local/psa/var/sso.idp.pem
chown psaadm:sw-cp-server /usr/local/psa/var/sso.sp.pem
/usr/share/plesk-billing/sso --command=repair-all
- Restore PBM (billing) database (KB 5300):
Code:
gunzip -c billing.sql.gz | mysql --default-character-set=utf8 billing
- To be sure, disable SSO once again:
Code:
/usr/local/psa/bin/sso --disable
- Log in to plesk, navigate to PBM. It will probably ask you for your password again.
- Now you have to go to PBM -> All Settings -> Hosting panels
- Click on Plesk Unix (if you are using Linux)
- Click Edit on the RIGHT SIDE (there are two edits)
- Insert Password
- Click OK
- Click on Plesk Unix again
- Click Reconnect
- Wait for the syncing to complete (check on the homepage of PBM)
- If some sync tasks are taking too long to complete, click them where it says "syncing", and then select all and click sync.
- Go back to PPP and go to Service Plans
- Click on every individual plan and on the bottom check the long sync description and click OK
- Do this for every plan you have from PPP
- Check back in PBM to see if everything matches
SSO Should be enabled now, after doing the "reconnect" thing
There is still one problem that we saw. No Periodic tasks in the Tasks menu in PBM.... We need a fix for this ASAP!
Please, if someone from Parallels Plesk Engineering team could see this issue, please repair your restore scripts so that SSO certs don't get messed up
Aslo, please provide us with a way to re-enable PBM without having to go throught this huge procedure
To recreate this problem is quite easy
Install Plesk with licence (probably trial works too)
Create a few plans / customers / subscriptions in PBM
Create test content on those subscriptions
Full backup
billing dump
and repeat the above procedure.
The tasks in PBM never get restored...
Please help!