• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Invalid pleskbackup increment command

Zoler0

New Pleskian
Hello Plesk Forums,

I'm trying to setup automatic backups for my server. I'm running the latest plesk parallels. 12.5.30
Now I like to export the incremental backups towards a different location. So I use: --output-file=<fullpath/filename>

Using this documentation: http://docs.plesk.com/en-US/12.5/ad...ta/backup-utility-commands-and-options.68843/

Normal backup without --incremental works:
[root@server]# /usr/local/psa/bin/pleskbackup server --description="FULL server backup" --verbose --output-file="/var/lib/psa/tmp/full_backup.tar"

Incremental backup with--incremental does not work:
[root@server]# /usr/local/psa/bin/pleskbackup server --description="Incremental server backup" --verbose --incremental --output-file="/var/lib/psa/tmp/incremental_backup.tar"

The error I receive is:
The option --output-file must specify existing directory path to store incremental backup at /usr/local/psa/admin/bin/plesk_agent_manager line 922.

Now when I don't specify the filename when I do an incremental backup (Without incremental_backup.tar) it does work. Like this:
[root@server]# /usr/local/psa/bin/pleskbackup server --description="Incremental server backup" --verbose --incremental --output-file="/var/lib/psa/tmp/"

But I want my own specified filename...

Could you guys please fix this or give me alternatives to do?

Kind regards,
Zolero
 
You can't specify name of incremental backup because it is system task. Names of main and increment backups should follow certain rules. For example, I have created first backup:

[root@ppu12-5 ~]# /usr/local/psa/bin/pleskbackup server --description="Incremental server backup" --verbose --incremental --output-file=/var/lib/psa/dumps/
..Accounts [1/2], Domains [0/1]
Accounts [2/2], Domains [1/1]
Accounts [2/2], Domains [1/1]
Accounts [2/2], Domains [1/1]
-------------- Start print backup log hire --------------
<?xml version="1.0" encoding="UTF-8"?>
<execution-result status="success" log-location="/usr/local/psa/PMM/sessions/2016-04-14-101440.514/migration.result"/>
-------------- End print backup log hire --------------

You can view additional information in the log file located in /usr/local/psa/PMM/sessions/2016-04-14-101440.514 directory. This directory will be removed automatically after 30 days

The backup finished successfully
[root@ppu12-5 ~]# ll /var/lib/psa/dumps/
total 816
-rw-r--r-- 1 root root 400556 Apr 14 10:14 backup_1604141014.tar


Then I added database for one domain and created increment:

# /usr/local/psa/bin/pleskbackup server --description="Incremental server backup" --verbose --incremental --output-file=/var/lib/psa/dumps/
..Accounts [1/2], Domains [0/1]
Accounts [2/2], Domains [1/1]
Accounts [2/2], Domains [1/1]
-------------- Start print backup log hire --------------
<?xml version="1.0" encoding="UTF-8"?>
<execution-result status="success" log-location="/usr/local/psa/PMM/sessions/2016-04-14-101619.71/migration.result"/>
-------------- End print backup log hire --------------

You can view additional information in the log file located in /usr/local/psa/PMM/sessions/2016-04-14-101619.71 directory. This directory will be removed automatically after 30 days

The backup finished successfully
[root@ppu12-5 ~]# ll /var/lib/psa/dumps/
total 1128
-rw-r--r-- 1 root root 318636 Apr 14 10:16 backup_1604141014_1604141016.tar
-rw-r--r-- 1 root root 400556 Apr 14 10:14 backup_1604141014.tar

 
Back
Top