cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

1642
Views
0
Helpful
3
Replies
Beginner

Archive Parameters

I am using archive tool to backup my config every month. And I was wondering if its possible to edit the time separator? If I use this tftp://10.10.0.20/$h-$t-config. I am getting an error "TFTP: error code 0 received - Bailing out to bad characters in filename: "ORIENT27F-NOCSW01-3550-Apr--9-09:55:53-config-1". The tftp server that I'm currently using is a windows server, so the ":" is not valid to be a part of a filename in windows system. My plan is to replace ":" to something else like "-".

3 REPLIES 3
Collaborator

Re: Archive Parameters

According to this thread (https://supportforums.cisco.com/thread/2092066) from last year, you might be able to get away with just "path tftp://10.10.0.20/$h-config" (i.e., without the $t) since "the archive code now always inserts the timestamp", which conveniently comes out in "...Jul--1-18-48-20.suffix-#" format that should keep Windows (or Mac OS) happy.

Highlighted
Beginner

Re: Archive Parameters

the time stamp won't show up, if i don't include the $t.

Collaborator

Re: Archive Parameters

That's not surprising. That's why I hedged with "might", because it's probably a "feature" in newer IOS, while there's no IOS version to go on in this thread.

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards