• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

pleskbackup with stdin/out

M

MattElmore

Guest
I would like to pipe the pleskbackup over another process (e.g., ssh or ftpbackup) for the purpose of transferring the backup to our backup server WITHOUT first creating a local copy on disk.

Something like this:

# plesbackup --all - | ssh root@backupserver dd of=/mnt/raid/backups/`uname -n`

where '-' is the stdout

This does not appear to work correctly as it did in 7.5R.

OS is FreeBSD.

Any suggestions?

Regards,
Matt
 
Plesk 8.1 is able to do it. In community preview:

Usage: pleskbackup [<global-options>] <command> [<local-options>] <arguments>
<output-file>

Global options:
-v|--verbose
Show more information about backup process. Multiple -v
options increase verbosity.

-c|--configuration
Backup only configuration of objects, not the content.

-s|--split[=<size>]
Split the generated backups to the parts. Parts are numbered
by appending .NNN suffixes, starting with .001.

Size may be specified in kilobytes (<nn>K), megabytes (<nn>M)
and gigabytes (<nn>G).

'-s' option without argument selects default split size:
2 gigabytes.

-z|--no-gzip Do not compress backup file

Commands:
all Backs up whole Plesk.

clients Backs up selected clients. Clients are read from command line,
space-separated. If no clients provided, backs up all clients
on the host.

domains Backs up selected domains. Domains are read from command line,
space-separated. If no domains provided, backs up all domains
on the host.

Options --exclude and --exclude-file may be specified for
excluding some clients/domains.

help Shows this help page

Local options:
-f|--from-file=<file>
Read list of domains/clients from file, not from command line.
File should contain list of domains/clients one per line.

--exclude=<obj1>,<obj2>,...
Excludes listed domains/clients from backup list.

--exclude-file=<file>
Excludes domains/clients listed in file from backup list.
File should contain list of domains/clients one per line.

--skip-logs Do not save log files in the backup file

Output file:
Backup file. '-' means 'stdout'.
 
Back
Top