CN104301142A - Backup method and device for configuration files - Google Patents

Backup method and device for configuration files Download PDF

Info

Publication number
CN104301142A
CN104301142A CN201410539301.1A CN201410539301A CN104301142A CN 104301142 A CN104301142 A CN 104301142A CN 201410539301 A CN201410539301 A CN 201410539301A CN 104301142 A CN104301142 A CN 104301142A
Authority
CN
China
Prior art keywords
configuration file
file
server
network equipment
ftp server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410539301.1A
Other languages
Chinese (zh)
Other versions
CN104301142B (en
Inventor
田园
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201410539301.1A priority Critical patent/CN104301142B/en
Publication of CN104301142A publication Critical patent/CN104301142A/en
Application granted granted Critical
Publication of CN104301142B publication Critical patent/CN104301142B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a backup method and device for configuration files. The method comprises the steps that a network device modifies configuration information of the configuration files stored in local-storage media after receiving a configuration information modification instruction, and updates the modified configuration files to the local-storage media; when determining that the configuration information of the configuration files are changed, the network device sends the changed configuration files to a file transmission server through a file transmission client configured on the network device, wherein the file transmission server is configured on a backup server, and the file transmission server stores the changed configuration files into the backup server. The backup method and device are independent of network management software of a third party, and a user does not need to add investment for the third party. When the configuration files of the network device are updated, the network device can back up the configuration files to the backup server immediately, and the problem that the configuration files cannot be rapidly recovered is avoided.

Description

A kind of backup method of configuration file and equipment
Technical field
The present invention relates to communication technical field, especially relate to a kind of backup method and equipment of configuration file.
Background technology
The network equipment generally refers to datacom device and safety means, such as router, switch, fire compartment wall etc.The configuration file of the network equipment is generally all stored on local storage medium.Once the non-restorative fault of network equipment generation hardware-level, even if user upgrades hardware and replaces, the configuration file that also cannot soon quick-recovery local storage medium store, then cannot quick-recovery customer service soon.
Based on this, after the configuration file of the network equipment upgrades, configuration file is backuped to backup server by the very first time, and under for disaster, a situation arises, fast quick-recovery customer service plays vital effect.
In order to backup on backup server by configuration file, the network management software provides the function that configuration file is backuped to backup server by timing, and namely configuration file backups on backup server by the network management software at set intervals.But which depends on the third-party network management software, user needs to third party's additional investment.And after the configuration file of the network equipment upgrades, configuration file cannot backup on backup server in the very first time by the network management software, if the network equipment breaks down before configuration file is backuped to backup server by the network management software, then cannot recovery configuring file fast.
Summary of the invention
The embodiment of the present invention provides a kind of backup method of configuration file, and be applied in the system comprising the network equipment and backup server, described method specifically comprises the following steps:
The described network equipment, after receiving configuration information amendment order, is revised the configuration information in the configuration file stored in local storage medium, and amended configuration file is updated to local storage medium;
When configuration information in the configuration file stored in described network equipment determination local storage medium changes, by the file transmitting to customer end that present networks equipment configures, the configuration file after change is sent to the Ftp server that described backup server configures, by described Ftp server, the configuration file after change is stored into described backup server.
Configuration file after change is sent to the Ftp server that described backup server configures by the file transmitting to customer end that present networks equipment configures by the described network equipment, by described Ftp server, the configuration file after change is stored into the process of described backup server, specifically comprises:
The described network equipment obtains current time, described current time and profile name is utilized to generate new profile name, and utilize described new profile name to revise the title of the configuration file after changing, and by described file transmitting to customer end, the configuration file after change is sent to described Ftp server, by described Ftp server, the configuration file after change is stored into described backup server, to make the multiple configuration files described backup server storing different profile name; Or,
Configuration file after change is sent to described Ftp server by described file transmitting to customer end by the described network equipment, replace by the configuration file after change the configuration file that described backup server has stored, to make described backup server stores a configuration file by described Ftp server.
Described method comprises further:
When needing to utilize the configuration file that backup server stores to recover the configuration file stored in local storage medium, the described network equipment sends file access pattern request message by described file transmitting to customer end to described Ftp server; If do not carry the temporal information of configuration file in described file access pattern request message, the described network equipment receives last configuration file that the backup server that described Ftp server returns stores by described file transmitting to customer end; If carry the temporal information of configuration file in described file access pattern request message, the described network equipment receives the configuration file corresponding to described temporal information that the backup server that described Ftp server returns stores by described file transmitting to customer end.
Described method comprises further:
The described network equipment, after the order receiving enable configuration file automatic backup function, allows, by described file transmitting to customer end, the configuration file after change is sent to described Ftp server; Or,
The described network equipment is after the order receiving disable configuration file automatic backup function, and no thoroughfare, and the configuration file after change is sent to described Ftp server by described file transmitting to customer end.
Described file transmitting to customer end is specially file transfer protocol (FTP) ftp client, and described Ftp server is specially ftp server; Or described file transmitting to customer end is specially TFTP TFTP client, and described Ftp server is specially tftp server.
The embodiment of the present invention provides a kind of network equipment, and be applied in the system comprising the described network equipment and backup server, the described network equipment specifically comprises:
Modified module, for after receiving configuration information amendment order, the configuration information in the configuration file stored in amendment local storage medium, and amended configuration file is updated to local storage medium;
Communication module, when changing for the configuration information in the configuration file determining to store in local storage medium, by the file transmitting to customer end that the described network equipment configures, the configuration file after change is sent to the Ftp server that described backup server configures, by described Ftp server, the configuration file after change is stored into described backup server.
Described communication module, specifically for obtaining current time, described current time and profile name is utilized to generate new profile name, and utilize described new profile name to revise the title of the configuration file after changing, and by described file transmitting to customer end, the configuration file after change is sent to described Ftp server, by described Ftp server, the configuration file after change is stored into described backup server, to make the multiple configuration files described backup server storing different profile name; Or, by described file transmitting to customer end, the configuration file after change is sent to described Ftp server, replace by the configuration file after change the configuration file that described backup server has stored, to make described backup server stores a configuration file by described Ftp server.
Described communication module, also for when needing to utilize the configuration file that backup server stores to recover the configuration file stored in local storage medium, sends file access pattern request message by described file transmitting to customer end to described Ftp server; If do not carry the temporal information of configuration file in described file access pattern request message, then received last configuration file that backup server that described Ftp server returns stores by described file transmitting to customer end; If carry the temporal information of configuration file in described file access pattern request message, then received the configuration file corresponding to described temporal information that backup server that described Ftp server returns stores by described file transmitting to customer end.
Described communication module, is further used for after the order receiving enable configuration file automatic backup function, allows, by described file transmitting to customer end, the configuration file after change is sent to described Ftp server; Or after the order receiving disable configuration file automatic backup function, no thoroughfare, and the configuration file after change is sent to described Ftp server by described file transmitting to customer end.
Described file transmitting to customer end is specially file transfer protocol (FTP) ftp client, and described Ftp server is specially ftp server; Or described file transmitting to customer end is specially TFTP TFTP client, and described Ftp server is specially tftp server.
Based on technique scheme, in the embodiment of the present invention, configuration file after change can be sent to Ftp server by file transmitting to customer end by the network equipment, and by Ftp server, the configuration file after change is stored on backup server, aforesaid way does not rely on the third-party network management software, and user does not need to third party's additional investment.And after the configuration file of the network equipment upgrades, configuration file can backup on backup server in the very first time by the network equipment, avoiding cannot the problem of recovery configuring file fast, and when evading disaster recovery, the network equipment can not return to the blind area of last state.
Accompanying drawing explanation
Fig. 1 is the application scenarios schematic diagram that the embodiment of the present invention proposes;
Fig. 2 is the backup method schematic flow sheet of a kind of configuration file that the embodiment of the present invention provides;
Fig. 3 is the structural representation of a kind of network equipment that the embodiment of the present invention provides.
Embodiment
For problems of the prior art, the embodiment of the present invention provides a kind of backup method of configuration file, is applied in the system comprising the network equipment and backup server, and this backup server is for backing up the configuration file on the network equipment.Wherein, configuration file specifically includes but not limited to the configuration file of application program and the configuration file of web.Comprise configuration information at configuration file, this configuration information specifically includes but not limited to: port information, IP address information, trip information, business function information etc.
In the embodiment of the present invention, configuration file transmission client on network devices, configuration file transmission server on backup server.Wherein, file transmitting to customer end is FTP (File Transfer Protocol, file transfer protocol (FTP)) client, and Ftp server is ftp server; Or file transmitting to customer end is TFTP (Trivial File Transfer Protocol, TFTP) client, and Ftp server is tftp server.Take Fig. 1 as the application scenarios schematic diagram of the embodiment of the present invention, the network equipment configures FTP/TFTP client, backup server configures FTP/TFTP server.
Under above-mentioned application scenarios, as shown in Figure 2, the backup method of this configuration file comprises the following steps:
Step 201, the network equipment, after receiving configuration information amendment order, is revised the configuration information in the configuration file stored in local storage medium, and amended configuration file is updated to local storage medium.
Concrete, when needing the configuration information in the configuration file stored in the local storage medium of the amendment network equipment, configuration information amendment order can be issued on network devices, and carry amended configuration information in this configuration information amendment order.The network equipment is after receiving configuration information amendment order, based on the amended configuration information carried in configuration information amendment order, configuration information in the configuration file stored in network equipment amendment local storage medium, and amended configuration file is updated to local storage medium.
Step 202, when the configuration information in the configuration file stored changes, sends to Ftp server by file transmitting to customer end by the configuration file after change in network equipment determination local storage medium.
In the embodiment of the present invention, the network equipment is after being updated to local storage medium by amended configuration file, and the configuration information in the configuration file stored in network equipment determination local storage medium changes, and starts configuration file automated back-up task.After startup configuration file automated back-up task, the configuration file after change can be sent to Ftp server by file transmitting to customer end by the network equipment.
In the embodiment of the present invention, the network equipment, after the order receiving enable configuration file automatic backup function, allows the network equipment, by file transmitting to customer end, the configuration file after change is sent to Ftp server; Based on this, when the configuration information of the network equipment in the configuration file determining to store in local storage medium changes, by file transmitting to customer end, the configuration file after change is sent to Ftp server.Or the network equipment is after the order receiving disable configuration file automatic backup function, and the configuration file after change is sent to Ftp server by file transmitting to customer end by prohibited network devices; Based on this, when the configuration information of the network equipment in the configuration file determining to store in local storage medium changes, do not allow, by file transmitting to customer end, the configuration file after change is sent to Ftp server.
Concrete, configuration file automatic backup function on network devices, and command line interface is provided, user issues the order of enable configuration file automatic backup function or the order of disable configuration file automatic backup function by command line interface to the network equipment.The network equipment, after the order receiving enable configuration file automatic backup function, allows the network equipment, by file transmitting to customer end, the configuration file after change is sent to Ftp server.The network equipment is after the order receiving disable configuration file automatic backup function, and the configuration file after change is sent to Ftp server by file transmitting to customer end by prohibited network devices.
Step 203, the configuration file after change is stored into backup server by Ftp server.
In the embodiment of the present invention, the configuration file after this change, after receiving the configuration file after from the change of file transmitting to customer end, is stored on backup server by Ftp server.
In the embodiment of the present invention, the IP address of a Ftp server or the IP address of multiple Ftp server can be configured on file transmitting to customer end.Wherein, when configuring the IP address of a Ftp server on file transmitting to customer end, based on the IP address of this Ftp server, configuration file after change is sent to this Ftp server by file transmitting to customer end by the network equipment, thus the configuration file store this change on a backup server after.When configuring the IP address of multiple Ftp server on file transmitting to customer end, based on the IP address of each Ftp server, configuration file after change is sent to each Ftp server by file transmitting to customer end by the network equipment respectively, thus on multiple backup server, all store the configuration file after this change.
In embodiments of the present invention, configuration file after change is sent to Ftp server by file transmitting to customer end by the network equipment, and by this Ftp server, the configuration file after change is stored into the process of corresponding backup server, specifically include but not limited to following execution mode:
Mode one, the network equipment obtain current time (current time as network equipment this locality), and utilize current time and profile name to generate new profile name, and utilize the title of the configuration file after new profile name amendment change, and by file transmitting to customer end, the configuration file after change is sent to Ftp server, by Ftp server, the configuration file after change is stored into backup server, to make multiple configuration files backup server storing different profile name.
Such as, for configuration file A, when configuration file A first time is modified, it is the time 1 that the network equipment obtains current time, and utilize current time (time 1) and profile name (configuration file A) to generate new profile name (configuration file A_ time 1), and be the configuration file A_ time 1 by the name modifications of the configuration file A after change, and by file transmitting to customer end, the configuration file A after change is sent to Ftp server, by Ftp server, the configuration file A after change is stored into backup server, to make on backup server store name for the configuration file of configuration file A_ time 1.For configuration file A, when configuration file A second time is modified, it is the time 2 that the network equipment obtains current time, and utilize current time (time 2) and profile name (configuration file A) to generate new profile name (configuration file A_ time 2), and be the configuration file A_ time 2 by the name modifications of the configuration file A after change, and by file transmitting to customer end, the configuration file A after change is sent to Ftp server, by Ftp server, the configuration file A after change is stored into backup server, to make on backup server store name for the configuration file of configuration file A_ time 2.By that analogy.
Based on above-mentioned process, backup server will store multiple configuration files of different profile names corresponding to same configuration file, as name is called the configuration file of configuration file A_ time 1, name is called the configuration file A_ time 2 configuration file, name are called the configuration file etc. of configuration file A_ time 3.
Configuration file after change is directly sent to Ftp server by file transmitting to customer end by mode two, the network equipment, the configuration file that backup server has stored is replaced by the configuration file after change, to make backup server only stores a configuration file by Ftp server.
Such as, for configuration file A, when configuration file A first time is modified, configuration file A after change is sent to Ftp server by file transmitting to customer end by the network equipment, Ftp server replaces the configuration file A that backup server has stored by the configuration file A after change, make store name on backup server be the configuration file of configuration file A.When configuration file A second time is modified, configuration file A after change is sent to Ftp server by file transmitting to customer end by the network equipment, Ftp server replaces the configuration file A that backup server has stored by the configuration file A after change, make store name on backup server be the configuration file of configuration file A.By that analogy.
Based on above-mentioned process, backup server only stores the configuration file of a profile name corresponding to same configuration file, if backup server on store name is the configuration file of configuration file A.
For aforesaid way one, the configuration file after change can be sent to Ftp server by FTP mode by the network equipment.Further, by TFTP mode, the configuration file after change can be sent to Ftp server for aforesaid way two, the network equipment.
In the embodiment of the present invention, for the configuration file of initial configuration on the network equipment, configuration file also can be sent to Ftp server by file transmitting to customer end by the network equipment, by Ftp server, configuration file is stored into backup server.This process and said process similar, do not repeat them here.
In the embodiment of the present invention, when needing to utilize the configuration file that backup server stores to recover the configuration file stored in network equipment local storage medium, the network equipment sends file access pattern request message by file transmitting to customer end to Ftp server; Wherein, carry the temporal information of configuration file or do not carry the temporal information of configuration file in this file recovery request message.Further, if do not carry the temporal information of configuration file in file access pattern request message, then backup server is after receiving file access pattern request message by Ftp server, is returned last configuration file that backup server stores by Ftp server to file transmitting to customer end; The network equipment receives last configuration file that the backup server that returns of Ftp server stores by file transmitting to customer end, and utilizes the configuration file received to recover the configuration file stored in local storage medium.If carry the temporal information of configuration file in file access pattern request message, then backup server is after receiving file access pattern request message by Ftp server, is returned the configuration file corresponding to this temporal information that backup server stores by Ftp server to file transmitting to customer end; The network equipment receives the configuration file corresponding to this temporal information that the backup server that returns of Ftp server stores by file transmitting to customer end, and utilizes the configuration file received to recover the configuration file stored in local storage medium.
Such as, sent for aforesaid way one, the network equipment file access pattern request message carrying the temporal information (time 2) of configuration file A to Ftp server by file transmitting to customer end.Backup server is after receiving file access pattern request message by Ftp server, return to file transmitting to customer end the configuration file that the name that backup server stores is called the configuration file A_ time 2 by Ftp server, the network equipment receives by file transmitting to customer end the configuration file that name that Ftp server returns is called the configuration file A_ time 2.Or, sent for aforesaid way one, the network equipment file access pattern request message not carrying the temporal information of configuration file A to Ftp server by file transmitting to customer end.Backup server is after receiving file access pattern request message by Ftp server, returned last configuration file that backup server stores to file transmitting to customer end by Ftp server, as last is called the configuration file of configuration file A_ time 3, the network equipment is called the configuration file of configuration file A_ time 3 by the name that file transmitting to customer end reception Ftp server returns.Or, sent for aforesaid way two, the network equipment file access pattern request message not carrying the temporal information of configuration file A to Ftp server by file transmitting to customer end.Backup server is after receiving file access pattern request message by Ftp server, returned last configuration file that backup server stores to file transmitting to customer end by Ftp server, namely unique name backup server stored is called the configuration file of configuration file A, and the network equipment is called the configuration file of configuration file A by the name that file transmitting to customer end reception Ftp server returns.
Based on technique scheme, in the embodiment of the present invention, configuration file after change can be sent to Ftp server by file transmitting to customer end by the network equipment, and by Ftp server, the configuration file after change is stored on backup server, aforesaid way does not rely on the third-party network management software, and user does not need to third party's additional investment.And after the configuration file of the network equipment upgrades, configuration file can backup on backup server in the very first time by the network equipment, avoiding cannot the problem of recovery configuring file fast, and when evading disaster recovery, the network equipment can not return to the blind area of last state.
Based on the inventive concept same with said method, additionally provide a kind of network equipment in the embodiment of the present invention, be applied in the system comprising the described network equipment and backup server, as shown in Figure 3, the described network equipment specifically comprises:
Modified module 11, for after receiving configuration information amendment order, the configuration information in the configuration file stored in amendment local storage medium, and amended configuration file is updated to local storage medium;
Communication module 12, when changing for the configuration information in the configuration file determining to store in local storage medium, by the file transmitting to customer end that the described network equipment configures, the configuration file after change is sent to the Ftp server that described backup server configures, by described Ftp server, the configuration file after change is stored into described backup server.
Described communication module 12, specifically for obtaining current time, described current time and profile name is utilized to generate new profile name, and utilize described new profile name to revise the title of the configuration file after changing, and by described file transmitting to customer end, the configuration file after change is sent to described Ftp server, by described Ftp server, the configuration file after change is stored into described backup server, to make the multiple configuration files described backup server storing different profile name; Or, by described file transmitting to customer end, the configuration file after change is sent to described Ftp server, replace by the configuration file after change the configuration file that described backup server has stored, to make described backup server stores a configuration file by described Ftp server.
Described communication module 12, also for when needing to utilize the configuration file that backup server stores to recover the configuration file stored in local storage medium, sends file access pattern request message by described file transmitting to customer end to described Ftp server; If do not carry the temporal information of configuration file in described file access pattern request message, then received last configuration file that backup server that described Ftp server returns stores by described file transmitting to customer end; If carry the temporal information of configuration file in described file access pattern request message, then received the configuration file corresponding to described temporal information that backup server that described Ftp server returns stores by described file transmitting to customer end.
Described communication module 12, is further used for after the order receiving enable configuration file automatic backup function, allows, by described file transmitting to customer end, the configuration file after change is sent to described Ftp server; Or after the order receiving disable configuration file automatic backup function, no thoroughfare, and the configuration file after change is sent to described Ftp server by described file transmitting to customer end.
In the embodiment of the present invention, described file transmitting to customer end is specially file transfer protocol (FTP) ftp client, and described Ftp server is specially ftp server; Or described file transmitting to customer end is specially TFTP TFTP client, and described Ftp server is specially tftp server.
Wherein, the modules of apparatus of the present invention can be integrated in one, and also can be separated deployment.Above-mentioned module can merge into a module, also can split into multiple submodule further.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required general hardware platform by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform method described in each embodiment of the present invention.It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.It will be appreciated by those skilled in the art that the module in the device in embodiment can carry out being distributed in the device of embodiment according to embodiment description, also can carry out respective change and be arranged in the one or more devices being different from the present embodiment.The module of above-described embodiment can merge into a module, also can split into multiple submodule further.The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.Be only several specific embodiment of the present invention above, but the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (10)

1. a backup method for configuration file, is applied in the system comprising the network equipment and backup server, it is characterized in that, described method specifically comprises the following steps:
The described network equipment, after receiving configuration information amendment order, is revised the configuration information in the configuration file stored in local storage medium, and amended configuration file is updated to local storage medium;
When configuration information in the configuration file stored in described network equipment determination local storage medium changes, by the file transmitting to customer end that present networks equipment configures, the configuration file after change is sent to the Ftp server that described backup server configures, by described Ftp server, the configuration file after change is stored into described backup server.
2. the method for claim 1, it is characterized in that, configuration file after change is sent to the Ftp server that described backup server configures by the file transmitting to customer end that present networks equipment configures by the described network equipment, by described Ftp server, the configuration file after change is stored into the process of described backup server, specifically comprises:
The described network equipment obtains current time, described current time and profile name is utilized to generate new profile name, and utilize described new profile name to revise the title of the configuration file after changing, and by described file transmitting to customer end, the configuration file after change is sent to described Ftp server, by described Ftp server, the configuration file after change is stored into described backup server, to make the multiple configuration files described backup server storing different profile name; Or,
Configuration file after change is sent to described Ftp server by described file transmitting to customer end by the described network equipment, replace by the configuration file after change the configuration file that described backup server has stored, to make described backup server stores a configuration file by described Ftp server.
3. method as claimed in claim 2, it is characterized in that, described method comprises further:
When needing to utilize the configuration file that backup server stores to recover the configuration file stored in local storage medium, the described network equipment sends file access pattern request message by described file transmitting to customer end to described Ftp server; If do not carry the temporal information of configuration file in described file access pattern request message, the described network equipment receives last configuration file that the backup server that described Ftp server returns stores by described file transmitting to customer end; If carry the temporal information of configuration file in described file access pattern request message, the described network equipment receives the configuration file corresponding to described temporal information that the backup server that described Ftp server returns stores by described file transmitting to customer end.
4. the method for claim 1, is characterized in that, described method comprises further:
The described network equipment, after the order receiving enable configuration file automatic backup function, allows, by described file transmitting to customer end, the configuration file after change is sent to described Ftp server; Or,
The described network equipment is after the order receiving disable configuration file automatic backup function, and no thoroughfare, and the configuration file after change is sent to described Ftp server by described file transmitting to customer end.
5. the method as described in any one of claim 1-4, is characterized in that,
Described file transmitting to customer end is specially file transfer protocol (FTP) ftp client, and described Ftp server is specially ftp server; Or described file transmitting to customer end is specially TFTP TFTP client, and described Ftp server is specially tftp server.
6. a network equipment, is applied in the system comprising the described network equipment and backup server, it is characterized in that, the described network equipment specifically comprises:
Modified module, for after receiving configuration information amendment order, the configuration information in the configuration file stored in amendment local storage medium, and amended configuration file is updated to local storage medium;
Communication module, when changing for the configuration information in the configuration file determining to store in local storage medium, by the file transmitting to customer end that the described network equipment configures, the configuration file after change is sent to the Ftp server that described backup server configures, by described Ftp server, the configuration file after change is stored into described backup server.
7. the network equipment as claimed in claim 6, is characterized in that,
Described communication module, specifically for obtaining current time, described current time and profile name is utilized to generate new profile name, and utilize described new profile name to revise the title of the configuration file after changing, and by described file transmitting to customer end, the configuration file after change is sent to described Ftp server, by described Ftp server, the configuration file after change is stored into described backup server, to make the multiple configuration files described backup server storing different profile name; Or, by described file transmitting to customer end, the configuration file after change is sent to described Ftp server, replace by the configuration file after change the configuration file that described backup server has stored, to make described backup server stores a configuration file by described Ftp server.
8. the network equipment as claimed in claim 7, is characterized in that,
Described communication module, also for when needing to utilize the configuration file that backup server stores to recover the configuration file stored in local storage medium, sends file access pattern request message by described file transmitting to customer end to described Ftp server; If do not carry the temporal information of configuration file in described file access pattern request message, then received last configuration file that backup server that described Ftp server returns stores by described file transmitting to customer end; If carry the temporal information of configuration file in described file access pattern request message, then received the configuration file corresponding to described temporal information that backup server that described Ftp server returns stores by described file transmitting to customer end.
9. the network equipment as claimed in claim 6, is characterized in that,
Described communication module, is further used for after the order receiving enable configuration file automatic backup function, allows, by described file transmitting to customer end, the configuration file after change is sent to described Ftp server; Or after the order receiving disable configuration file automatic backup function, no thoroughfare, and the configuration file after change is sent to described Ftp server by described file transmitting to customer end.
10. the network equipment as described in any one of claim 6-9, is characterized in that,
Described file transmitting to customer end is specially file transfer protocol (FTP) ftp client, and described Ftp server is specially ftp server; Or described file transmitting to customer end is specially TFTP TFTP client, and described Ftp server is specially tftp server.
CN201410539301.1A 2014-10-13 2014-10-13 A kind of backup method and equipment of configuration file Active CN104301142B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410539301.1A CN104301142B (en) 2014-10-13 2014-10-13 A kind of backup method and equipment of configuration file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410539301.1A CN104301142B (en) 2014-10-13 2014-10-13 A kind of backup method and equipment of configuration file

Publications (2)

Publication Number Publication Date
CN104301142A true CN104301142A (en) 2015-01-21
CN104301142B CN104301142B (en) 2018-12-25

Family

ID=52320721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410539301.1A Active CN104301142B (en) 2014-10-13 2014-10-13 A kind of backup method and equipment of configuration file

Country Status (1)

Country Link
CN (1) CN104301142B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105827452A (en) * 2016-04-20 2016-08-03 上海斐讯数据通信技术有限公司 Router configuration information storage method, restoration method, device, router and server
CN105933253A (en) * 2016-04-13 2016-09-07 浪潮集团有限公司 Switch configuration recovery method in SDN (Software Defined Networking)
CN106201776A (en) * 2016-06-29 2016-12-07 广东欧珀移动通信有限公司 The backup method of bag configuration file and terminal
CN106878426A (en) * 2017-02-22 2017-06-20 新华三技术有限公司 A kind of configuration distributing method and device
CN108170561A (en) * 2018-01-03 2018-06-15 杭州时趣信息技术有限公司 A kind of disaster-tolerant backup method, apparatus and system
CN108206764A (en) * 2018-03-29 2018-06-26 新华三技术有限公司 Configuration method, server and the computer-readable medium of configuring information of network appliance
CN108206749A (en) * 2016-12-19 2018-06-26 国基电子(上海)有限公司 Online configuration file standby system and method
CN108418720A (en) * 2018-04-24 2018-08-17 深圳市菲菱科思通信技术股份有限公司 A kind of restoration methods, device and the routing device of routing device configuration information
CN110661873A (en) * 2019-09-27 2020-01-07 南京博联智能科技有限公司 Internet of things platform parameter conversion method, device, equipment, medium and system
CN111858018A (en) * 2019-04-30 2020-10-30 中移(苏州)软件技术有限公司 Cgroup configuration method and device, computer equipment and storage medium
CN111865670A (en) * 2020-07-03 2020-10-30 宏图智能物流股份有限公司 Warehouse network rapid recovery method and warehouse network rapid recovery server
CN111989986A (en) * 2018-03-08 2020-11-24 路创技术有限责任公司 Backup of load control system
CN112506703A (en) * 2020-12-05 2021-03-16 广州技象科技有限公司 Backup method and device for configuration information of terminal of Internet of things
CN113687984A (en) * 2021-08-24 2021-11-23 杭州迪普科技股份有限公司 Backup method, device and system of VPN branch equipment
CN113885957A (en) * 2021-09-28 2022-01-04 深信服科技股份有限公司 Configuration file processing method, terminal device, server and storage medium
CN115484166A (en) * 2022-08-30 2022-12-16 海尔优家智能科技(北京)有限公司 Method and device for backing up configuration information, server and storage medium
CN115484166B (en) * 2022-08-30 2024-04-19 海尔优家智能科技(北京)有限公司 Method and device for backing up configuration information, server and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815974A (en) * 2005-02-06 2006-08-09 华为技术有限公司 Method and system for duplicating and recovering network element configuration data
US20070019745A1 (en) * 2005-07-22 2007-01-25 Alcatel Recovery of network element configuration
CN101106480A (en) * 2007-06-27 2008-01-16 杭州华三通信技术有限公司 Configuration backup method, system and configuration file server and managed devices
CN102148711A (en) * 2011-04-08 2011-08-10 瑞斯康达科技发展股份有限公司 Backup method and system for network device
CN103428022A (en) * 2012-05-25 2013-12-04 中兴通讯股份有限公司 Method and system for network element configuration data file backup and recovery

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815974A (en) * 2005-02-06 2006-08-09 华为技术有限公司 Method and system for duplicating and recovering network element configuration data
US20070019745A1 (en) * 2005-07-22 2007-01-25 Alcatel Recovery of network element configuration
CN101106480A (en) * 2007-06-27 2008-01-16 杭州华三通信技术有限公司 Configuration backup method, system and configuration file server and managed devices
CN102148711A (en) * 2011-04-08 2011-08-10 瑞斯康达科技发展股份有限公司 Backup method and system for network device
CN103428022A (en) * 2012-05-25 2013-12-04 中兴通讯股份有限公司 Method and system for network element configuration data file backup and recovery

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933253B (en) * 2016-04-13 2018-09-04 浪潮集团有限公司 Interchanger configuration recovery method under a kind of SDN network
CN105933253A (en) * 2016-04-13 2016-09-07 浪潮集团有限公司 Switch configuration recovery method in SDN (Software Defined Networking)
CN105827452A (en) * 2016-04-20 2016-08-03 上海斐讯数据通信技术有限公司 Router configuration information storage method, restoration method, device, router and server
CN106201776A (en) * 2016-06-29 2016-12-07 广东欧珀移动通信有限公司 The backup method of bag configuration file and terminal
CN108206749A (en) * 2016-12-19 2018-06-26 国基电子(上海)有限公司 Online configuration file standby system and method
CN106878426A (en) * 2017-02-22 2017-06-20 新华三技术有限公司 A kind of configuration distributing method and device
CN108170561A (en) * 2018-01-03 2018-06-15 杭州时趣信息技术有限公司 A kind of disaster-tolerant backup method, apparatus and system
CN108170561B (en) * 2018-01-03 2021-06-25 杭州时趣信息技术有限公司 Disaster recovery backup method, device and system
CN111989986A (en) * 2018-03-08 2020-11-24 路创技术有限责任公司 Backup of load control system
CN111989986B (en) * 2018-03-08 2023-04-21 路创技术有限责任公司 Backup of load control systems
CN108206764A (en) * 2018-03-29 2018-06-26 新华三技术有限公司 Configuration method, server and the computer-readable medium of configuring information of network appliance
CN108206764B (en) * 2018-03-29 2022-02-22 新华三技术有限公司 Configuration method of network equipment configuration information, server and computer readable medium
CN108418720A (en) * 2018-04-24 2018-08-17 深圳市菲菱科思通信技术股份有限公司 A kind of restoration methods, device and the routing device of routing device configuration information
CN111858018A (en) * 2019-04-30 2020-10-30 中移(苏州)软件技术有限公司 Cgroup configuration method and device, computer equipment and storage medium
CN111858018B (en) * 2019-04-30 2023-04-14 中移(苏州)软件技术有限公司 Cgroup configuration method and device, computer equipment and storage medium
CN110661873A (en) * 2019-09-27 2020-01-07 南京博联智能科技有限公司 Internet of things platform parameter conversion method, device, equipment, medium and system
CN110661873B (en) * 2019-09-27 2022-06-03 南京博联智能科技有限公司 Internet of things platform parameter conversion method, device, equipment, medium and system
CN111865670A (en) * 2020-07-03 2020-10-30 宏图智能物流股份有限公司 Warehouse network rapid recovery method and warehouse network rapid recovery server
CN112506703B (en) * 2020-12-05 2022-04-12 广州技象科技有限公司 Backup method and device for configuration information of terminal of Internet of things
CN112506703A (en) * 2020-12-05 2021-03-16 广州技象科技有限公司 Backup method and device for configuration information of terminal of Internet of things
CN113687984A (en) * 2021-08-24 2021-11-23 杭州迪普科技股份有限公司 Backup method, device and system of VPN branch equipment
CN113885957A (en) * 2021-09-28 2022-01-04 深信服科技股份有限公司 Configuration file processing method, terminal device, server and storage medium
CN115484166A (en) * 2022-08-30 2022-12-16 海尔优家智能科技(北京)有限公司 Method and device for backing up configuration information, server and storage medium
CN115484166B (en) * 2022-08-30 2024-04-19 海尔优家智能科技(北京)有限公司 Method and device for backing up configuration information, server and storage medium

Also Published As

Publication number Publication date
CN104301142B (en) 2018-12-25

Similar Documents

Publication Publication Date Title
CN104301142A (en) Backup method and device for configuration files
US10298457B2 (en) Synchronization of configuration file of virtual application distribution chassis
US9979784B2 (en) Method for cloud data backup and recovery
CN104320401A (en) Big data storage and access system and method based on distributed file system
CN105677673B (en) Method for processing business, apparatus and system
CN101815005B (en) network device, system and network management method
CN101968744A (en) Intelligent resilient framework (IRF) system-based method and system for upgrading box type equipment
CN104486125A (en) Backup method and device of configuration files
CN105677506B (en) A kind of disk array backup method, electronic equipment and disk array
CN105446827A (en) Data storage method and device for database at failure
WO2015158120A1 (en) Method and apparatus for upgrading software version
CN105681420A (en) Method for realizing backup of switch operating system based on Docker
CN105407117A (en) Distributed data backup method, device and system
CN111654399B (en) Networking method, device, equipment and storage medium based on SD-WAN
CN104601680A (en) Resource management method and device
EP4050850A1 (en) Service upgrading method, device and system
CN104468201A (en) Automatic deleting method and device for offline network equipment
CN105591801A (en) Virtual network function VNF fault processing method and VNF management equipment
CN104821889A (en) Backup packet processing method and device
KR20210102404A (en) Creation of a blockchain with an adjustable number of transaction blocks and blocks containing multiple intermediate blocks
CN104486215A (en) Message transmitting method and equipment
CN110661651A (en) SDN controller data management method, system, device and readable storage medium
CN108418857A (en) A kind of Zookeeper group systems and attaching method thereof and device
CN106462421B (en) Telecommunication device and method for updating software in a telecommunication device
CN104869016A (en) Method and equipment for transmitting data message

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant