When using psadump from the command line, the --nostop and --nostop-domain options can be used.
more info (from a 7.5.4 psadump):
CODE
# /usr/local/psa/bin/psadump -h
Usage: /usr/local/psa/bin/psadump [-h] [-F] [-z] -f <dumpfile> [options]
Options:
-h - This help.
-F - Make (f)ull dump(it is default option, -C option is not supported now).
-z - Enable gzip compression for result dump file.
-f <dumpfile>
/fullpath/filename - regular file,
/fullpath/ - dir for dumpfile with default name,
- - use stdout for output,
ftp://<login>:<password>@<server>/<dumpfile_path> - storing the backup file on remote ftp server.
--clients-ids - file with clients ids list which must be dumped;
--clients-logins - file with clients logins list which must be dumped;
--domains-ids - file with domains ids list which must be dumped;
--domains-names - file with domains names list which must be dumped;
--clients-ids-skip - file with clients ids list which must be skipped during backup;
--clients-logins-skip - file with clients logins list which must be skipped during backup;
--domains-ids-skip - file with domains ids list which must be skipped during backup;
--domains-names-skip - file with domains names list which must be skipped during backup;
--force - if dumpfile already exists, it will be overwritten
without prompting
--version - show version of Backup/Restore utilities
--nostop - don't stop services during dump procedure (each domain will be turned off/on)
--nostop-domain - don't stop each domain if --nostop is used
--noblock - do not block backup/restore actions, i.e. allow backup/restore
actions for other domains at the same time;
--do-not-dump-logs - do not dump virtual host log files
--no-internal-zip - don't compress with gzip part of dump file
(for example: this option disables compression for
vhosts dirs, mail names);
--tar-ignore-failed-read - don't exit with non-zero status on
unreadable files
Here's an example of its usage, with a file called dump-domains.txt that specifies exactly which domains are to be backed up (with one domain per line in that file):
CODE
/usr/local/psa/bin/psadump -f - --domains-names=/path/to/dump-domains.txt --nostop --nostop-domain --do-not-dump-logs --tar-ignore-failed-read | split -b 1000m - dump.