CN104899116A - Data backup method, source server, target server and system - Google Patents

Data backup method, source server, target server and system Download PDF

Info

Publication number
CN104899116A
CN104899116A CN201510319586.2A CN201510319586A CN104899116A CN 104899116 A CN104899116 A CN 104899116A CN 201510319586 A CN201510319586 A CN 201510319586A CN 104899116 A CN104899116 A CN 104899116A
Authority
CN
China
Prior art keywords
backup
server
data
information
program
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
CN201510319586.2A
Other languages
Chinese (zh)
Other versions
CN104899116B (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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201510319586.2A priority Critical patent/CN104899116B/en
Publication of CN104899116A publication Critical patent/CN104899116A/en
Application granted granted Critical
Publication of CN104899116B publication Critical patent/CN104899116B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a data backup method, a source server, a target server and a system. The data backup method comprises the steps of receiving a backup procedure used for indicating the target server to carry out local backup and a communication procedure used for building a communication between the source server and a backup server sent by the source server, building a connection with between the source server and the backup server according to the communication procedure; carrying out local backup on to-be-backuped data according to the backup procedure; sending the local backup data to the backup server through the connection. According to the data backup method provided by the invention, the source server can send the backup procedure and the communication procedure to the target server to realize controlling the target server to carry out data backup through the source server, so as to prevent a user from carrying out manual configuration and backup; furthermore, when the number of the target servers can be increased, the user only needs to send the backup procedure and the communication procedure to the target servers through the source server, i.e. the backup operation of the plurality of target servers can be realized in a short time, therefore the data backup efficiency can be improved.

Description

The method of data backup, source server, destination server and system
Technical field
The embodiment of the present invention relates to Technology On Data Encryption, particularly relates to a kind of method of data backup, source server, destination server and system.
Background technology
Along with the development of network technology, data security is more and more concerned and payes attention to.In order to guarantee data security, after the data in current server carry out local backup, then realize remote backup by another server preservation backup file.When the hardware faults such as the host disk of current server cause loss of data, carry out date restoring by the Backup Data read in another server.
When carrying out remote backup, first by user, data to be backed up (as development and testing data) are exported to local file system, user is generally data base administrator (Database administrator, DBA).Then, increase system batch processing job by user, backup script recalls information is added job queue and dispatch service is set to start self-starting and run.Finally, user's installation data interactive program configure auto login information in current server, data interaction program according to auto login information by after authentication, by the data upload to be backed up in current server in backup server.After aforesaid operations is carried out to each server, can by the data upload to be backed up in each server to backup server.
Along with the quantity of the server of the expansion network side of network size is improving constantly, be that the situation of the even more server of a network configuration hundreds of platform is very common.Now, if when every station server carries out data backup, user is all needed manually to upload to realize remote backup, and when often station server carries out data backup, need 2 hours even more time, (as 3 hours) user cannot complete the backup requirements of hundreds of station server then at short notice, and then incur loss through delay the time of data backup, cause data backup efficiency low.
Summary of the invention
The invention provides a kind of method of data backup, source server, destination server and system, to realize realizing data backup to multiple server at short notice by a user, improve the efficiency of data backup.
First aspect, embodiments provides a kind of method of data backup, and described method is applied to destination server, comprising:
Receive stand-by program and the signal procedure of source server transmission, described stand-by program is used to indicate described destination server and carries out local backup, and described signal procedure is used for setting up with backup server communicating;
Connect according to described signal procedure and described backup server;
Treat Backup Data according to described stand-by program and carry out local backup;
By described connection, Local backup data is sent to described backup server.
Second aspect, the embodiment of the present invention additionally provides a kind of method of data backup, and described method is applied to source server, comprising:
Receive the backup instruction of user's input, described backup instruction backs up for controlling at least one destination server;
The stand-by program sent at least one destination server described and signal procedure, described stand-by program is used to indicate described destination server and carries out local backup, and described signal procedure is used for setting up with backup server communicating.
The third aspect, the embodiment of the present invention additionally provides a kind of destination server, comprising:
Program reception unit, for receiving stand-by program and the signal procedure of source server transmission, described stand-by program is used to indicate described destination server and carries out local backup, and described signal procedure is used for setting up with backup server communicating;
Connection establishment unit, connects for the described signal procedure that receives according to described program reception unit and described backup server;
Backup units, the described stand-by program for receiving according to described program reception unit is treated Backup Data and is carried out local backup;
Backup Data transmitting element, for the described connection by described connection establishment unit foundation by described standby
The Local backup data that part unit obtains is sent to described backup server.
Fourth aspect, the embodiment of the present invention additionally provides a kind of source server, comprising:
Backup instruction receiving element, for receiving the backup instruction of user's input, described backup instruction backs up for controlling at least one destination server;
Program transmitting element, for the stand-by program that sends to described at least one destination server and signal procedure, described stand-by program is used to indicate described destination server and carries out local backup, and described signal procedure is used for setting up with backup server communicating.
5th aspect, the embodiment of the present invention additionally provides a kind of system of data backup, described system comprises the destination server shown in the source server shown in fourth aspect He at least one third aspect, described source server communicates with each destination server, and described each destination server communicates with backup server.
In technical scheme provided by the invention, the stand-by program that destination server can send according to source server and signal procedure, complete the remote backup of data.In prior art, each destination server all needs by configuration backup manually, and is backed up by manual operation.In the present invention, the stand-by program that destination server can send according to source server carries out local backup, and by the link that signal procedure is set up, Local backup data is sent to backup server, realizes the remote backup of robotization.User, by sending stand-by program and signal procedure from source server to destination server, can realize carrying out data backup by source server control objectives server, and then avoid user to carry out human configuration backup.Along with increasing of destination server quantity, user only needs to send stand-by program and signal procedure by source server to destination server, can realize at short notice to the backup operation of multiple destination server, improve data backup efficiency.
Accompanying drawing explanation
Fig. 1 is the system architecture diagram that the embodiment of the present invention is suitable for;
Fig. 2 is the process flow diagram of the method for first data backup in the embodiment of the present invention one;
Fig. 3 is the process flow diagram of the method for first data backup in the embodiment of the present invention two;
Fig. 4 is the process flow diagram of the method for second data backup in the embodiment of the present invention two;
Fig. 5 is the process flow diagram of the method for the 3rd data backup in the embodiment of the present invention two;
Fig. 6 is the process flow diagram of the method for first data backup in the embodiment of the present invention three;
Fig. 7 is the process flow diagram of the method for first data backup in the embodiment of the present invention four;
Fig. 8 is the process flow diagram of the method for second data backup in the embodiment of the present invention four;
Fig. 9 is the process flow diagram of the method for the 3rd data backup in the embodiment of the present invention four;
Figure 10 is the structural representation of first aim server in the embodiment of the present invention five;
Figure 11 is the structural representation of second target server in the embodiment of the present invention five;
Figure 12 is the structural representation of the 3rd destination server in the embodiment of the present invention five;
Figure 13 is the structural representation of the 4th destination server in the embodiment of the present invention five;
Figure 14 is the structural representation of first source server in the embodiment of the present invention six;
Figure 15 is the structural representation of second source server in the embodiment of the present invention six;
Figure 16 is the structural representation of the 3rd source server in the embodiment of the present invention six;
Figure 17 is the structural representation of the 4th source server in the embodiment of the present invention six;
Figure 18 is the structural representation of the 5th source server in the embodiment of the present invention six;
Figure 19 is the schematic diagram of the system of a data backup in the embodiment of the present invention seven.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.Be understandable that, specific embodiment described herein is only for explaining the present invention, but not limitation of the invention.It also should be noted that, for convenience of description, illustrate only part related to the present invention in accompanying drawing but not entire infrastructure.
As shown in Figure 1, wherein user carries out remote backup by source server control multiple stage destination server to the system architecture that the embodiment of the present invention relates to, and the data after backup are sent to backup server and carry out remote backup by destination server.Source server, destination server and backup server carry out with function the server that divides, and three can be arranged in same physical entity, also dispersibles in the physical entity that two or three are different.
Embodiment one
The process flow diagram of the method for the data backup that Fig. 2 provides for the embodiment of the present invention one, the present embodiment is applicable to the situation of in the short time, multiserver being carried out to remote backup, the method can perform by needing the destination server carrying out remote backup, specifically comprises the steps:
Step 110, the stand-by program receiving source server transmission and signal procedure.
Wherein, described stand-by program is used to indicate described destination server and carries out local backup, and described signal procedure is used for setting up with backup server communicating.
Stand-by program and signal procedure can be installation kit.After being received by destination server, by running installation kit, stand-by program and signal procedure are installed to this locality.Installation kit is corresponding with the system version of destination server, and the system of such as destination server is (SuSE) Linux OS, then use the installation kit of RPM form.Provide the signal procedure carrying out remote backup between server in prior art, related communication program of the prior art can be used in the present embodiment, complete and the Local backup data in destination server is sent to backup server.
Step 120, to connect according to described signal procedure and described backup server.
In order to ensure the security in data transmission procedure, the agreement that the connection between destination server and backup server uses can be session control protocol (Session Control Protocol is called for short SCP).Or, in order to improve the speed of data transmission, file transfer protocol (FTP) (File Transfer Protocol is called for short FTP) also can be used.
Step 130, treat Backup Data according to described stand-by program and carry out local backup.
Stand-by program can be write according to different backup requirements.As a kind of general backup mode, in stand-by program, carry configuration information.When destination server runs stand-by program, complete the hardware environment configuration needed for backup according to configuration information, comprise the storage directory etc. of the data after when starting backup, data to be backed up, backup.
Step 140, by described connection, Local backup data is sent to described backup server.
The technical scheme that the present embodiment provides, the stand-by program that destination server can send according to source server and signal procedure, realize the remote backup of robotization.User, by sending stand-by program and signal procedure from source server to destination server, can realize carrying out data backup by source server control objectives server, and then avoid user to carry out human configuration backup.Along with increasing of destination server quantity, user only needs to send stand-by program and signal procedure by source server to destination server, can realize at short notice to the backup operation of multiple destination server, improve data backup efficiency.
Embodiment two
The embodiment of the present invention additionally provides a kind of method of data backup, is further described as to embodiment one, as shown in Figure 3, step 130, treats Backup Data carry out local backup according to described stand-by program, specifically comprise:
Step 131, carry out pre-configured according to the configuration information carried in described stand-by program.
Wherein, described pre-configured at least for configuration backup initial time, data to be backed up, storage directory and start operation.
Running the initial time of stand-by program configuration backup, starting local backup when arriving BACKUP TIME.Initial time is accurate to second, such as 13: 00: 00 on the 27th May in 2015.Data to be backed up can for development and testing data, also can be the day regular data etc. preserved in server.The title of storage directory and hierarchical relationship can be arranged according to the user demand of user.Storage directory stepping comprises the file of Backup Data, also comprises the file etc. for preserving updating file.In order to prevent from crashing in backup procedure etc., reason causes backup to interrupt, backup cannot be continued after making Server Restart, arrange stand-by program start automatically to run, and then automatically detect the need of carrying out data backup after ensureing start, if there is the backup tasks do not completed, continue backup.Initial time, data to be backed up, storage directory and start run
Step 132, according to pre-configured content add backup process to system job scheduling queue, to carry out local backup.
Carry out pre-configured after, destination server can be treated Backup Data in initial time and back up, and by backup data store in the relevant position of storage directory.If destination server shuts down because of emergency case, then automatically run backup process by start and can realize stable backup, improve the reliability of backup.
The technical scheme that the present embodiment provides, user can carry out preset value to the stand-by program of destination server by configuration information, makes the data backup in destination server more flexible.
Destination server, in the process of carrying out data backup, may cause the data of backup to be incomplete data to be backed up because of reasons such as shutdown, network interruption.In order to overcome the problems referred to above, the embodiment of the present invention additionally provides a kind of method of data backup, after adding backup process to system job scheduling queue in step 132, also comprises:
Step 133, judge whether described backup process runs succeeded, if success, perform 134-a, otherwise perform 134-b.
If the described backup process of step 134-a runs succeeded, then whether effectively judge that backup process backs up the described Local backup data obtained, if effectively, perform step 135-a, otherwise perform step 135-b.
If the described backup process of step 134-b performs unsuccessful, then send backup failure feedback information to source server.
Accordingly, describedly by described connection, Local backup data is sent to described backup server, comprises:
If the described Local backup data of step 135-a is effective, then by described connection, Local backup data is sent to described backup server, performs step 136.
If the shown Local backup data of step 135-b is invalid, then send backup invalidation feedback information to source server.
After in step 140, by described connection Local backup data being sent to described backup server, also comprise:
Step 141, judge whether described Local backup data is successfully sent to described backup server, if successful execution step 142-a, otherwise perform step 142-b.
If the described Local backup data of step 142-a is successfully sent to described backup server, then send backup successful information to described source server.
If the described Local backup data of step 142-b sends unsuccessfully, then send failed feedback information to source server.
In the present embodiment, backup failure feedback information, backup invalidation feedback information, send failed feedback information and can realize by adding zone bit in existing signaling.
The technical scheme that the present embodiment provides, can test to the validity performed in backup phase, generation Backup Data stage, transmission Backup Data stage, when the equal successful execution of above-mentioned three phases, destination server sends backup successful information, so that user can know the backup instances of each destination server by source server to source server.
In network O&M process, user carries out except data backup except controlling multiple destination server, also may need to arrange the data of backup and add up.Based on this demand, the present embodiment additionally provides a kind of method of data backup, as further illustrating above-described embodiment, as shown in Figure 4, after in step 140, by described connection Local backup data being sent to described backup server, described method also comprises:
When step 143, each Backup end, record the backup information of this backup.
Described backup information at least comprises the initial time of current backup.User, according to the difference of O&M task definition, by configuration information control objectives server when each Backup end, records different backup informations.Such as, record start time, end time and system information (comprising system hardware information and software information).Again such as, record start time, size of data to be backed up, data content to be backed up mark.
If step 144 receives the backup information acquisition instruction that described source server sends, then described backup information is sent to described source server.
Destination server preserves the record backup information generated in this locality.When user needs to carry out O&M, send backup information by source server to destination server and obtain instruction.After destination server receives this instruction, described backup information is sent to described source server.
The technical scheme that the present embodiment provides, can generate backup information according to by destination server, obtains instruction, send this backup information, and then realize the acquisition of information of network O&M task to source server according to the backup information that source server sends.
Along with change and the renewal of network service, the backup policy in server also can upgrade thereupon.Prior art manually will more new data packets copy in destination server by user, be installed by destination server, realize upgrading.Except the update time that this kind of way causes except manual operation is long, destination server install upgrade bag time, need to take part system resource.To this, the embodiment of the present invention additionally provides a kind of method of data backup, and as further illustrating above-described embodiment, as shown in Figure 5, described method also comprises:
Step 150, receive described source server send updating file.
Described updating file is used for more going to stand-by program.Updating file is not refresh routine, as the mode that a kind of green is installed, updating file is directly covered current refresh routine file, can realize upgrading.
Step 160, the file under corresponding for described more stand-by program catalogue is replaced with described updating file.
Under the catalogue that stand-by program is corresponding, if carried out renewal, then set up one for recording the refresh routine file of update content.Updating file can comprise configuration information, to adjust the time of backing up and backup object.
If step 170 is updated successfully, then sends to described source server and be updated successfully feedback information.
Judge whether to be updated successfully, by upgrade version or judge the local backup file that obtains of renewal whether with record in updating file corresponding.
The technical scheme that the present embodiment provides, without the need to installing refresh routine in destination server, only needing the updating file received to cover existing associated documents, and then saving the system resource of destination server.
Embodiment three
Embodiments provide a kind of method of data backup, described method is applied to source server, as shown in Figure 6, comprising:
The backup instruction of step 210, reception user input.
Wherein, backup instruction backs up for controlling at least one destination server.Store server info list in source server, in this list, store the information of multiple server, user can in the list selection portion sub server as destination server or select whole server as destination server.After selection, by clicking function key trigger backups instructions such as " backups ".
Step 220, the stand-by program sent to described at least one destination server and signal procedure.
Wherein, described stand-by program is used to indicate described destination server and carries out local backup, and described signal procedure is used for setting up with backup server communicating.Stand-by program can import to source server by user by external unit, also can be generated in source server by user.Stand-by program comprises configuration file and carries out the secondary file installed.
The technical scheme that the present embodiment provides, by user's trigger backups instruction in source server, by sending backup instruction to each destination server, can realize the operation that control objectives server carries out remote backup, improving backup efficiency.
Embodiment four
Embodiments provide a kind of method of data backup, as further illustrating embodiment three, as shown in Figure 7, before the backup instruction of step 210, reception user input, also comprise:
The server info list of step 201, reception user input.
Wherein, described server info list is for recording the address information of at least one server, name information and configuration information, and described configuration information at least runs for the backup initial time in configuration server, data to be backed up, storage directory and start.
Server info list can make user import, and may also be that user inputs in source server.
Step 202, at least one server in described server info list is defined as described destination server.
Can by user's artificial selection, also can by source server according to the data determination destination server recorded in server info list.Such as, the server belonging to some models is chosen to be destination server to carry out the operation such as upgrading to the server of this model.
The technical scheme that the present embodiment provides can generation server information list, based on this list for user provides can as the server info of destination server, make user can select target server more efficiently, improve backup efficiency.
Each destination server can be obtained in order to make user and whether successfully carry out remote backup, the embodiment of the present invention additionally provides a kind of method of data backup, after step 210, the stand-by program sent at least one destination server described and signal procedure, described method also comprises:
If receive the backup successful information that destination server sends, then determine that described destination server backs up successfully.
Further, after receiving backup successful information, can be that corresponding destination server adds the successful identification information of backup in server info list.So that the follow-up destination server to unsuccessful backup carries out Secondary Backup.
The technical scheme that the present embodiment provides, source server can know the backup instances of each destination server, improves the validity of data backup.
When user needs to carry out O&M task, sometimes need the backup information obtaining destination server.Based on this, the embodiment of the present invention additionally provides a kind of method of data backup, and as shown in Figure 8, described method also comprises:
Step 230, at least one destination server send backup information obtain instruction.
Described backup information at least comprises the initial time of all previous backup of destination server.Backup information can be sent to target complete server and obtain instruction, also can send backup information to partial target server and obtain instruction.
The backup information that step 240, reception at least one destination server described send.
The technical scheme that the present embodiment provides, the backup information that destination server sends according to source server obtains instruction, sends backup information to source server.Source server can be added up the well-behaved information that each destination server sends, to carry out O&M task.
The embodiment of the present invention additionally provides a kind of method of data backup, and for upgrading destination server, as shown in Figure 9, shown method also comprises:
Step 250, from described server list, search at least one destination server to be updated.
Can according to information determination destination servers such as the model of server, current software versions number.
Step 260, send updating file to described at least one destination server to be updated, described updating file is used for more going to stand-by program.
Step 270, receive described destination server send be updated successfully feedback information.
The technical scheme that the present embodiment provides, can control at least one destination server by source server and upgrade, and improves renewal speed.
Embodiment five
Providing a kind of destination server in the embodiment of the present invention, for realizing the method shown in embodiment one and embodiment two, as shown in Figure 10, comprising:
Program reception unit 11, for receiving stand-by program and the signal procedure of source server transmission, described stand-by program is used to indicate described destination server and carries out local backup, and described signal procedure is used for setting up with backup server communicating;
Connection establishment unit 12, connects for the described signal procedure that receives according to described program reception unit 11 and described backup server;
Backup units 13, the described stand-by program for receiving according to described program reception unit 11 is treated Backup Data and is carried out local backup;
Backup Data transmitting element 14, is sent to described backup server for the described connection of being set up by described connection establishment unit 12 by the Local backup data that described backup units 13 obtains.
Further, described backup units 13 specifically for:
Carry out pre-configured according to the configuration information carried in described stand-by program, described pre-configured at least for configuration backup initial time, data to be backed up, storage directory and start operation;
Backup process is added to system job scheduling queue, to carry out local backup according to pre-configured content.
Further, as shown in figure 11, described destination server also comprises:
Whether effective the effective judging unit 15 of Backup Data, for when described backup process runs succeeded, judge that backup process backs up the described Local backup data obtained;
Described Backup Data transmitting element 14 also for:
When the effective judging unit of described Backup Data 15 judges that described Local backup data is effective, by described connection, Local backup data is sent to described backup server;
Backup successful information transmitting element 16, for when described Local backup data is successfully sent to described backup server by described Backup Data transmitting element, sends backup successful information to described source server.
Further, as shown in figure 12, described destination server also comprises:
Record cell 17, during for each Backup end, record the backup information of this backup, described backup information at least comprises the initial time of current backup;
Obtain instruction reception unit 18, the backup information sent for receiving described source server obtains instruction;
Backup information transmitting element 19, when the backup information sent obtains instruction, is sent to described source server by described backup information for receiving described source server when described acquisition instruction reception unit 18.
Further, as shown in figure 13, described destination server also comprises:
Updating file receiving element 110, for receiving the updating file that described source server sends, described updating file is used for more going to stand-by program;
Replacement unit 111, replaces with described updating file for the file described in being received by described updating file receiving element 110 more under the corresponding catalogue of stand-by program;
Be updated successfully information transmitting unit 112, for when being updated successfully, sending to described source server and being updated successfully feedback information.
Embodiment six
Providing a kind of source server in the embodiment of the present invention, for realizing the method shown in embodiment three and embodiment four, as shown in figure 14, comprising:
Backup instruction receiving element 21, for receiving the backup instruction of user's input, described backup instruction backs up for controlling at least one destination server;
Program transmitting element 22, for the stand-by program that sends to described at least one destination server and signal procedure, described stand-by program is used to indicate described destination server and carries out local backup, and described signal procedure is used for setting up with backup server communicating.
Further, as shown in figure 15, described source server also comprises:
Information list receiving element 23, for receiving the server info list of user's input, described server info list is for recording the address information of at least one server, name information and configuration information, and described configuration information at least runs for the backup initial time in configuration server, data to be backed up, storage directory and start;
Destination server determining unit 24, for being defined as described destination server by least one server in described server info list.
Further, as shown in figure 16, described source server also comprises:
Backup successful information receives single 25, for the backup successful information that receiving target server sends;
Back up successful determining unit 26, when described backup successful information reception single 25 receives described backup successful information, determine that described destination server backs up successfully.
Further, as shown in figure 17, described source server also comprises:
Obtain instruction sending unit 27, obtain instruction for sending backup information at least one destination server, described backup information at least comprises the initial time of all previous backup of destination server;
Backup information receiving element 28, for receiving the backup information that at least one destination server described sends.
Further, as shown in figure 18, described source server also comprises:
Search unit 29, for searching at least one destination server to be updated from described server list;
Updating file transmitting element 210, for described search unit 29 find out described at least one destination server to be updated send updating file, described updating file be used for stand-by program is more gone;
Be updated successfully information receiving unit 211, for receive described destination server send be updated successfully feedback information.
Embodiment seven
The embodiment of the present invention additionally provides a kind of system of data backup, as shown in figure 19, described system comprises the source server 31 shown in embodiment six and at least one destination server 32 shown in embodiment five, described source server 31 communicates with each destination server 32, and described each destination server 32 communicates with backup server 33.
Note, above are only preferred embodiment of the present invention and institute's application technology principle.Skilled person in the art will appreciate that and the invention is not restricted to specific embodiment described here, various obvious change can be carried out for a person skilled in the art, readjust and substitute and can not protection scope of the present invention be departed from.Therefore, although be described in further detail invention has been by above embodiment, the present invention is not limited only to above embodiment, when not departing from the present invention's design, can also comprise other Equivalent embodiments more, and scope of the present invention is determined by appended right.

Claims (21)

1. a method for data backup, described method is applied to destination server, it is characterized in that, comprising:
Receive stand-by program and the signal procedure of source server transmission, described stand-by program is used to indicate described destination server and carries out local backup, and described signal procedure is used for setting up with backup server communicating;
Connect according to described signal procedure and described backup server;
Treat Backup Data according to described stand-by program and carry out local backup;
By described connection, Local backup data is sent to described backup server.
2. the method for data backup according to claim 1, is characterized in that, describedly treats Backup Data according to described stand-by program and carries out local backup, comprising:
Carry out pre-configured according to the configuration information carried in described stand-by program, described pre-configured at least for configuration backup initial time, data to be backed up, storage directory and start operation;
Backup process is added to system job scheduling queue, to carry out local backup according to pre-configured content.
3. the method for data backup according to claim 2, is characterized in that, after described interpolation backup process to system job scheduling queue, also comprises:
If described backup process runs succeeded, then whether effectively judge that backup process backs up the described Local backup data obtained;
Accordingly, describedly by described connection, Local backup data is sent to described backup server, comprises:
If described Local backup data is effective, then by described connection, Local backup data is sent to described backup server;
Described by described connection Local backup data is sent to described backup server after, also comprise:
If described Local backup data is successfully sent to described backup server, then send backup successful information to described source server.
4. the method for data backup according to any one of claim 1 to 3, is characterized in that, described by described connection Local backup data is sent to described backup server after, described method also comprises:
During each Backup end, record the backup information of this backup, described backup information at least comprises the initial time of current backup;
If receive the backup information acquisition instruction that described source server sends, then described backup information is sent to described source server.
5. the method for data backup according to any one of claim 1 to 3, is characterized in that, described method also comprises:
Receive the updating file that described source server sends, described updating file is used for more going to stand-by program;
File under corresponding for described more stand-by program catalogue is replaced with described updating file;
If be updated successfully, then sent to described source server and be updated successfully feedback information.
6. a method for data backup, described method is applied to source server, it is characterized in that, comprising:
Receive the backup instruction of user's input, described backup instruction backs up for controlling at least one destination server;
The stand-by program sent at least one destination server described and signal procedure, described stand-by program is used to indicate described destination server and carries out local backup, and described signal procedure is used for setting up with backup server communicating.
7. the method for data backup according to claim 6, is characterized in that, before the backup instruction of described reception user input, also comprises:
Receive the server info list of user's input, described server info list is for recording the address information of at least one server, name information and configuration information, and described configuration information at least runs for the backup initial time in configuration server, data to be backed up, storage directory and start;
At least one server in described server info list is defined as described destination server.
8. the method for data backup according to claim 6, is characterized in that, after the described stand-by program to described at least one destination server transmission and signal procedure, also comprises:
If receive the backup successful information that destination server sends, then determine that described destination server backs up successfully.
9. the method for the data backup according to any one of claim 6 to 8, is characterized in that, described method also comprises:
Send backup information at least one destination server and obtain instruction, described backup information at least comprises the initial time of all previous backup of destination server;
Receive the backup information that at least one destination server described sends.
10. the method for the data backup according to any one of claim 6 to 8, is characterized in that, described method also comprises:
The destination server that at least one is to be updated is searched from described server list;
Send updating file at least one destination server to be updated described, described updating file is used for more going to stand-by program;
What receive the transmission of described destination server is updated successfully feedback information.
11. 1 kinds of destination servers, is characterized in that, comprising:
Program reception unit, for receiving stand-by program and the signal procedure of source server transmission, described stand-by program is used to indicate described destination server and carries out local backup, and described signal procedure is used for setting up with backup server communicating;
Connection establishment unit, connects for the described signal procedure that receives according to described program reception unit and described backup server;
Backup units, the described stand-by program for receiving according to described program reception unit is treated Backup Data and is carried out local backup;
Backup Data transmitting element, is sent to described backup server for the described connection of being set up by described connection establishment unit by the Local backup data that described backup units obtains.
12. destination servers according to claim 11, is characterized in that, described backup units specifically for:
Carry out pre-configured according to the configuration information carried in described stand-by program, described pre-configured at least for configuration backup initial time, data to be backed up, storage directory and start operation;
Backup process is added to system job scheduling queue, to carry out local backup according to pre-configured content.
13. destination servers according to claim 12, is characterized in that, described destination server also comprises:
Whether effective the effective judging unit of Backup Data, for when described backup process runs succeeded, judge that backup process backs up the described Local backup data obtained;
Described Backup Data transmitting element also for:
When the effective judging unit of described Backup Data judges that described Local backup data is effective, by described connection, Local backup data is sent to described backup server;
Backup successful information transmitting element, for when described Local backup data is successfully sent to described backup server by described Backup Data transmitting element, sends backup successful information to described source server.
14., according to claim 11 to the destination server according to any one of 13, is characterized in that, described destination server also comprises:
Record cell, during for each Backup end, record the backup information of this backup, described backup information at least comprises the initial time of current backup;
Obtain instruction reception unit, the backup information sent for receiving described source server obtains instruction;
Backup information transmitting element, when the backup information sent obtains instruction, is sent to described source server by described backup information for receiving described source server when described acquisition instruction reception unit.
15., according to claim 11 to the destination server according to any one of 13, is characterized in that, described destination server also comprises:
Updating file receiving element, for receiving the updating file that described source server sends, described updating file is used for more going to stand-by program;
Replacement unit, replaces with described updating file for the file described in being received by described updating file receiving element more under the corresponding catalogue of stand-by program;
Be updated successfully information transmitting unit, when being updated successfully, sending to described source server and being updated successfully feedback information.
16. 1 kinds of source servers, is characterized in that, comprising:
Backup instruction receiving element, for receiving the backup instruction of user's input, described backup instruction backs up for controlling at least one destination server;
Program transmitting element, for the stand-by program that sends to described at least one destination server and signal procedure, described stand-by program is used to indicate described destination server and carries out local backup, and described signal procedure is used for setting up with backup server communicating.
17. source servers according to claim 16, is characterized in that, described source server also comprises:
Information list receiving element, for receiving the server info list of user's input, described server info list is for recording the address information of at least one server, name information and configuration information, and described configuration information at least runs for the backup initial time in configuration server, data to be backed up, storage directory and start;
Destination server determining unit, for being defined as described destination server by least one server in described server info list.
18. source servers according to claim 16, is characterized in that, described source server also comprises:
Backup successful information receiving element, for the backup successful information that receiving target server sends;
Back up successful determining unit, when described backup successful information receiving element receives described backup successful information, determine that described destination server backs up successfully.
19., according to claim 16 to the source server according to any one of 18, is characterized in that, described source server also comprises:
Obtain instruction sending unit, obtain instruction for sending backup information at least one destination server, described backup information at least comprises the initial time of all previous backup of destination server;
Backup information receiving element, for receiving the backup information that at least one destination server described sends.
20., according to claim 16 to the source server according to any one of 18, is characterized in that, described source server also comprises searches unit, for searching at least one destination server to be updated from described server list;
Updating file transmitting element, for described search unit find out described at least one destination server to be updated send updating file, described updating file be used for stand-by program is more gone;
Be updated successfully information receiving unit, for receive described destination server send be updated successfully feedback information.
The system of 21. 1 kinds of data backups, it is characterized in that, described system comprises source server according to any one of a claim 16 to 20 and at least one destination server described in any one of claim 11 to 15, described source server communicates with each destination server, and described each destination server communicates with backup server.
CN201510319586.2A 2015-06-11 2015-06-11 Method, source server, destination server and the system of data backup Active CN104899116B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510319586.2A CN104899116B (en) 2015-06-11 2015-06-11 Method, source server, destination server and the system of data backup

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510319586.2A CN104899116B (en) 2015-06-11 2015-06-11 Method, source server, destination server and the system of data backup

Publications (2)

Publication Number Publication Date
CN104899116A true CN104899116A (en) 2015-09-09
CN104899116B CN104899116B (en) 2019-06-04

Family

ID=54031793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510319586.2A Active CN104899116B (en) 2015-06-11 2015-06-11 Method, source server, destination server and the system of data backup

Country Status (1)

Country Link
CN (1) CN104899116B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105740102A (en) * 2016-02-02 2016-07-06 北京京东尚科信息技术有限公司 Data backup equipment and method therein
CN105955844A (en) * 2016-04-27 2016-09-21 成都爱可信科技有限公司 Secret-related file backup method of data center
CN107122260A (en) * 2017-04-18 2017-09-01 北京思特奇信息技术股份有限公司 A kind of data back up method and device
CN108268346A (en) * 2018-02-13 2018-07-10 苏州龙信信息科技有限公司 Data back up method, device, equipment and storage medium
CN108388440A (en) * 2018-04-28 2018-08-10 北京辰森世纪科技股份有限公司 A kind of method that web application systems automatically update
CN108628706A (en) * 2018-05-02 2018-10-09 北京新桥信通科技股份有限公司 Method, apparatus, system and the storage medium of data backup
CN109561120A (en) * 2017-09-26 2019-04-02 杭州海康威视系统技术有限公司 Small documents backup method, systems and management server

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1609814A (en) * 2004-09-14 2005-04-27 中国人民解放军上海警备区司令部指挥自动化工作站 Monitoring operation system for data catastrophic failure-tolerant backup control system
CN1969575A (en) * 2004-06-23 2007-05-23 诺基亚公司 Centrally controlled backup functionality
CN101025741A (en) * 2006-02-17 2007-08-29 鸿富锦精密工业(深圳)有限公司 Database back up system and method
CN101042662A (en) * 2006-03-08 2007-09-26 国际商业机器公司 System and method for managing data backup in distributed application environment
CN101834904A (en) * 2010-05-14 2010-09-15 杭州华三通信技术有限公司 Method and equipment for database backup
CN102012789A (en) * 2009-09-07 2011-04-13 云端容灾有限公司 Centralized management type backup and disaster recovery system
CN102236588A (en) * 2010-04-23 2011-11-09 阿里巴巴集团控股有限公司 Remote data backup method, equipment and system
CN103425551A (en) * 2013-07-31 2013-12-04 清华大学 Database concentrated backup method
CN103488546A (en) * 2013-01-29 2014-01-01 中国人民解放军理工大学 Backup and recovery method capable of supporting online concurrency of multi-level data and database
CN103973487A (en) * 2014-04-29 2014-08-06 上海上讯信息技术股份有限公司 Configuration backup system based on interactive scripts and configuration management method
CN104090828A (en) * 2014-07-24 2014-10-08 浪潮(北京)电子信息产业有限公司 Real-time data backup method and system
CN104239164A (en) * 2013-06-19 2014-12-24 国家电网公司 Cloud storage based disaster recovery backup switching system
CN104391762A (en) * 2014-12-06 2015-03-04 北京银信长远科技股份有限公司 Backup method for realizing multi-machine multi-application with one machine
CN104516794A (en) * 2014-12-12 2015-04-15 国家电网公司 Database document backup method, device and system

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1969575A (en) * 2004-06-23 2007-05-23 诺基亚公司 Centrally controlled backup functionality
CN1609814A (en) * 2004-09-14 2005-04-27 中国人民解放军上海警备区司令部指挥自动化工作站 Monitoring operation system for data catastrophic failure-tolerant backup control system
CN101025741A (en) * 2006-02-17 2007-08-29 鸿富锦精密工业(深圳)有限公司 Database back up system and method
CN101042662A (en) * 2006-03-08 2007-09-26 国际商业机器公司 System and method for managing data backup in distributed application environment
CN102012789A (en) * 2009-09-07 2011-04-13 云端容灾有限公司 Centralized management type backup and disaster recovery system
CN102236588A (en) * 2010-04-23 2011-11-09 阿里巴巴集团控股有限公司 Remote data backup method, equipment and system
CN101834904A (en) * 2010-05-14 2010-09-15 杭州华三通信技术有限公司 Method and equipment for database backup
CN103488546A (en) * 2013-01-29 2014-01-01 中国人民解放军理工大学 Backup and recovery method capable of supporting online concurrency of multi-level data and database
CN104239164A (en) * 2013-06-19 2014-12-24 国家电网公司 Cloud storage based disaster recovery backup switching system
CN103425551A (en) * 2013-07-31 2013-12-04 清华大学 Database concentrated backup method
CN103973487A (en) * 2014-04-29 2014-08-06 上海上讯信息技术股份有限公司 Configuration backup system based on interactive scripts and configuration management method
CN104090828A (en) * 2014-07-24 2014-10-08 浪潮(北京)电子信息产业有限公司 Real-time data backup method and system
CN104391762A (en) * 2014-12-06 2015-03-04 北京银信长远科技股份有限公司 Backup method for realizing multi-machine multi-application with one machine
CN104516794A (en) * 2014-12-12 2015-04-15 国家电网公司 Database document backup method, device and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105740102A (en) * 2016-02-02 2016-07-06 北京京东尚科信息技术有限公司 Data backup equipment and method therein
CN105955844A (en) * 2016-04-27 2016-09-21 成都爱可信科技有限公司 Secret-related file backup method of data center
CN107122260A (en) * 2017-04-18 2017-09-01 北京思特奇信息技术股份有限公司 A kind of data back up method and device
CN109561120A (en) * 2017-09-26 2019-04-02 杭州海康威视系统技术有限公司 Small documents backup method, systems and management server
CN108268346A (en) * 2018-02-13 2018-07-10 苏州龙信信息科技有限公司 Data back up method, device, equipment and storage medium
CN108268346B (en) * 2018-02-13 2021-03-30 苏州龙信信息科技有限公司 Data backup method, device, equipment and storage medium
CN108388440A (en) * 2018-04-28 2018-08-10 北京辰森世纪科技股份有限公司 A kind of method that web application systems automatically update
CN108628706A (en) * 2018-05-02 2018-10-09 北京新桥信通科技股份有限公司 Method, apparatus, system and the storage medium of data backup

Also Published As

Publication number Publication date
CN104899116B (en) 2019-06-04

Similar Documents

Publication Publication Date Title
CN104899116A (en) Data backup method, source server, target server and system
US10007499B2 (en) Decoupled installation of data management systems
KR101970839B1 (en) Replaying jobs at a secondary location of a service
US7933987B2 (en) Application of virtual servers to high availability and disaster recovery solutions
US9652326B1 (en) Instance migration for rapid recovery from correlated failures
CN103136012B (en) Computer system and update method of basic input-output system thereof
US7698391B2 (en) Performing a provisioning operation associated with a software application on a subset of the nodes on which the software application is to operate
US20010044934A1 (en) Computer and computer readable recording medium on which program is recorded
CN103530150A (en) Remote updating method for Linux operating system
CN110347483B (en) Method and device for migrating physical machine to virtual machine and storage medium
CN102609281A (en) Distributed software patch updating method and distributed software patch updating system
US20150317175A1 (en) Virtual machine synchronization system
CN105354102B (en) A kind of method and apparatus of file system maintenance and reparation
CN109189403B (en) Operating system OS batch installation method and device and network equipment
US20240054054A1 (en) Data Backup Method and System, and Related Device
JP2011192098A (en) Method and system of verifying operation during server transfer
US11411829B1 (en) Provisioning managed network nodes and/or managing network nodes
CN108429813B (en) Disaster recovery method, system and terminal for cloud storage service
CN114930313A (en) System and method for managing blockchain nodes
JP4862346B2 (en) Download system and program
US7644306B2 (en) Method and system for synchronous operation of an application by a purality of processing units
CN111125001A (en) Snap copy method, electronic device, and computer program product
CN110096390B (en) backup method for providing emergency substitution main storage function and application device thereof
JP6289214B2 (en) Information processing system and method
CN108196798B (en) RAID control card configuration method and device

Legal Events

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