Symptoms
Resolution
To fix the issue it is necessary to remove all entries related to the domain from longtasks table of of Plesk database.1. Run command below to selelct all records for the domain:
"%plesk_bin%"\dbclient.exe --direct-sql "--sql=select id,start_time,finish_time,status FROM longtasks where title like '%domain.tld%'
Where domain.tld is domain which fails to backup.
An example of output:
id start_time finish_time status
1 2009-01-26 11:51:01 2009-01-28 12:21:36 cancel_pending
2 2009-01-30 14:23:20 2009-01-30 20:23:20 done
3 2009-01-30 14:24:19 2009-01-30 20:24:19 error
4 2009-01-30 14:26:52 2009-01-30 20:26:52 done
2. Remove all records except last succesfull one, example for output above:
"%plesk_bin%"\dbclient.exe --direct-sql "--sql=delete from longtasks where title like '%domain.tld%' and id<>4"