0

Ive been trying to create a Cron Job to Ultimatly back up the Data within my Public Html File

backup-JMORetail.sh Code

#!/bin/sh
NOW=$(date +'%Y.%m.%d')

tar cfz /home/jmoretai/Back-Ups_Local/TempLocalBack-UpDir/back-up_JMORetail.Com_$NOW.tar.gz /home/jmoretai/public_html

Errors

/usr/local/cpanel/bin/jailshell: /home/jmoretai/Back-Ups_Local/backup-JMORetail.sh: Permission denied

  • The error mentioning `..../CPANEL/bin/....` raises alarm bells. - Questions involving web hosting control panels are off-topic because [they customize their systems so that standard system administration methods no longer apply](https://meta.serverfault.com/questions/8055/) . Some related topics may be asked on Webmasters SE or see [Where can I ask questions about web hosting control panels?](https://meta.serverfault.com/questions/8094) - You may need to do something CPANEL specific – diya Dec 19 '22 at 08:45

0 Answers0