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
ftp backup log
Re: ftp backup log
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:
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:
and schedule another backup. PM the ftp.pcap file this creates as it may contain sensitive info.
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>
Code: Select all
tcpdump -s 0 -i any host <IP_OF_FTP_SERVER> -w ftp.pcap
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
nms_system_support
- Posts: 39
- Joined: Tue Jun 17, 2014 2:58 am
Re: ftp backup log
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!
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!
-
kyang
Re: ftp backup log
Closing this as resolved, if you have more questions feel free to create another forum topic.
Thank you for using the Nagios Support Forums.
Thank you for using the Nagios Support Forums.