Articles in this section

How to create a full server backup excluding some clients/domains on a Plesk server?

Plesk for Windows kb: how-to Plesk for Linux ABT: Group A

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Question

How to create a full server backup excluding some clients/domains on a Plesk server?

Answer

The feature of excluding a certain domain from a backup via Plesk UI is yet to be implemented. Vote for this feature on our Product Roadmap page:

 

As a workaround, use the CLI utility plesk bin pleskbackup (plesk bin pleskbackup.exe on Plesk for Windows) to manually create a full server-wide backup (not applicable to scheduled backups).

The following exclude options are available:

  • --exclude-reseller=<obj1>,<obj2>,...
    Exclude resellers from backup list. Reseller's logins are read from command line, comma-separated.
    If no resellers provided, resellers are not backed up.
  • --exclude-reseller-file=<file>
    Exclude resellers listed in file from backup list. File should contain list of reseller's logins one per line.
  • --exclude-client=<obj1>,<obj2>,...
    Exclude clients from backup list. Client's logins are read from command line, comma-separated.
    If no clients provided, clients are not backed up.
  • --exclude-client-file=<file>
    Excludes clients listed in file from backup list. File should contain list of client's logins one per line.
  • --exclude-domain=<obj1>,<obj2>,...
    Exclude domains from backup list. Domain's names are read from command line, comma-separated.
    If no domains provided, domains are not backed up.
  • --exclude-domain-file=<file>
    Exclude domains listed in file from backup list. File should contain list of domain's names one per line.

Examples:

For Linux
  1. Connect to the server via SSH.
  2. Back up the Plesk server excluding the domains mentioned (comma-separated):

    # plesk bin pleskbackup server --exclude-domain=example.com,example2.com

For Windows
  1. Connect to the server via RDP
  2. Back up the Plesk server excluding the domains mentioned (comma-separated):

    C:\> plesk bin pleskbackup.exe --server --exclude-domain example.com,example2.com -v

Additional information

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.