Page 1 of 1
ftp backup log
Posted: Tue Sep 19, 2017 6:50 am
by nms_system_support
Hi,
Scheduled ftp backup is not working. Even though no error appears in GUI the backup file is never transfered at remote destination.
Test connection and test upload is working properly.
Could anyone knows where is the log for ftp in case we can find an error? or any other idea would be helpful.
thank you
Re: ftp backup log
Posted: Tue Sep 19, 2017 1:39 pm
by cdienger
What version of XI is this for? Can you provide a screenshot of the FTP settings on XI?
Try setting the fequency to Daily and just a few minutes in the future for the current day and then run the following on the cli:
Code: Select all
tcpdump -y install tcpdump
tcpdump -i any host <IP_OF_FTP_SERVER> and port <FTP_PORT_NUMBER_FOUND_UNDER_FTP_SETTINGS>
You should see some traffic printed to the screen when a backup occurs. If you do then we know an attempt to transfer is being made and should run:
Code: Select all
tcpdump -s 0 -i any host <IP_OF_FTP_SERVER> -w ftp.pcap
and schedule another backup. PM the ftp.pcap file this creates as it may contain sensitive info.
Re: ftp backup log
Posted: Wed Sep 20, 2017 2:26 am
by nms_system_support
I have to admit that tcpdump -s 0 -i any host <IP_OF_FTP_SERVER> -w ftp.pcap helped a lot.
The problem was with the "The amount of backups you'd like to keep before replacing the oldest backup."
Because we encrypt every backup file in remote server Nagios couldn't find the specific file that had to delete so the backup process never ended.
It is clear now.
Thank you for the help!
Re: ftp backup log
Posted: Wed Sep 20, 2017 9:21 am
by kyang
Closing this as resolved, if you have more questions feel free to create another forum topic.
Thank you for using the Nagios Support Forums.