[j-nsp] archived configuration file removed if transfer to remote host failed
Martin T
m4rtntns at gmail.com
Mon Feb 8 08:05:20 EST 2016
Hi,
I have a router(Juniper M10i, 12.3R6.6) with following simple
configuration archival setup:
configuration {
transfer-on-commit;
archive-sites {
"scp://user@10.10.10.1:/home/user/conf" password
"$9$ALhdbYIDk.PQwUQn/A1IolKvxd29Zjzl"; ## SECRET-DATA
}
}
I accidentally removed the destination directory for
scp(/home/user/conf/) from 10.10.10.1 host and router obviously failed
to upload its configuration:
Feb 8 08:55:55.980 2016 router logger: %DAEMON-3: transfer-file
failed to transfer
/var/transfer/config/router_juniper.conf.gz_20160208_085553
Feb 8 09:05:52.425 2016 router logger: %DAEMON-3: transfer-file
failed to transfer
/var/transfer/config/router_juniper.conf.gz_20160208_085553
Feb 8 09:15:47.443 2016 router pfed: %USER-3: Error <256> uploading
file '/var/transfer/config/router_juniper.conf.gz_20160208_085553'
However, for some reason, router did not store the configuration
archival file in /var/transfer/config/ directory after the
unsuccessful scp attempts. Has anyone seen such behavior where
configuration archival file is removed after an unsuccessful upload?
thanks,
Martin
More information about the juniper-nsp
mailing list