• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

backupmng database issue

AlisonP

New Pleskian
I've recently started administrating this server and noticed that backupmng isn't working and hasn't been for some time.
After taking a closer look backupmng produces the error:
backupmng: Unable to fetch backup tasks from database: Unknown column 'backup_time' in 'where clause'
Unfortunately this doesn't tell me much about where in the (mysql) psa database it's looking or why and I haven't managed to find any information to help with this.

Does anyone have any suggestions/has anyone else had this problem?

Also it appears cron was set to run this 4 times a minute - that seems more than a little extreme - is it perfectly reasonable for me to change it to run daily at 3am or something instead? This way we still have fairly regular backups and it won't affect server load and important times.

(We are running plesk 9.2.3 by the way)
 
Last edited:
I have managed to solve this; I simlply added a backup_time and backup_day column to the BackupsScheduled table (time and date datatypes, NOT NULL).
This can be done with
ALTER TABLE psa.BackupsScheduled ADD backup_time time NOT NULL;
It then complained that the column 'last' could not be null so I changed the column attributes to allow this then input a fake date afterwards. (Format YYYY-MM-DD HH:MM:SS). I then changed "last" to be NOT NULL again, using:
ALTER TABLE psa.BackupsScheduled CHANGE last last datetime NULL;
and then
UPDATE psa.BackupsScheduled SET last='2010-08-01 02:00:00'
 
Back
Top