• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Input list of "Subscriptions" where there is no Scheduled Backup

This is a bit tricky, because when a user has never before scheduled a backup, Plesk does not have a backup dataset, while when he has scheduled a backup, but then turned it "inactive" by unchecking the "active" checkbox, Plesk has a dataset with a flag.

To see all subscriptions (subscription user name and main domain name of subscription) where either a user has never before scheduled a backup or he did schedule a backup before but the backup is set to "inactive", please run this query from "plesk db" database interface:

Code:
select a.login AS login, c.name AS domainname
FROM sys_users AS a
INNER JOIN hosting AS b ON b.sys_user_id = a.id
INNER JOIN domains AS c ON c.id = b.dom_id
INNER JOIN Subscriptions AS d ON d.object_id = c.id
LEFT JOIN BackupsScheduled as e ON e.obj_id = c.id
WHERE ((e.id IS NULL) OR (e.active LIKE 'true')) AND (c.webspace_id LIKE '0')

You can also run this in a single line from the Linux console:

Code:
#plesk db "select a.login AS login, c.name AS domainname FROM sys_users AS a INNER JOIN hosting AS b ON b.sys_user_id = a.id INNER JOIN domains AS c ON c.id = b.dom_id INNER JOIN Subscriptions AS d ON d.object_id = c.id LEFT JOIN BackupsScheduled as e ON e.obj_id = c.id WHERE ((e.id IS NULL) OR (e.active LIKE 'true')) AND (c.webspace_id LIKE '0')"
 
Back
Top