• 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!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Forwarded to devs Active scheduled customer account backup can't be managed if all domains are removed from account

Kaspar

API expert
Plesk Guru
Username:

TITLE


Active scheduled customer account backup can't be managed if all domains are removed from account

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Alma 8
Plesk 18.0.70#1

PROBLEM DESCRIPTION

Based on issue raised in this thread.

When there is an scheduled customer account backup active and all domains from the customer account are removed later, the scheduled account backup is still kept active and running, but can not be managed (or disabled) via GUI by either customer or administrator. You're basically left with a scheduled ghost backup.

STEPS TO REPRODUCE

1) Create customer and add and domain to the customer
2) Active an scheduled customer account backup
3) Remove domain(s) from customer account
4) Login as the customer and notice how there is no option left access the scheduled customer backup (/smb/backup/schedule)

ACTUAL RESULT

There is no way to access the scheduled customer account backup page to manage the already active scheduled backup.

EXPECTED RESULT

Be able to manage to the active scheduled customer account backup.
The scheduled customer account backup gets disabled when there are no domains left on the customer account.

ANY ADDITIONAL INFORMATION

Suggested workaround is to either:
a) Use CLI to manage/disable account backups.
or
b) add an (random) domain again to the account to regain access to the account backup page.

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Last edited:
@Kaspar , our team was unable to reproduce the issue. Status after steps 1 & 2:

Bash:
root@10-69-43-164:~# plesk db "select * from psa.BackupsScheduled where obj_type = 'domain';"
+----+--------+----------+------------+---------------------+--------+--------+-----------+----------+--------+-------+------------+---------+--------------+------------+-------------+------------------------------+--------------------+---------------------+----------------------+-------------------+---------------+--------------+--------------------+------------------------+----------------------+
| id | obj_id | obj_type | repository | last                | period | active | processed | rotation | prefix | email | split_size | suspend | with_content | backup_day | backup_time | content_type                 | full_backup_period | mssql_native_backup | backupExcludeFilesId | backupExcludeLogs | remoteStorage | exclude_mail | exclude_user_files | exclude_user_databases | last_validation_time |
+----+--------+----------+------------+---------------------+--------+--------+-----------+----------+--------+-------+------------+---------+--------------+------------+-------------+------------------------------+--------------------+---------------------+----------------------+-------------------+---------------+--------------+--------------------+------------------------+----------------------+
|  2 |      3 | domain   | local      | 2025-06-16 17:06:04 |   3600 | true   | false     |        4 |        |       |          0 | false   | true         |          0 | 00:00:00    | backup_content_all_at_domain |             604800 |                   1 |                    2 |                 0 | NULL          |            0 |                  0 |                      0 | NULL                 |
|  3 |      3 | domain   | local      | 2025-06-16 17:09:15 |  86400 | true   | false     |        4 |        |       |          0 | false   | true         |          0 | 17:00:00    | backup_content_all_at_domain |             604800 |                   1 |                    3 |                 0 | NULL          |            0 |                  0 |                      0 | NULL                 |
|  6 |      4 | domain   | local      | 2025-06-16 17:16:03 |  86400 | true   | false     |        4 |        |       |          0 | false   | true         |          0 | 17:15:00    | backup_content_all_at_domain |             604800 |                   1 |                    6 |                 0 | NULL          |            0 |                  0 |                      0 | NULL                 |
+----+--------+----------+------------+---------------------+--------+--------+-----------+----------+--------+-------+------------+---------+--------------+------------+-------------+------------------------------+--------------------+---------------------+----------------------+-------------------+---------------+--------------+--------------------+------------------------+----------------------+

Status after step 3: (no remaining backups):

Code:
root@10-69-43-164:~# plesk db "select * from psa.BackupsScheduled where obj_type = 'domain';"
root@10-69-43-164:~#

The same results are observed while checking with Scheduled Backups List extension.
 
@Sebahat.hadzhi, the SQL query shows that 'domain' types backups have been used for testing. However the issue is about the 'customer' type backups. The ones created with this button in Plesk:

Screenshot 2025-06-17 at 10-47-30 Account Information and Tools for another-domain.com - Plesk...png

I should have specified that more clearly in the initial report. Sorry about that.
 
Back
Top