cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
914
Views
0
Helpful
0
Replies

Archive Date/Time Variable & Colons

ksbolton1
Level 1
Level 1

Hello. I am currently trying to automate config backups on Catalyst switches. It has been successful on some switches by using a combination of kron and archive options. The configs are being backed up to a Windows server shared folder. However, since the $h and $t variables are being used, I see where some switches have thrown a "550 The parameter is incorrect." error which I've deduced is due to that fact Windows doesn't allow file names that include a colon as is shown by the STOR line in the image below. The other switches do not include colons but instead have timestamps that look like this, "Nov-15-19-45-38.574". I do not need the time, just the date for the filenames. How do I get all switches to avoid using colons in the timestamp?


0 Replies 0