Scheduled FTP backups not copying on remote FTP server
Scheduled FTP backups not copying on remote FTP server
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!
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!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Scheduled FTP backups not copying on remote FTP server
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
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
You do not have the required permissions to view the files attached to this post.
Re: Scheduled FTP backups not copying on remote FTP server
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.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Scheduled FTP backups not copying on remote FTP server
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
/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
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.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Scheduled FTP backups not copying on remote FTP server
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
Code: Select all
tail -f /var/log/httpd/_error_logRe: Scheduled FTP backups not copying on remote FTP server
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
@JoeR, are the scheduled backups copying over to the remove FTP server now? Is your issue resolved?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Scheduled FTP backups not copying on remote FTP server
Yes! Problem has been resolved. Thank you very much!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Scheduled FTP backups not copying on remote FTP server
ExcellentJoeR wrote:Yes! Problem has been resolved. Thank you very much!
Locking