Applicable to:
- Plesk Onyx for Windows
Symptoms
Backup created via command line with a command pleskbackup.exe with options exclude-reseller/client does not exclude its child objects (clients or domains of the reseller) from the backup
Cause
This is a Plesk bug with ID PPPM-8666 which will be fixed in future product updates.
Resolution
As a workaround perform the following:
-
Connect to the server via RDP
-
Create a list of customers owned by the reseller, using the reseller login name:
# plesk db -e "select c.login from clients c where c.vendor_id in (select c.id from clients c where c.login='username');" -Ns > C:\exclude_clients.txt
-
Create a list of domains owned by the reseller:
# plesk db -e "select name from domains d, clients c where d.vendor_id=c.id and c.login='username'" -Ns > C:\exclude_reseller_domain.txt
-
Create a backup using created lists with the following command:
# plesk bin pleskbackup.exe --server --exclude-reseller=username --exclude-client-file=C:\exclude_clients.txt --exclude-domain-file=C:\exclude_reseller_domain.txt
Comments
0 comments
Please sign in to leave a comment.