AnsweredHot!Automated Full-config backups

Page: < 12 Showing page 2 of 2
Author
emnoc
Expert Member
  • Total Posts : 5979
  • Scores: 402
  • Reward points: 0
  • Joined: 2008/03/20 13:30:33
  • Location: AUSTIN TX AREA
  • Status: offline
Re: Automated Full-config backups 2018/03/13 08:34:06 (permalink)
0
Not possible. I prefer the  scp and usinga script to set the date/hostname.
 
http://socpuppet.blogspot...ion-files-backups.html

PCNSE 
NSE 
StrongSwan  
#21
JRoberts
New Member
  • Total Posts : 1
  • Scores: 0
  • Reward points: 0
  • Joined: 2018/07/19 07:11:42
  • Status: offline
Re: Automated Full-config backups 2018/07/19 07:26:04 (permalink)
0
Having difficulty finding specific information about the meaning of various "Return Code" values for a specific CLI Backup FTP error.
 
While executing a CLI backup command I have seen the command return the following error
 
Send config file to ftp server via vdom root failed.
 
with different accompanying return codes depending on the situation
 
Return Code 1
Return Code 5
Return Code 10
 
Does anyone know where I might find details of what these Return Codes mean relative to the error code, or if you can offer some idea of what they mean from personal experience.
 
Thanks in advance.
 
~James
#22
lscunha
New Member
  • Total Posts : 1
  • Scores: 0
  • Reward points: 0
  • Joined: 2018/02/21 13:00:04
  • Status: offline
Re: Automated Full-config backups 2018/09/03 11:31:49 (permalink)
0
Followed this tutorial http://kb.fortinet.com/kb....do?externalID=FD39818
And got the same error,
 
Send config file to ftp server via vdom root failed.
Command fail. Return code 5


Someone fixed it ?
#23
sruthi reddy
New Member
  • Total Posts : 3
  • Scores: 0
  • Reward points: 0
  • Joined: 2021/01/20 20:22:24
  • Status: offline
Re: Automated Full-config backups 2021/01/20 20:32:30 (permalink)
0
Hello lscunha , JRoberts ,
 
FGT (root) # execute backup full-config ftp /srv/ftp/ch4.conf 10.160.96.2 username password

Please wait...
Connect to ftp server 10.160.96.88 ...
Send config file to ftp server via vdom root failed.
Command fail. Return code 5
 
 
Received the same error. 
 
I followed https://phoenixnap.com/kb/install-ftp-server-on-ubuntu-vsftpd to install vsftpd on Ubuntu Server.
 
Ran a tcpdump on the server: sudo tcpdump -i any port 21 -vvvv
 
Observed error message: 550 permission denied 
 
Have to edit: vsftpd.conf file to change settings: write_enable=NO,  to  write_enable=YES and it worked.
 
It seems to be permission issue on the FTP server.  Can you please run TCPDUMP on the server and post here?
 
After changing settings, I was able to send the file:
 
FGT (root) # execute backup full-config ftp /srv/ftp/ch4.conf 10.160.96.2 username password
Please wait...
Connect to ftp server 10.160.96.88 ...
Send config file to ftp server OK.
 
Hope that helps.  :) 
 
 
Thanks,
Sruthi
NSE7
#24
Page: < 12 Showing page 2 of 2
Jump to:
© 2021 APG vNext Commercial Version 5.5