CN107908441A - The upgrade method and update device of a kind of database - Google Patents

The upgrade method and update device of a kind of database Download PDF

Info

Publication number
CN107908441A
CN107908441A CN201711276981.2A CN201711276981A CN107908441A CN 107908441 A CN107908441 A CN 107908441A CN 201711276981 A CN201711276981 A CN 201711276981A CN 107908441 A CN107908441 A CN 107908441A
Authority
CN
China
Prior art keywords
catalogue
original
backup
target
memory space
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
CN201711276981.2A
Other languages
Chinese (zh)
Other versions
CN107908441B (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201711276981.2A priority Critical patent/CN107908441B/en
Publication of CN107908441A publication Critical patent/CN107908441A/en
Application granted granted Critical
Publication of CN107908441B publication Critical patent/CN107908441B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses the upgrade method and update device of a kind of database, including:Family's catalogue in upgrade installation package is obtained, using family's catalogue of acquisition as target man catalogue;Original catalogue of delete target database;According to the target database after the backup and the catalogue generation upgrading of target man of original catalogue.From the embodiment of the present invention, due to obtaining the target man catalogue in upgrade installation package, the target database after upgrading is generated according to the backup of original catalogue and target man catalogue, it is achieved thereby that the automatic upgrading of database, human cost is dramatically saved, improves upgrading efficiency.

Description

The upgrade method and update device of a kind of database
Technical field
The present invention relates to the upgrade method and update device of database field, more particularly to a kind of database.
Background technology
Database (Database) is to come tissue, storage and the warehouse for managing data according to data structure.
More and more frequent with the renewal of database, the work of upgrade database becomes more and more heavier, in correlation technique, The upgrade job of database all relies on the manual operation of database administrator, therefore very labor intensive cost, while Cause upgrading inefficiency.
The content of the invention
In order to solve the above technical problem, the present invention provides a kind of upgrade method of database, human cost can be saved, Improve upgrading efficiency.
In order to reach the object of the invention, the present invention provides a kind of upgrade method of database, including:
Family's catalogue in upgrade installation package is obtained, using family's catalogue of acquisition as target man catalogue;Wherein, the upgrading peace Dress bag is used for escalation target database;
Delete original catalogue of the target database;
According to the target database after the backup of the original catalogue and target man catalogue generation upgrading.
Before original catalogue of the delete target database, further include:
The environmental variance configuration information of server where obtaining the target database;
The routing information of the original catalogue is obtained according to the environmental variance configuration information of acquisition;
The original catalogue is found according to the routing information of the original catalogue;
The original catalogue is backed up, obtains the backup of the original catalogue.
It is described that original catalogue is backed up, the backup of original catalogue is obtained, including:
The memory space that the original catalogue takes is obtained, using the memory space of acquisition as the first memory space;
The residual memory space of the server is obtained, using the memory space of acquisition as the second memory space;
Judge whether first memory space is more than second memory space;
If first memory space is not less than second memory space, the original catalogue is backed up, obtains institute State the backup of original catalogue.
Original catalogue of the backup, after obtaining the backup of original catalogue, further includes:
The backup of original catalogue of acquisition is stored in different from the first path where the original catalogue Under two paths;
The upgrade installation package according to acquisition obtains corresponding catalogue, using family's catalogue of acquisition as target man catalogue Afterwards, further include:
The target man catalogue of acquisition is stored under the first path;
The original catalogue and target man catalogue that the basis backs up in advance generate the target database after upgrading, including:
Obtain the configuration file in the backup of the original catalogue;
The configuration file of acquisition is copied under the first path;
The target data after the upgrading is generated according to the configuration file under the first path and target man catalogue Storehouse.
After target database after the configuration file and the catalogue generation upgrading of target man according under first path, also Including:
Judge whether the target database after the upgrading is successfully generated;
If the target database after the upgrading is not successfully generated, by the backup copy of original catalogue to the first via Under footpath;
The target database is generated according to the backup of the original directory under the first path.
Present invention also offers a kind of update device of database, including:
Acquisition module, for obtaining family's catalogue in upgrade installation package, using family's catalogue of acquisition as target man catalogue;Its In, the upgrade installation package is used for escalation target database;
Removing module, for deleting original catalogue of the target database;
First processing module, for the target after the backup and target man catalogue generation upgrading according to original catalogue Database.
Further include:
Tracing module, for finding the original catalogue according to the routing information of original catalogue;
Backup module, for backing up the original catalogue, obtains the backup of the original catalogue;
The acquisition module, is additionally operable to the environmental variance configuration information of server where obtaining the target database;Root The routing information of the original catalogue is obtained according to the environmental variance configuration information of acquisition.
The backup module is specifically used for:
The memory space that the original catalogue takes is obtained, using the memory space of acquisition as the first memory space;
The residual memory space of the server is obtained, using the memory space of acquisition as the second memory space;
Judge whether first memory space is more than second memory space;
If first memory space is more than second memory space, the original catalogue is backed up, is obtained described The backup of original catalogue.
Further include:
Memory module, for the backup of original catalogue of acquisition to be stored in and first where the original catalogue Under the second different path of path;The target man catalogue of acquisition is stored under the first path;
The first processing module is specifically used for:
Obtain the configuration file in the backup of the original catalogue;
The configuration file of acquisition is copied under the first path;
The target data after the upgrading is generated according to the configuration file under the first path and target man catalogue Storehouse.
Further include:
Judgment module, for judging whether the target database after the upgrading is successfully generated;
Module is copied, if be not successfully generated for the target database after the upgrading, by the standby of original catalogue Part is copied under first path;
Second processing module, the target data is generated for the backup according to original directory under the first path Storehouse.
Compared with prior art, the present invention includes at least the family's catalogue obtained in upgrade installation package, by family's catalogue of acquisition As target man catalogue;Original catalogue of delete target database;According to the backup and the catalogue life of target man of original catalogue Into the target database after upgrading.From technical solution provided by the invention as it can be seen that due to obtaining the target in upgrade installation package Family's catalogue, the target database after upgrading is generated according to the backup of original catalogue and target man catalogue, it is achieved thereby that number According to the automatic upgrading in storehouse, human cost is dramatically saved, improves upgrading efficiency.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by specification, rights Specifically noted structure is realized and obtained in claim and attached drawing.
Brief description of the drawings
Attached drawing is used for providing further understanding technical solution of the present invention, and a part for constitution instruction, with this The embodiment of application is used to explain technical scheme together, does not form the limitation to technical solution of the present invention.
Fig. 1 is a kind of flow diagram of the upgrade method of database provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of the upgrade method of another database provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of the upgrade method of another database provided in an embodiment of the present invention;
Fig. 4 is a kind of structure diagram of the update device of database provided in an embodiment of the present invention;
Fig. 5 is the structure diagram of the update device of another database provided in an embodiment of the present invention;
Fig. 6 is the structure diagram of the update device of another database provided in an embodiment of the present invention.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the case where there is no conflict, in the embodiment and embodiment in the application Feature can mutually be combined.
The embodiment of the present invention provides a kind of upgrade method of database, as shown in Figure 1, this method includes:
Family's catalogue in step 101, acquisition upgrade installation package, using family's catalogue of acquisition as target man catalogue.
Wherein, upgrade installation package is used for escalation target database.
It should be noted that the upgrade installation package for escalation target database is obtained ahead of time, it can be passed through During database administrator uploads onto the server.
Specifically, upgrade installation package is a compressed file, wherein including the target after new family's catalogue, that is, upgrading Family's catalogue (target database after upgrading at this time does not generate also, and needs to go to generate according to its family's catalogue) of database, because As long as this decompresses upgrade installation package, with regard to family's catalogue of the target database after being upgraded.
Step 102, original catalogue of delete target database.
Specifically, since original catalogue is family's catalogue of target database, number of targets after upgrading is obtained According to after family's catalogue in storehouse, it is necessary to which original catalogue is deleted
Step 103, according to the target database after the backup and the catalogue generation upgrading of target man of original catalogue.
Specifically, the backup of original catalogue is obtained ahead of time, the executable file of target database, library file etc. Information is all present in original catalogue, there is the configuration file of target database in original catalogue, and target man catalogue has liter Level file, but lack these configuration files, and the target database generated after upgrading needs these configuration files, therefore according to pre- The backup of the original catalogue first obtained and target man catalogue can just generate the target database after upgrading.
The upgrade method for the database that the embodiment of the present invention is provided, obtains family's catalogue in upgrade installation package, will obtain Family's catalogue as target man catalogue;Original catalogue of delete target database;According to the backup of original catalogue and target Target database after family's catalogue generation upgrading.From technical solution provided by the invention as it can be seen that due to obtaining upgrade installation package In target man catalogue, the target database after upgrading is generated according to the backup of original catalogue and target man catalogue so that The automatic upgrading of database is realized, human cost is dramatically saved, improves upgrading efficiency.
The embodiment of the present invention provides the upgrade method of another database, as shown in Fig. 2, this method includes:
Step 201, the environmental variance configuration information for obtaining target database place server.
Step 202, the routing information for obtaining according to the environmental variance configuration information of acquisition original catalogue.
Step 203, find original catalogue according to the routing information of original catalogue.
Original step 204, backup catalogue, obtain the backup of original catalogue.
Specifically, step 204 can be realized by step 204a~204d:
Step 204a, the memory space that original catalogue takes is obtained, the memory space of acquisition is empty as the first storage Between.
Step 204b, the residual memory space of server is obtained, using the memory space of acquisition as the second memory space.
Step 204c, judge whether the first memory space is more than the second memory space.
If step 204d, the first memory space is not less than the second memory space, original catalogue is backed up, obtains original family The backup of catalogue.
Specifically, if the first memory space is less than the second memory space, the backup of original catalogue, journey can not be carried out Sequence reports an error.
Family's catalogue in step 205, acquisition upgrade installation package, using family's catalogue of acquisition as target man catalogue.
Wherein, upgrade installation package is used for escalation target database.
Step 206, original catalogue of delete target database.
Step 207, according to the target database after the backup and the catalogue generation upgrading of target man of original catalogue.
The upgrade method for the database that the embodiment of the present invention is provided, obtains family's catalogue in upgrade installation package, will obtain Family's catalogue as target man catalogue;Original catalogue of delete target database;According to the backup of original catalogue and target Target database after family's catalogue generation upgrading.From technical solution provided by the invention as it can be seen that due to obtaining upgrade installation package In target man catalogue, the target database after upgrading is generated according to the backup of original catalogue and target man catalogue so that The automatic upgrading of database is realized, human cost is dramatically saved, improves upgrading efficiency.
The embodiment of the present invention provides the upgrade method of another database, as shown in figure 3, this method includes:
Step 301, the environmental variance configuration information for obtaining target database place server.
Step 302, the routing information for obtaining according to the environmental variance configuration information of acquisition original catalogue.
Step 303, find original catalogue according to the routing information of original catalogue.
Original step 304, backup catalogue, obtain the backup of original catalogue.
Step 305, the backup of original catalogue of acquisition is stored in it is different from the first path where original catalogue The second path under.
It should be noted that the first path where original catalogue is the usually existing path of a catalogue
Family's catalogue in step 306, acquisition upgrade installation package, using family's catalogue of acquisition as target man catalogue.
Wherein, upgrade installation package is used for escalation target database.
The target man catalogue of acquisition, be stored under first path by step 307.
Step 308, original catalogue of delete target database.
Step 309, obtain original catalogue backup in configuration file.
Specifically, configuration file includes Parameter File, monitoring file, data file and authorizes license files etc..
All copy back the database record newly decompressed.Wherein
Step 310, copy the configuration file of acquisition under first path to.
Specifically, data file is returned when copying, it is necessary to notice that data file may be stored under the backup of original catalogue In data base directory, it is also possible to be stored in single disk partition, if data file is stored in the backup of original catalogue Under data base directory, when the title of backup and the title of original catalogue of original catalogue differ, data file will It can not be read, therefore directly copy the data base directory under the backup of original catalogue (i.e. first in target man catalogue to Under path), it is possible to avoid the problem that data file possibly can not be read.
Step 311, generate the target database after upgrading according to the configuration file under first path and target man catalogue.
Specifically, by including the target database institute text in need after upgrading in configuration file and target man catalogue Part, therefore work as and obtain configuration file and target man catalogue, the executable file in target of reruning man catalogue can generate Target database after upgrading.
Step 312, judge whether the target database after upgrading is successfully generated.
Specifically, since reality is after according to the configuration file copied under first path and the catalogue generation upgrading of target man Target database during, it is possible that some special circumstances, so as to cause to upgrade unsuccessful, it is therefore desirable to further Judge whether the target database after upgrading is successfully generated.
Specifically, if the target database after upgrading is successfully generated, after database starts normally, upgrading can be performed The system.sh scripts of target database afterwards, regenerate database dictionary, the target after upgrading so as to normal use Wide area information server characteristic.
If the target database after step 313, upgrading is not successfully generated, by the backup copy of original catalogue to the Under one path.
Step 314, according to the backup of the original directory under first path generate target database.
It should be noted that step 313 and 314 be in the case that target database after upgrading is not successfully generated into Capable remedial measure, if the target database after upgrading is not successfully generated, then original data can also be regenerated Storehouse, i.e. target database.
The upgrade method for the database that the embodiment of the present invention is provided, obtains family's catalogue in upgrade installation package, will obtain Family's catalogue as target man catalogue;Original catalogue of delete target database;According to the backup of original catalogue and target Target database after family's catalogue generation upgrading.From technical solution provided by the invention as it can be seen that due to obtaining upgrade installation package In target man catalogue, the target database after upgrading is generated according to the backup of original catalogue and target man catalogue so that The automatic upgrading of database is realized, human cost is dramatically saved, improves upgrading efficiency.
The embodiment of the present invention also provides a kind of update device of database, as shown in figure 4, the update device 4 of the database Including:
Acquisition module 41, for obtaining family's catalogue in upgrade installation package, using family's catalogue of acquisition as target man catalogue; Wherein, upgrade installation package is used for escalation target database.
Removing module 42, the original catalogue for delete target database.
First processing module 43, for the number of targets after the backup and the catalogue generation upgrading of target man according to original catalogue According to storehouse.
Further, on the basis of the corresponding embodiments of Fig. 4, the embodiment of the present invention provides the upgrading dress of another database Put, as shown in figure 5, the update device 4 of the database further includes:
Tracing module 44, for finding original catalogue according to the routing information of original catalogue;
Backup module 45, for backing up original catalogue, obtains the backup of original catalogue;
Acquisition module 41, is additionally operable to the environmental variance configuration information of server where obtaining target database;According to acquisition Environmental variance configuration information obtain the routing information of original catalogue.
Further, backup module 45 is specifically used for:
The memory space that original catalogue takes is obtained, using the memory space of acquisition as the first memory space;
The residual memory space of server is obtained, using the memory space of acquisition as the second memory space.
Judge whether the first memory space is more than the second memory space.
If the first memory space is more than the second memory space, original catalogue is backed up, obtains the backup of original catalogue.
Further, on the basis of the corresponding embodiments of Fig. 5, the embodiment of the present invention provides the upgrading dress of another database Put, as shown in fig. 6, the update device 4 of the database further includes:
Memory module 46, for the first via where the backup of original catalogue of acquisition is stored in original catalogue Under the second different path of footpath;The target man catalogue of acquisition is stored under first path.
Judgment module 47, for judging whether the target database after upgrading is successfully generated.
Module 48 is copied, if be not successfully generated for the target database after upgrading, by the backup of original catalogue It is copied under first path.
Second processing module 49, target database is generated for the backup according to original directory under first path.
First processing module 43 is specifically used for.
Obtain the configuration file in the backup of original catalogue.
The configuration file of acquisition is copied under first path.
According to the configuration file under first path and the target database after the catalogue generation upgrading of target man.
The update device for the database that the embodiment of the present invention is provided, obtains family's catalogue in upgrade installation package, will obtain Family's catalogue as target man catalogue;Original catalogue of delete target database;According to the backup of original catalogue and target Target database after family's catalogue generation upgrading.From technical solution provided by the invention as it can be seen that due to obtaining upgrade installation package In target man catalogue, the target database after upgrading is generated according to the backup of original catalogue and target man catalogue so that The automatic upgrading of database is realized, human cost is dramatically saved, improves upgrading efficiency.
In practical applications, the acquisition module 41, removing module 42, first processing module 43, tracing module 44, backup Module 45, memory module 46, judgment module 47, copy module 48 and Second processing module 49 can be by the upgradings positioned at database Central processing unit (Central Processing Unit, CPU), microprocessor (Micro Processor in device Unit, MPU), digital signal processor (Digital Signal Processor, DSP) or field programmable gate array (Field Programmable Gate Array, FPGA) etc. is realized.
The embodiment of the present invention also provides a kind of device for upgrade database, including memory and processor, wherein, deposit The following instruction being executed by processor is stored with reservoir:
Family's catalogue in upgrade installation package is obtained, using family's catalogue of acquisition as target man catalogue;Wherein, upgrade installation package For escalation target database.
Original catalogue of delete target database.
According to the target database after the backup and the catalogue generation upgrading of target man of original catalogue.
Further, specifically also it is stored with the following instruction being executed by processor in memory:
The environmental variance configuration information of server where obtaining target database.
The routing information of original catalogue is obtained according to the environmental variance configuration information of acquisition.
Original catalogue is found according to the routing information of original catalogue.
Original catalogue is backed up, obtains the backup of original catalogue.
Further, the following instruction being executed by processor also specifically is stored with memory:
The memory space that original catalogue takes is obtained, using the memory space of acquisition as the first memory space.
The residual memory space of server is obtained, using the memory space of acquisition as the second memory space.
Judge whether the first memory space is more than the second memory space.
If the first memory space is not less than the second memory space, original catalogue is backed up, obtains the standby of original catalogue Part.
Further, specifically also it is stored with the following instruction being executed by processor in memory:
The backup of original catalogue of acquisition is stored in second tunnel different from the first path where original catalogue Under footpath.
The target man catalogue of acquisition is stored under first path.
Obtain the configuration file in the backup of original catalogue.
The configuration file of acquisition is copied under first path.
According to the configuration file under first path and the target database after the catalogue generation upgrading of target man.
Further, specifically also it is stored with the following instruction being executed by processor in memory:
Judge whether the target database after upgrading is successfully generated.
If the target database after upgrading is not successfully generated, by the backup copy of original catalogue to first path Under.
Target database is generated according to the backup of the original directory under first path.
Although disclosed herein embodiment as above, content be only readily appreciate the present invention and use implementation Mode, is not limited to the present invention.Technical staff in any fields of the present invention, do not depart from disclosed herein On the premise of spirit and scope, any modification and change can be carried out in the form and details of implementation, but the present invention's is special Sharp protection domain, still should be subject to the scope of the claims as defined in the appended claims.

Claims (10)

  1. A kind of 1. upgrade method of database, it is characterised in that including:
    Family's catalogue in upgrade installation package is obtained, using family's catalogue of acquisition as target man catalogue;Wherein, the upgrade installation package For escalation target database;
    Delete original catalogue of the target database;
    According to the target database after the backup of the original catalogue and target man catalogue generation upgrading.
  2. 2. upgrade method according to claim 1, it is characterised in that original catalogue of the delete target database it Before, further include:
    The environmental variance configuration information of server where obtaining the target database;
    The routing information of the original catalogue is obtained according to the environmental variance configuration information of acquisition;
    The original catalogue is found according to the routing information of the original catalogue;
    The original catalogue is backed up, obtains the backup of the original catalogue.
  3. 3. upgrade method according to claim 2, it is characterised in that it is described that original catalogue is backed up, obtain original The backup of beginning family's catalogue, including:
    The memory space that the original catalogue takes is obtained, using the memory space of acquisition as the first memory space;
    The residual memory space of the server is obtained, using the memory space of acquisition as the second memory space;
    Judge whether first memory space is more than second memory space;
    If first memory space is not less than second memory space, the original catalogue is backed up, obtains the original The backup of beginning family's catalogue.
  4. 4. the upgrade method according to Claims 2 or 3, it is characterised in that original catalogue of the backup, obtains original family After the backup of catalogue, further include:
    The backup of original catalogue of acquisition is stored in second tunnel different from the first path where the original catalogue Under footpath;
    The upgrade installation package according to acquisition obtains corresponding catalogue, using family's catalogue of acquisition as target man catalogue it Afterwards, further include:
    The target man catalogue of acquisition is stored under the first path;
    The original catalogue and target man catalogue that the basis backs up in advance generate the target database after upgrading, including:
    Obtain the configuration file in the backup of the original catalogue;
    The configuration file of acquisition is copied under the first path;
    The target database after the upgrading is generated according to the configuration file under the first path and target man catalogue.
  5. 5. upgrade method according to claim 4, it is characterised in that the configuration file and mesh according under first path After marking the target database after family's catalogue generation upgrading, further include:
    Judge whether the target database after the upgrading is successfully generated;
    If the target database after the upgrading is not successfully generated, by the backup copy of original catalogue to first path Under;
    The target database is generated according to the backup of the original directory under the first path.
  6. A kind of 6. update device of database, it is characterised in that including:
    Acquisition module, for obtaining family's catalogue in upgrade installation package, using family's catalogue of acquisition as target man catalogue;Wherein, The upgrade installation package is used for escalation target database;
    Removing module, for deleting original catalogue of the target database;
    First processing module, for the target data after the backup and target man catalogue generation upgrading according to original catalogue Storehouse.
  7. 7. update device according to claim 6, it is characterised in that further include:
    Tracing module, for finding the original catalogue according to the routing information of original catalogue;
    Backup module, for backing up the original catalogue, obtains the backup of the original catalogue;
    The acquisition module, is additionally operable to the environmental variance configuration information of server where obtaining the target database;According to obtaining The environmental variance configuration information obtained obtains the routing information of the original catalogue.
  8. 8. update device according to claim 7, it is characterised in that the backup module is specifically used for:
    The memory space that the original catalogue takes is obtained, using the memory space of acquisition as the first memory space;
    The residual memory space of the server is obtained, using the memory space of acquisition as the second memory space;
    Judge whether first memory space is more than second memory space;
    If first memory space is more than second memory space, the original catalogue is backed up, is obtained described original The backup of family's catalogue.
  9. 9. the update device according to claim 7 or 8, it is characterised in that further include:
    Memory module, for the first path where the backup of original catalogue of acquisition is stored in the original catalogue Under the second different paths;The target man catalogue of acquisition is stored under the first path;
    The first processing module is specifically used for:
    Obtain the configuration file in the backup of the original catalogue;
    The configuration file of acquisition is copied under the first path;
    The target database after the upgrading is generated according to the configuration file under the first path and target man catalogue.
  10. 10. update device according to claim 9, it is characterised in that further include:
    Judgment module, for judging whether the target database after the upgrading is successfully generated;
    Module is copied, if be not successfully generated for the target database after the upgrading, the backup of original catalogue is copied Under shellfish to first path;
    Second processing module, the target database is generated for the backup according to original directory under the first path.
CN201711276981.2A 2017-12-06 2017-12-06 Database upgrading method and upgrading device Active CN107908441B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711276981.2A CN107908441B (en) 2017-12-06 2017-12-06 Database upgrading method and upgrading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711276981.2A CN107908441B (en) 2017-12-06 2017-12-06 Database upgrading method and upgrading device

Publications (2)

Publication Number Publication Date
CN107908441A true CN107908441A (en) 2018-04-13
CN107908441B CN107908441B (en) 2021-07-02

Family

ID=61854716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711276981.2A Active CN107908441B (en) 2017-12-06 2017-12-06 Database upgrading method and upgrading device

Country Status (1)

Country Link
CN (1) CN107908441B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150271A (en) * 2022-06-29 2022-10-04 中国第一汽车股份有限公司 Method, device, equipment and storage medium for upgrading gateway and routing data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193805A (en) * 2010-03-11 2011-09-21 华为技术有限公司 Device and method for upgrading software patches
US20120131589A1 (en) * 2010-11-19 2012-05-24 At&T Intellectual Property I, L.P. Method for scheduling updates in a streaming data warehouse
CN103777987A (en) * 2014-01-26 2014-05-07 宝龙计算机***(湖南)有限公司 Method and device for upgrading unix-like operating system
CN107231624A (en) * 2017-05-08 2017-10-03 惠州Tcl移动通信有限公司 A kind of method, storage device and the mobile terminal of retention data information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193805A (en) * 2010-03-11 2011-09-21 华为技术有限公司 Device and method for upgrading software patches
US20120131589A1 (en) * 2010-11-19 2012-05-24 At&T Intellectual Property I, L.P. Method for scheduling updates in a streaming data warehouse
CN103777987A (en) * 2014-01-26 2014-05-07 宝龙计算机***(湖南)有限公司 Method and device for upgrading unix-like operating system
CN107231624A (en) * 2017-05-08 2017-10-03 惠州Tcl移动通信有限公司 A kind of method, storage device and the mobile terminal of retention data information

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150271A (en) * 2022-06-29 2022-10-04 中国第一汽车股份有限公司 Method, device, equipment and storage medium for upgrading gateway and routing data
CN115150271B (en) * 2022-06-29 2023-11-21 中国第一汽车股份有限公司 Gateway upgrading and data routing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN107908441B (en) 2021-07-02

Similar Documents

Publication Publication Date Title
US10956364B2 (en) Efficient data synchronization for storage containers
US8214406B2 (en) Backup of incremental metadata in block based backup systems
US20120290802A1 (en) Snapshot creation from block lists
US10838912B1 (en) Intelligent selection of backup levels
US20170344433A1 (en) Apparatus and method for data migration
US10108501B2 (en) Terminal backup and recovery method
US10289494B1 (en) Smart connector for network data management protocol (NDMP) backups
US8095510B2 (en) Data restoration in a storage system using multiple restore points
CN102331957B (en) File backup method and device
US10120595B2 (en) Optimizing backup of whitelisted files
CN106528071A (en) Selection method and device for target code
CN107203331B (en) Method and device for writing data
CN108604201B (en) Snapshot rollback method, device, storage controller and system
US9442966B2 (en) Extending the recovery and reporting ranges of objects
CN105867962A (en) System upgrading method and device
WO2016202070A1 (en) Method and device for recording log in network system
CN105094811A (en) Method can device for processing events
CN103197987A (en) Data backup method, data recovery method and cloud storage system
JPWO2007099636A1 (en) File system migration method, file system migration program, and file system migration apparatus
CN104662522A (en) System and method for full virtual machine backup using storage system functionality
US20200348862A1 (en) Storage management system and method
CN104517067A (en) Method, device and system for data access
US9921918B1 (en) Cloud-based data backup and management
TW201516655A (en) System and method for recovering distributed file system
WO2018177193A1 (en) Software upgrade method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant