Defining How the Backup Process is Performed

Define the way how the backup process will be performed includes the following:

  1. Defining backup verbosity
  2. Suspending the domains being backed up

 

Defining level of backup verbosity

Verbose mode of backup process is defined by the -v option. The option behavior differs on Linux/Unix and Windows systems.

On Linux/Unix, the level of backup process verbosity is defined by a number of the -v options used in the backup command. Depending on the number of used -v options, we distinguish the following three levels:

  1. 0 to 2 -v used. The minimum level, only general errors are displayed, like, for example, syntax errors (no or wrong command specified, invalid input parameters), runtime errors and unhandled exceptions, low disk space for backup and so on.
  2. 3 -v used. Normal verbosity level, includes general errors (see above) and information on backup stages (e.g., 09:18:40 INFO Create backup task description).
  3. 4 to 5 -v used. The maximum verbosity level, in addition to the previous, includes debug information and response/request messages to the internal backup utility.

Note: pleskbackup outputs information on its execution to stdout only. If you want to have the backup log saved, redirect the utility output to a file with standard command line means.

 

To run a task on creating a complete server backup with maximum level of verbosity:

pleskbackup --server -vvvvv

 

On Windows, only two verbosity levels are supported, depending on whether the -v option is used in the backup command or not:

  1. No -v option used. The minimum level, only general errors are displayed, like, for example, syntax errors (no or wrong command specified, invalid input parameters), runtime errors and unhandled exceptions, low disk space for backup and so on.
  2. The -v option used. Sets up verbosity level equal to 4: in addition to the previous, includes debug information and response/request messages to the internal backup utility.

   

Suspending domains

In case your backup is going to include domains, it is recommended to use the --suspend option to suspend the domains during the backup process. Doing this ensures from errors in backup files that may be caused by changes done to the domain configuration and/or content during the backup.

The suspension is made up to be as short as possible: each domain is suspended only for the time it is being backed up, the domain is started automatically as soon as the domain data is processed.