• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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