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

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