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

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