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

Cronjob for backup did not work after 8.6 upgrade

N

nandar

Guest
Hi,

I have below cronjob to run everynight. It stopped working after 8.6 upgrade. Please advise.

/usr/local/psa/bin/pleskbackup -v all --skip-logs /var/backups/mybkpfile.psa

Thanks.
Nandar
 
You can try running that on the command line to see if the tool (pleskbackup) report any errors or actually do the expected job.
 
Thanks for the reply. When I tried to run the following command at the command line,
/usr/local/psa/bin/pleskbackup -v all --skip-logs /var/backups/mybkpfile.psa

I got the following error message.
Unknown option: skip-logs

Apprently --skip-logs option is not working anymore with Plesk 8.6.

If I tried with
/usr/local/psa/bin/pleskbackup -v all skip-logs /var/backups/mybkpfile.psa

I got the following error message,
The following domains were not found on the host: skip-logs

Any idea?
 
Try the following: (worked on my box just now)

/usr/local/psa/bin/pleskbackup -v all skip-logs /var/backups/mybkpfile.psa

Aparently, skip-logs doesn't need '--' anymore, if thats on purpose or a bug in the utility, i wonder...

Post if it worked, please.

EDIT: nvm, just saw it was the same thing you tried after. But strangely enough, it worked for me.
 
Thanks. Actually, I didnt' try with all domains yet. I tried with individual domain like

/usr/local/psa/bin/pleskbackup -v domains skip-logs mydomain.com /var/backups/mydomain.psa

and it gave me the following error.
The following domains were not found on the host: skip-logs

So, I will remove '--' in my command in cronjob and see what happen tomorrow morning. Will let you know.
Thanks.
 
Hello!
This problem will be fixed soon. The hotfix is being prepared.
Tnanks.
 
my last night cronjob worked. So, I confirm that below command works.

/usr/local/psa/bin/pleskbackup -v all skip-logs /var/backups/mybkpfile.psa
 
yes. but the option "skip-logs" will not work in this case.

Thanks.
 
Hello!
This problem will be fixed soon. The hotfix is being prepared.
Tnanks.
Was this ever fixed? The --skip-logs option is still not working. Using "skip-logs" (without the -- in front) does nothing.
 
After upgrading to 9.0
my normal cronjobs are reproting "could not found file"

If i call a script cron.php that calling a config.php in it with using this type path in it "../" it is not working it says "could not found file"

How can i fix this???
Thanks
 
Back
Top