• 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.

specify Maximum number of backups in the repository in pleskbackup

Peter Downes

Basic Pleskian
Hello Community

I have set up a custom back up of my VPS server.

/usr/local/psa/bin/pleskbackup server --prefix="VPS" --skip-logs --exclude-domain=mydomain.eu --output-file=ftp://myotherdomain.com/VPS-Backup/ --ftp-login=username --ftp-password=************* --ftp-passive-mode

And I have made this a scheduled task in the Plesk Admin.

All good.

How/Where do I specify the 'Maximum number of backups in the repository' so that the Back Ups don't stack up in the myotherdomain.com account.?

Can I do so by adding an instruction to the command above or through Plesk?
Thanks
 
Hallo,

I'm not familiar with the CLI-Command. But why do you not use the Plesk Backup-Manager via GUI to define the FTP-Backup? There you can define a maximum number as well
 
Thanks Thomas

I need to exclude one account on the VPS which has a very large file that does not need backing up.
I don't think I can exclude an account using the GUI.
 
Oh, I haven't seen the exclude-option. You're right. I doubt that you can manage that via the GUI. And I also doubt that you can define the number via GUI. So you have to write a Little script that manage that by yourself.
 
That looks like it. Thank you IgorG

Sorry I am a real beginner.

Would I run that as part of the CLI command above like this?
/usr/local/psa/bin/pleskbackup server --prefix="VPS" --skip-logs --exclude-domain=mydomain.eu --output-file=ftp://myotherdomain.com/VPS-Backup/ --ftp-login=username --ftp-password=************* --ftp-passive-mode server_pref -u -max-backup-processes 5
 
It is two different commands. With server_pref utility you can specify max number of backups server wide and run it once. With pleskbackup utility you can perform backup procedures.
 
Back
Top