12-25-2023 05:52 AM - edited 12-25-2023 06:02 AM
Our client configured a scheduled backup for the C9300-24P switch every week, but it backs up every minute. I cannot identify any issues with the configuration. Has anyone else experienced the same?
The firmware version is 16.12.4.
###Configuraiton ###
archive
path thttps://10.1xx.2xx.164
write-memory
time-period 10080
12-25-2023 06:00 AM
Could you post a snippet of the relevant lines of configuration?
12-25-2023 06:02 AM
archive
path thttps://10.1xx.2xx.164
write-memory
time-period 10080
12-25-2023 10:47 PM
Sorry'
Why you use wirte memory?
Remove it and dont do any modify to your config and check archive.
MHM
12-25-2023 11:46 PM
but in guide it mentioned to enter write memory command. then only it work . otherwise not.
12-25-2023 11:49 PM
Can i see this guide
MHM
12-25-2023 11:58 PM
Please find the guide as follows:
Understanding Cisco Auto Archive Feature to Backup Configuration File
Configuration Archiving - Cisco IOS Cookbook, 2nd Edition [Book] (oreilly.com)
Managing Configuration Files Configuration Guide, Cisco IOS Release 15SY - Configuration Versioning [Cisco IOS 15.2SY] - Cisco
12-25-2023 06:09 AM
I agree, that should be working as intended. Could something be causing the configuration to be written/saved very frequently? Is this occurring on a single device or multiple devices?
12-25-2023 06:15 AM
They have mentioned only a single device. other switches seems working fine. ill let you know once i got an answer for this.
12-25-2023 07:27 AM
I have same problem
12-25-2023 07:51 AM
The backup frequency is currently set to every 1 minute instead of the intended 1-week interval. To resolve this issue, access the backup settings and adjust the schedule to the correct timeframe of 1 week. This can typically be done through the device's management interface or command-line interface, depending on the specific configuration and management tools in use. Make sure to save the changes and verify that the backup schedule is now set correctly.
12-25-2023 11:09 PM
10080 mentioned here is for minutes. its one week time.
how come that its one minute as you mentioned.
12-25-2023 02:36 PM
You might need to enable logging for "successful logins" and make sure no kron jobs are running doing write-mems.
12-25-2023 04:43 PM - edited 12-25-2023 04:43 PM
@jaheshkhan wrote:
write-memory
time-period 10080
The lines mean:
Send the config to the TFTP server when two things occur:
1. When someone saves the config; or
2. If no one has saved the config for 1 week, send the config to the TFTP server.
Look at the config being uploaded to the TFTP server. Look at the first three lines. Do the timestamps say "someone" is saving the config?
Is there a DNAC appliance in the network?
12-25-2023 11:08 PM
there is not DNAC appliance.
2. If no one has saved the config for 1 week, send the config to the TFTP server.
how to do that?
as per our previous experience , setup is based on above configuration.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide