• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Incrementall backup CLI

Hello :)

The following scenario:
I have a script that makes a backup of a certain domain every 2 hours.
The command is:

plesk bin pleskbackup --domains-name ***.*** --output-file="ftp://****.backupspace.at/backup/backup_test" --ftp-login=***** --ftp-password=******* --incremental

If I now execute the command that runs the backup, change a file or upload a new file to the webspace, and execute the command again, plesk overwrites the previous file.
It is also somehow logical if you specify a --output-file parameter. But if I'm not mistaken, such an incremental backup would always create a new file with the changes? or am I getting something wrong?
 
When you make a backup to the same file, then, of course, it is overwritten every time and no increments are created. You just need to specify a directory instead of a file --output-file = "ftp: //****.backupspace.at/backup/" with a mandatory '/' at the end.
 
When you make a backup to the same file, then, of course, it is overwritten every time and no increments are created. You just need to specify a directory instead of a file --output-file = "ftp: //****.backupspace.at/backup/" with a mandatory '/' at the end.

I see, thanks!
 
Back
Top