Code: Select all
Could not transfer file. Permissions may be wrong or folder may not exist.Code: Select all
[03-Dec-2024 09:42:49] WARNING: [pool www] child 3852453 said into stderr: "NOTICE: PHP message: PHP Warning: ssh2_scp_send(): Failure creating remote file: failed to send file (-28) in /usr/local/nagiosxi/html/includes/components/scheduledbackups/ajaxcalls.php on line 0"Code: Select all
\nStarting new backup....\n
Backing up Nagios Core...
tar: Removing leading `/' from member names
tar: /usr/local/nagios/var/rw/nagios.qh: socket ignored
Backing up Nagios XI...
tar: Removing leading `/' from member names
Backing up MRTG...
tar: Removing leading `/' from member names
Backing up the SNMP directories
tar: Removing leading `/' from member names
tar: Removing leading `/' from member names
Backing up NRDP...
tar: Removing leading `/' from member names
Backing up Nagvis...
tar: Removing leading `/' from member names
Backing up nagios user home dir...
tar: Removing leading `/' from member names
Backing up MySQL databases...
mysqldump: [Warning] Using a password on the command line interface can be insecure.
mysqldump: [Warning] Using a password on the command line interface can be insecure.
mysqldump: [Warning] Using a password on the command line interface can be insecure.
Backing up cronjobs for Apache...
Backing up logrotate config files...
Backing up Apache config files...
Compressing backup...
===============
BACKUP COMPLETE
===============
Backup stored in /store/backups/nagiosxi/nagiosxi.1733245263.tar.gz
12-03-2024 10:01:45 ERROR: Scheduled SSH Backup Failed: File was not transferred successfullyGiven that I can manually SCP files from the Nagios system to the Windows server, but doing so via Nagios is failing, I imagine this is likely an issue with the ssh2_scp_send PHP module. If so, I'm not sure how to begin troubleshooting that. Any thoughts on this issue would be greatly appreciated. Thanks.