This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

problem with backup fortigate

i have many fortigate firewalls and i cant backup them with cattool iam using version 3.12

when i run back up i got this message failed to determine host name most likely reason is timeout

when i run debug by enabling capture mode i got the following


<NEWSESSION CatTools 3.12.2.1255 2/13/2023 2:25:19 PM>
<PROTOCOL=SSH2>
<DEVICE TYPE=Fortinet.FortiOS.General>
<ACTIVITY TYPE=Device.Backup.Running Config>
<ACTIVITY SCRIPT=C:\Program Files (x86)\CatTools3\Scripts\Client.Device.Backup.Running Config.txt>
<USERS NAME FOR DEVICE=NG-FW>
<C OK 2:25:19 PM>
<R-2:25:19 PM>PRE WARNING:[10]This is a private computer system. Unauthorized access or use[10]is prohibited and subject to prosecution and/or disciplinary[10]action. Any use of this system constitutes consent to[10]monitoring at all times and users are not entitled to any[10]expectation of privacy. If monitoring reveals possible evidence[10]of violation of criminal statutes, this evidence and any other[10]related information, including identification information about[10]the user, may be provided to law enforcement officials.[10]If monitoring reveals violations of security regulations or[10]unauthorized use, employees who violate security regulations or[10]make unauthorized use of this system are subject to appropriate[10]disciplinary action.[10]
<R-2:25:21 PM>[13][10]POST WARNING:[13][10]This is a private computer system. Unauthorized access or use[13][10]is prohibited and subject to prosecution and/or disciplinary[13][10]action. Any use of this system constitutes consent to[13][10]monitoring at all times and users are not entitled to any[13][10]expectation of privacy. If monitoring reveals possible evidence[13][10]of violation of criminal statutes, this evidence and any other[13][10]related information, including identification information about[13][10]the user, may be provided to law enforcement officials.[13][10]If monitoring reveals violations of security regulations or[13][10]unauthorized use, employees who violate security regulations or[13][10]make unauthorized use of this system are subject to appropriate[13][10]disciplinary action.[13][10][13][10][13][10][13][13][10] [13][10](Press 'a' to accept):
<W-2:25:25 PM>[13]
<R-2:25:25 PM>[13][10][13][10]
<D 2:25:25 PM>
<SCRIPT VALUES>
<HOSTNAME="">
<PROMPT VTY="">
<PROMPT ENABLE="">
<PROMPT CONFIG="">


<NEWSESSION CatTools 3.12.2.1255 2/13/2023 2:28:47 PM>
<PROTOCOL=SSH2>
<DEVICE TYPE=Fortinet.FortiOS>
<ACTIVITY TYPE=Device.Backup.Running Config>
<ACTIVITY SCRIPT=C:\Program Files (x86)\CatTools3\Scripts\Client.Device.Backup.Running Config.txt>
<USERS NAME FOR DEVICE=NG-FW>
<C OK 2:28:47 PM>
<R-2:28:47 PM>PRE WARNING:[10]This is a private computer system. Unauthorized access or use[10]is prohibited and subject to prosecution and/or disciplinary[10]action. Any use of this system constitutes consent to[10]monitoring at all times and users are not entitled to any[10]expectation of privacy. If monitoring reveals possible evidence[10]of violation of criminal statutes, this evidence and any other[10]related information, including identification information about[10]the user, may be provided to law enforcement officials.[10]If monitoring reveals violations of security regulations or[10]unauthorized use, employees who violate security regulations or[10]make unauthorized use of this system are subject to appropriate[10]disciplinary action.[10]
<R-2:28:49 PM>[13][10]POST WARNING:[13][10]This is a private computer system. Unauthorized access or use[13][10]is prohibited and subject to prosecution and/or disciplinary[13][10]action. Any use of this system constitutes consent to[13][10]monitoring at all times and users are not entitled to any[13][10]expectation of privacy. If monitoring reveals possible evidence[13][10]of violation of criminal statutes, this evidence and any other[13][10]related information, including identification information about[13][10]the user, may be provided to law enforcement officials.[13][10]If monitoring reveals violations of security regulations or[13][10]unauthorized use, employees who violate security regulations or[13][10]make unauthorized use of this system are subject to appropriate[13][10]disciplinary action.[13][10][13][10][13][10][13][13][10] [13][10](Press 'a' to accept):
<W-2:28:53 PM>[13]
<R-2:28:53 PM>[13][10][13][10]
<D 2:28:53 PM>
<SCRIPT VALUES>
<HOSTNAME="">
<PROMPT VTY="">
<PROMPT ENABLE="">
<PROMPT CONFIG="">


================================================================================
WFMDRetVal=1 Waiting for: " "
WFMDRetVal=2 Waiting for: " $"
WFMDBuffer="[13][10][13][10]"
================================================================================

<NEWSESSION CatTools 3.12.2.1255 2/13/2023 2:34:30 PM>
<PROTOCOL=SSH2>
<DEVICE TYPE=Fortinet.FortiOS>
<ACTIVITY TYPE=Device.Backup.Running Config>
<ACTIVITY SCRIPT=C:\Program Files (x86)\CatTools3\Scripts\Client.Device.Backup.Running Config.txt>
<USERS NAME FOR DEVICE=NG-FW>
<C OK 2:34:30 PM>
<R-2:34:30 PM>PRE WARNING:[10]This is a private computer system. Unauthorized access or use[10]is prohibited and subject to prosecution and/or disciplinary[10]action. Any use of this system constitutes consent to[10]monitoring at all times and users are not entitled to any[10]expectation of privacy. If monitoring reveals possible evidence[10]of violation of criminal statutes, this evidence and any other[10]related information, including identification information about[10]the user, may be provided to law enforcement officials.[10]If monitoring reveals violations of security regulations or[10]unauthorized use, employees who violate security regulations or[10]make unauthorized use of this system are subject to appropriate[10]disciplinary action.[10]
<R-2:34:32 PM>[13][10]POST WARNING:[13][10]This is a private computer system. Unauthorized access or use[13][10]is prohibited and subject to prosecution and/or disciplinary[13][10]action. Any use of this system constitutes consent to[13][10]monitoring at all times and users are not entitled to any[13][10]expectation of privacy. If monitoring reveals possible evidence[13][10]of violation of criminal statutes, this evidence and any other[13][10]related information, including identification information about[13][10]the user, may be provided to law enforcement officials.[13][10]If monitoring reveals violations of security regulations or[13][10]unauthorized use, employees who violate security regulations or[13][10]make unauthorized use of this system are subject to appropriate[13][10]disciplinary action.[13][10][13][10][13][10][13][13][10] [13][10](Press 'a' to accept):
<W-2:34:35 PM>[13]
<R-2:34:35 PM>[13][10][13][10]
<D 2:34:35 PM>
<SCRIPT VALUES>
<HOSTNAME="">
<PROMPT VTY="">
<PROMPT ENABLE="">
<PROMPT CONFIG="">


================================================================================

no  variation added

am i missing any thin in configuration need to be done

  • From what I can see it is waiting for the "user" to press a to accept. You'll need to update the device information config. Most likely it'll need to be a variation -> Pre/Post login:

    Try setting the Pre-Login Message to: Press 'a' to accept

    Try setting the Pre-Login Keystroke to: a

    Or disable to login message on the device.