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

Create Scheduled Backup with Cron

  • Thread starter Daniel Homoki-Farkas
  • Start date
D

Daniel Homoki-Farkas

Guest
Hi,

I'm trying to create a scheduled backup of all my clients on the server. I would like to put every backup file, to the backup folder, found in the ROOT, so: /backup

I'm using the following, to the command line:
/usr/local/psa/bin/pleskbackup <clients>

And I get this message, through email:
/bin/sh: -c: line 0: syntax error near unexpected token `newline'
/bin/sh: -c: line 0: `/usr/local/psa/bin/pleskbackup <clients>'


My aim is to backup every client on the server.
But if there is any solution, to backup only the httpdoc-s, and the databases of EVERY domain, than I rather go for that one.

If someone knows the command line's code for this problem, than please help.

Kind regards,

Daniel
 
Look at output of

# /usr/local/psa/bin/pleskbackup --help

and correct your command according it.
 
Hi,

Thanks, that is working.

Now I would like to create a backup with cron, to my backup, and storage device, through FTP...

The command line is the following:
/usr/local/psa/bin/pleskbackup domains [email protected] --ftp-password=Password --output-file=/private/crontab_backup.tar

But I keep getting the following email, from Cron Daemon:
*******************************************************************
*******************************************************************
*** You are using old-style pleskbackup command-line interface. ***
*** Please switch to new style documented in 'pleskbackup help',***
*** because old style eventually have been dropped. ***
********************************************************************
********************************************************************

I of course, did check the pleskbackup help, and did everything, as it is sayed over there, but it is still not working.

Could you please send me a correct code, with the details provided?

Thanks for your help in advance!

Kind regards,

Daniel Homoki-Farkas

Ps.: This is not my storage device FTP details. I'm just using a single FTP connection, on an another server!
 
Back
Top