CN109324928A - A kind of method of automatically backup data file - Google Patents

A kind of method of automatically backup data file Download PDF

Info

Publication number
CN109324928A
CN109324928A CN201811067360.8A CN201811067360A CN109324928A CN 109324928 A CN109324928 A CN 109324928A CN 201811067360 A CN201811067360 A CN 201811067360A CN 109324928 A CN109324928 A CN 109324928A
Authority
CN
China
Prior art keywords
file
backup
server
batch processing
script
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.)
Pending
Application number
CN201811067360.8A
Other languages
Chinese (zh)
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.)
China Tong National Pulse Technology Nanjing Co Ltd
Original Assignee
China Tong National Pulse Technology Nanjing 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 China Tong National Pulse Technology Nanjing Co Ltd filed Critical China Tong National Pulse Technology Nanjing Co Ltd
Priority to CN201811067360.8A priority Critical patent/CN109324928A/en
Publication of CN109324928A publication Critical patent/CN109324928A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore

Abstract

The present invention provides a kind of method of automatically backup data file, comprising the following steps: step 1: a ftp server is built, as backup server, and the catalogue of newly-built backup file storage;Step 2: in SVN server end, batch processing script is created, all projects are to this document folder in backup SVN system;In redmine server end, batch processing script, backup database and file are created, in Mantis server end, creates batch processing script, backup database and file;Step 3: the script of upper transmitting file is created in server-side respectively using the automatic compressed file of WINRAR;The batch processing script of each server end is added in task scheduling, and timing of execution time is arranged step 4: opening Mission Planning Program.The method of automatically backup data file provided by the invention, the daily automatic compressed file of timing, and it is uploaded to long-range ftp server, achieve the purpose that fast quick-recovery service or migration service.

Description

A kind of method of automatically backup data file
Technical field
The invention belongs to data backups, are related to a kind of method of automatically backup data file.
Background technique
In daily work, we almost require to use version control system (SVN), fault management system daily (Mantis) and Project Management Software (redmine).Only these software systems run well, and just can guarantee job schedule just Normally opened exhibition.However, it is unexpected ubiquitous, if effective prevention cannot be taken to some risks, once data are due to certain original Because losing, just probably routine work is impacted, to influence project process, brings huge loss to company.
Therefore, in order to guarantee the continuity of work and the high reliability and availability of data, it is necessary to the number important to these According to being backed up.But existing backup needs artificial online on duty, reduces the efficiency of backup, and improve human cost.
Summary of the invention
1, technical problem to be solved:
In order to guarantee the company of version control system (SVN), fault management system (Mantis) and Project Management Software (redmine) The high reliability and availability of continuous property and data, it is necessary to which important data back up to these, but existing backup needs people Work is on duty online, reduces the efficiency of backup, and improve human cost.
2, technical solution:
In order to solve problem above, the present invention provides a kind of methods of automatically backup data file, comprising the following steps: first Step: building a ftp server, as backup server, and the catalogue of newly-built backup file storage;Step 2: being serviced in SVN Device end, creates batch processing script, creates file in script by date, and all projects are to this document folder in backup SVN system; Step 3: the script of upper transmitting file is created in server-side respectively using the automatic compressed file of WINRAR;Step 4: successively point It hits ' beginning -> Windows management tool ', opens Mission Planning Program, by the batch processing script of each server end, addition is taken office In the works, and timing of execution time is arranged in business.
Further include step S01 between the first step and third step: in redmine server end, creating batch processing script, it is standby Part database and file, and use date marks.
Further include step S02 between the first step and third step: in Mantis server end, creating batch processing script, it is standby Part database and file.
3, the utility model has the advantages that
The method of automatically backup data file provided by the invention, the daily automatic compressed file of timing, and it is uploaded to long-range FTP clothes Business device, achievees the purpose that fast quick-recovery service or migration service.System automated back-up does not need online on duty, improves backup Efficiency reduces cost of labor.
Detailed description of the invention
Fig. 1 is schematic diagram of the invention.
Specific embodiment
Below by attached drawing, the present invention is described in detail.
As shown in Figure 1, in custom system including version control system (SVN), fault management system (Mantis) and item Mesh management software (redmine), version control system (SVN), fault management system (Mantis) and project in custom system Management software (redmine) needs to back up to FTP service end by respective backup strategy.
The present invention provides a kind of methods of automatically backup data file, comprising the following steps: step 1: building one Ftp server, as backup server, and the catalogue of newly-built backup file storage;Step 2: creating and criticizing in SVN server end Script is handled, creates file in script by date, all projects are to this document folder in backup SVN system;Step 3: utilizing The automatic compressed file of WINRAR creates the script of upper transmitting file in server-side respectively;Step 4: successively click ' start -> Windows management tool ', it opens Mission Planning Program and the batch processing script of each server end is added in task scheduling, And timing of execution time is set.
Between the first step and third step, that is, further include step S01 in second step: in redmine server end, Batch processing script, backup database and file are created, and use date marks.
It between the first step and third step, that is, further include step S02 in second step: in Mantis server end, wound Build batch processing script, backup database and file.
Due to version control system (SVN), fault management system (Mantis) and Project Management Software (redmine) Backup strategy is different, so in the method, version control system (SVN), fault management system (Mantis) and project management The backup setting of software (redmine) is in no particular order.
Although the present invention has been described by way of example and in terms of the preferred embodiments, they be not it is for the purpose of limiting the invention, it is any ripe This those skilled in the art is practised, without departing from the spirit and scope of the invention, can make various changes or retouch from working as, therefore guarantor of the invention Shield range should be subject to what claims hereof protection scope was defined.

Claims (3)

1. a kind of method of automatically backup data file, comprising the following steps: step 1: a ftp server is built, as standby Part server, and the catalogue of newly-built backup file storage;Step 2: in SVN server end, batch processing script is created, in script Create file by date, all projects to this document presss from both sides in backup SVN system;Step 3: using WINRAR from dynamic pressure Contracting file creates the script of upper transmitting file in server-side respectively;Step 4: ' beginning -> Windows management tool ' successively is clicked, When opening Mission Planning Program the batch processing script of each server end is added in task scheduling, and timing execution being set Between.
2. the method as described in claim 1, it is characterised in that: further include step S01 between the first step and third step: Redmine server end creates batch processing script, backup database and file, and use date marks.
3. method according to claim 1 or 2, feature for fear of: further include step between the first step and third step S02: in Mantis server end, batch processing script, backup database and file are created.
CN201811067360.8A 2018-09-13 2018-09-13 A kind of method of automatically backup data file Pending CN109324928A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811067360.8A CN109324928A (en) 2018-09-13 2018-09-13 A kind of method of automatically backup data file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811067360.8A CN109324928A (en) 2018-09-13 2018-09-13 A kind of method of automatically backup data file

Publications (1)

Publication Number Publication Date
CN109324928A true CN109324928A (en) 2019-02-12

Family

ID=65265973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811067360.8A Pending CN109324928A (en) 2018-09-13 2018-09-13 A kind of method of automatically backup data file

Country Status (1)

Country Link
CN (1) CN109324928A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111209139A (en) * 2019-12-29 2020-05-29 航天信息股份有限公司 Disaster recovery method and device based on version control management system
CN111427724A (en) * 2020-03-20 2020-07-17 上海圣剑网络科技股份有限公司 Server security stabilization method and architecture thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050278397A1 (en) * 2004-06-02 2005-12-15 Clark Kevin J Method and apparatus for automated redundant data storage of data files maintained in diverse file infrastructures
CN102236588A (en) * 2010-04-23 2011-11-09 阿里巴巴集团控股有限公司 Remote data backup method, equipment and system
CN104516794A (en) * 2014-12-12 2015-04-15 国家电网公司 Database document backup method, device and system
CN107463464A (en) * 2017-07-20 2017-12-12 深圳互联先锋科技有限公司 The method and device of automatically backup data file
US20180067658A1 (en) * 2016-09-02 2018-03-08 Quest Software Inc. System and method for dynamic re-serialization of vtl devices and cartridges
CN108009046A (en) * 2017-11-21 2018-05-08 广州慧睿思通信息科技有限公司 A kind of method of ORACLE data remote backup

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050278397A1 (en) * 2004-06-02 2005-12-15 Clark Kevin J Method and apparatus for automated redundant data storage of data files maintained in diverse file infrastructures
CN102236588A (en) * 2010-04-23 2011-11-09 阿里巴巴集团控股有限公司 Remote data backup method, equipment and system
CN104516794A (en) * 2014-12-12 2015-04-15 国家电网公司 Database document backup method, device and system
US20180067658A1 (en) * 2016-09-02 2018-03-08 Quest Software Inc. System and method for dynamic re-serialization of vtl devices and cartridges
CN107463464A (en) * 2017-07-20 2017-12-12 深圳互联先锋科技有限公司 The method and device of automatically backup data file
CN108009046A (en) * 2017-11-21 2018-05-08 广州慧睿思通信息科技有限公司 A kind of method of ORACLE data remote backup

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111209139A (en) * 2019-12-29 2020-05-29 航天信息股份有限公司 Disaster recovery method and device based on version control management system
CN111427724A (en) * 2020-03-20 2020-07-17 上海圣剑网络科技股份有限公司 Server security stabilization method and architecture thereof

Similar Documents

Publication Publication Date Title
CN105677465B (en) The data processing method and device of batch processing are run applied to bank
CN103617098A (en) Intelligent backup method and system based on data changes
CN110221938A (en) The method and storage medium of electronic device, block chain common recognition
CN109324928A (en) A kind of method of automatically backup data file
CN102663543A (en) Scheduling system used for enterprise data unification platform
CN100556211C (en) A kind of upgrade method of mobile communication network management system
CN105488185A (en) Optimization method and apparatus for knowledge base
CN104463504A (en) Business process executing system and method
CN109102245B (en) Processing method, system and device for approval process
CN105096014A (en) Method and system for recording work operation condition remotely
CN105069138A (en) Association analysis system and method
CN105260297B (en) A kind of test data management system and method
EP2801002B1 (en) Apparatus and method for synchronization of control logic
CN103197927B (en) A kind of method that realizes of Workflow and system thereof
CN107329809A (en) A kind of distributed transaction processing method and system towards multi-data source
CN106844093A (en) The method and device of Backup Data
CN106201692A (en) A kind of timing task processing system and method
CN101738980A (en) Machine tool embedded parameter backup device
CN111158880B (en) Distributed timing task scheduling method, system, device and storage medium
CN112055086B (en) IIS site, release and management method of Windows service, operation and maintenance system and platform
CN110674214B (en) Big data synchronization method, device, computer equipment and storage medium
US20030126159A1 (en) Method and system for rollback of software system upgrade
CN104461517A (en) Method for operating workflow event through java dynamic script
CN105677515A (en) Online backup method and system for database
CN110738580A (en) Configuration method, device and equipment for defaulting power-off and power-restoration automatic tracking work order

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190212

RJ01 Rejection of invention patent application after publication