Page 1 of 1
Scheduled FTP backups not copying on remote FTP server
Posted: Thu Aug 02, 2018 10:10 am
by jmercier
I have a problem with my scheduled FTP backup where the backup is created locally in /store/backups/nagiosxi but is not copied to my remote FTP server and is not deleted from the local nagios server.
I think the problem is there since I upgraded to 5.5.1.
All the settings seems good, I tried a Test Upload and it worked fine.
thanks for your help!
Re: Scheduled FTP backups not copying on remote FTP server
Posted: Thu Aug 02, 2018 10:29 am
by scottwilkerson
We believe we found a bug.
unzip and replace the 2 files attach in
/usr/local/nagiosxi/html/includes/components/scheduledbackups/scheduledbackups.inc.php
/usr/local/nagiosxi/html/includes/utils-commands.inc.php
After this these should remove the old files on the next backup
Re: Scheduled FTP backups not copying on remote FTP server
Posted: Thu Aug 09, 2018 3:49 pm
by JoeR
I have the same issue - I'm on 5.5.2. I attempted to upload the 2 files posted, and I lost the "System Backup" section. Fortunately, I was able to restore these two files. What can I do to get my scheduled backups to FTP to my remote server again.
Re: Scheduled FTP backups not copying on remote FTP server
Posted: Thu Aug 09, 2018 5:04 pm
by scottwilkerson
unzip and replace the 2 files attach to
/usr/local/nagiosxi/html/includes/components/scheduledbackups/scheduledbackups.inc.php
/usr/local/nagiosxi/html/includes/utils-commands.inc.php
Re: Scheduled FTP backups not copying on remote FTP server
Posted: Thu Aug 09, 2018 6:03 pm
by JoeR
Which 2 zip files should I use? If from the previous post, unless you just updated them, I tried those. Once I replaced the 2 files, I lost the "System Backup" section. Please advise.
Re: Scheduled FTP backups not copying on remote FTP server
Posted: Fri Aug 10, 2018 7:23 am
by scottwilkerson
Yes the ones above. If you try again, if you are "losing the section" can you show the output of the following while you try to load the admin area
Re: Scheduled FTP backups not copying on remote FTP server
Posted: Fri Aug 10, 2018 11:23 am
by JoeR
Second attempt, it worked. This time I made sure that the permissions and attributes of the files were correct. I might have missed that last time. Thank you.
Re: Scheduled FTP backups not copying on remote FTP server
Posted: Fri Aug 10, 2018 11:28 am
by lmiltchev
@JoeR, are the scheduled backups copying over to the remove FTP server now? Is your issue resolved?
Re: Scheduled FTP backups not copying on remote FTP server
Posted: Fri Aug 10, 2018 1:47 pm
by JoeR
Yes! Problem has been resolved. Thank you very much!
Re: Scheduled FTP backups not copying on remote FTP server
Posted: Fri Aug 10, 2018 1:48 pm
by scottwilkerson
JoeR wrote:Yes! Problem has been resolved. Thank you very much!
Excellent
Locking