CN111427724A - Server security stabilization method and architecture thereof - Google Patents
Server security stabilization method and architecture thereof Download PDFInfo
- Publication number
- CN111427724A CN111427724A CN202010202854.3A CN202010202854A CN111427724A CN 111427724 A CN111427724 A CN 111427724A CN 202010202854 A CN202010202854 A CN 202010202854A CN 111427724 A CN111427724 A CN 111427724A
- Authority
- CN
- China
- Prior art keywords
- server
- directory
- compressed
- uploading
- resource
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 17
- 230000006641 stabilisation Effects 0.000 title claims description 8
- 238000011105 stabilization Methods 0.000 title claims description 8
- 230000006835 compression Effects 0.000 claims abstract description 22
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 238000007906 compression Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1464—Management of the backup or restore process for networked environments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/20—Network architectures or network communication protocols for network security for managing network security; network security policies in general
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/04—Protocols for data compression, e.g. ROHC
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the invention discloses a server security and stability method and a server security and stability framework, wherein the method comprises the following steps: providing a Web server, a database server and a resource server, and executing the following operations on the Web server, the database server and the resource server: installing an IIS service, a database, compression software, an uploading tool and a newly-built directory; compressing the directory on the Web server and uploading the compressed directory to a database server; compressing the backup files on the database server and uploading the compressed backup files to a Web server and a resource server; and compressing the resources on the resource server and uploading the compressed resources to the Web server. The embodiment of the invention has the following beneficial effects: when the server is attacked, the server can be recovered to be used by quickly modifying the domain name of the server; the database is used for backup, so that data loss is reduced; the operation loss is reduced; the use of a plurality of servers, Web access and data access are separated, and the pressure of the servers is reduced.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a server security and stability method and a server security and stability framework.
Background
With the development of science and technology and the improvement of society, the living standard of people is increasingly improved, internet users are continuously increased, higher requirements are placed on the safety and stability of a server, data loss can be caused after the server is attacked, the experience is reduced, and therefore higher requirements are placed on the safety and stability of the server.
Disclosure of Invention
In view of the technical defects in the prior art, an embodiment of the present invention provides a server security and stability method and a server security and stability framework.
In order to achieve the above object, in a first aspect, an embodiment of the present invention provides a server security and stability method, including:
providing a Web server, a database server and a resource server;
respectively executing the following operations on the Web server, the database server and the resource server: installing an IIS service, a database, compression software, an uploading tool and a newly-built directory; the directory comprises an IIS directory, a compression directory, an uploading directory, a backup directory and a resource directory;
compressing the directory on the Web server and uploading the compressed directory to the database server;
compressing the backup files on the database server and uploading the compressed backup files to the Web server and the resource server;
and compressing the resources on the resource server and uploading the compressed resources to the Web server.
As a specific implementation manner of the present application, compressing the directory on the Web server and uploading the compressed directory to the database server specifically includes:
copying an IIS directory on the Web server to the compressed directory by using a write script, and deleting redundant log files in the compressed directory;
compressing the remaining files in the compressed directory to the uploading directory by using the compression software;
and uploading the compressed files in the Web server to a backup directory of the database server by using the uploading tool.
As a specific implementation manner of the present application, compressing the backup file on the database server and uploading the compressed backup file to the Web server and the resource server specifically includes:
and compressing the backup files on the database server by using a write script and uploading the compressed backup files to the backup directories of the Web server and the resource server.
As a specific implementation manner of the present application, compressing resources on the resource server and uploading the compressed resources to the Web server specifically includes:
copying a resource directory of the resource server to a compressed directory by using a write script, and deleting redundant log files in the compressed directory;
compressing the remaining files in the compressed directory to the uploading directory by using the compression software;
and uploading the compressed files in the Web server to a backup directory of the database server by using the uploading tool.
Based on the same inventive concept, in a second aspect, an embodiment of the present invention provides a server security and stability framework, including a Web server, a database server, and a resource server. The Web server, the database server and the resource server all receive the following operations of a user: installing an IIS service, a database, compression software, an uploading tool and a newly-built directory;
the Web server is used for compressing the catalog on the Web server and then uploading the compressed catalog to the database server;
the database server is used for compressing the backup files on the database server and then uploading the compressed backup files to the Web server and the resource server;
and the resource server is used for compressing the resources on the resource server and then uploading the compressed resources to the Web server.
The embodiment of the invention has the following beneficial effects:
(1) when the server is attacked, the server can be recovered to be used by quickly modifying the domain name of the server;
(2) the database is used for backup, so that data loss is reduced;
(3) when one server is attacked, the backup data on the other two servers can be utilized to carry out quick recovery, so that the use of the servers is ensured, and the operation loss is reduced;
(4) the use of a plurality of servers, Web access and data access are separated, and the pressure of the servers is reduced.
Drawings
In order to more clearly illustrate the detailed description of the invention or the technical solutions in the prior art, the drawings that are needed in the detailed description of the invention or the prior art will be briefly described below.
Fig. 1 is a schematic flow chart of a server security and stability method provided by an embodiment of the present invention;
FIG. 2 is another schematic flow diagram of FIG. 1;
fig. 3 is a schematic structural diagram of a server security and stability framework according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1 and fig. 2, a method for security and stability of a server according to an embodiment of the present invention includes:
s101, a Web server, a database server and a resource server are provided.
Specifically, 3 windows server servers are prepared, and are respectively used for Web services, databases and resource uploading and downloading.
S102, the following operations are respectively executed on the Web server, the database server and the resource server: and installing the IIS service, the database, the compression software, the uploading tool and the new directory.
Specifically, the IIS service, the database, the compression software (7z), and the upload tool (FileZilla _ Server) are installed on three servers, respectively. In addition, directories are newly built in hard disks of the three servers, wherein the directories comprise an IIS directory, a compression directory, an uploading directory, a backup directory, a resource directory and the like.
And S103, compressing the directory on the Web server and uploading the compressed directory to a database server.
Specifically, firstly, copying an IIS directory on the Web server to the compressed directory by using a write script, and deleting redundant log files in the compressed directory;
compressing the remaining files in the compressed directory to the uploading directory by using the compression software;
and uploading the compressed files in the Web server to a backup directory of the database server by using the uploading tool.
And S104, compressing the backup files on the database server and uploading the compressed backup files to the Web server and the resource server.
Specifically, the backup files on the database server are compressed by using a script and then uploaded to the backup directories of the Web server and the resource server.
And S105, compressing the resources on the resource server and uploading the compressed resources to the Web server.
Specifically, a resource directory of the resource server is copied to a compressed directory by using a write script, and redundant log files in the compressed directory are deleted;
compressing the remaining files in the compressed directory to the uploading directory by using the compression software;
and finally, uploading the compressed files in the Web server to a backup directory of the database server by using the uploading tool.
Further, in this embodiment, the writing timing task on each server is used to execute the script, the database backup time is 2 points per day, the backup time of the database server to the Web server is 3 points, the backup time to the resource server is 4 points, the backup time on the Web server to the database server is 5 points, and the backup time on the resource server to the Web is 5 points.
The server safety and stability method of the embodiment of the invention firstly provides three servers and executes the following operations to the servers: installing an IIS service, a database, compression software, an uploading tool and a newly-built directory; then, the directories on the Web server are compressed and uploaded to a database server, and the backup files on the database server are compressed and uploaded to the Web server and a resource server; and finally, compressing the resources on the resource server and uploading the compressed resources to the Web server. Through the technical scheme, the method has the following technical effects:
(1) when the server is attacked, the server can be recovered to be used by quickly modifying the domain name of the server;
(2) the database is used for backup, so that data loss is reduced;
(3) when one server is attacked, the backup data on the other two servers can be utilized to carry out quick recovery, so that the use of the servers is ensured, and the operation loss is reduced;
(4) the use of a plurality of servers, Web access and data access are separated, and the pressure of the servers is reduced.
Based on the same inventive concept, the embodiment of the invention provides a server security and stability framework. As shown in fig. 3, the architecture includes a Web server 100, a database server 200, and a resource server 300.
The Web server 100, the database server 200, and the resource server 300 all receive the following operations of a user: installing an IIS service, a database, compression software, an uploading tool and a newly-built directory; the directory comprises an IIS directory, a compression directory, an uploading directory, a backup directory and a resource directory;
the Web server 100 is configured to compress a directory on the Web server and upload the compressed directory to the database server 200;
the database server 200 is configured to compress the backup files on the database server 200 and then upload the compressed backup files to the Web server 100 and the resource server 300;
the resource server 300 is configured to compress the resources on the resource server 300 and upload the compressed resources to the Web server 100.
Further, the Web server 100 is specifically configured to:
copying an IIS directory on the Web server to the compressed directory by using a write script, and deleting redundant log files in the compressed directory;
compressing the remaining files in the compressed directory to the uploading directory by using the compression software;
and uploading the compressed files in the Web server to a backup directory of the database server by using the uploading tool.
Further, the database server 200 is specifically configured to:
and compressing the backup files on the database server by using a write script and uploading the compressed backup files to the backup directories of the Web server and the resource server.
Further, the resource server 300 is specifically configured to:
copying a resource directory of the resource server to a compressed directory by using a write script, and deleting redundant log files in the compressed directory;
compressing the remaining files in the compressed directory to the uploading directory by using the compression software;
and uploading the compressed files in the Web server to a backup directory of the database server by using the uploading tool.
It should be noted that, for more specific description in this embodiment, please refer to the foregoing method embodiment, which is not repeated herein.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A server security and stabilization method is characterized by comprising the following steps:
providing a Web server, a database server and a resource server;
respectively executing the following operations on the Web server, the database server and the resource server: installing an IIS service, a database, compression software, an uploading tool and a newly-built directory;
compressing the directory on the Web server and uploading the compressed directory to the database server;
compressing the backup files on the database server and uploading the compressed backup files to the Web server and the resource server;
and compressing the resources on the resource server and uploading the compressed resources to the Web server.
2. The server security stabilization method of claim 1, wherein the directory comprises an IIS directory, a compressed directory, an upload directory, a backup directory, and a resource directory.
3. The server security and stability method according to claim 2, wherein compressing the directory on the Web server and uploading the compressed directory to the database server specifically includes:
copying an IIS directory on the Web server to the compressed directory by using a write script, and deleting redundant log files in the compressed directory;
compressing the remaining files in the compressed directory to the uploading directory by using the compression software;
and uploading the compressed files in the Web server to a backup directory of the database server by using the uploading tool.
4. The server security and stability method of claim 2, wherein compressing the backup file on the database server and uploading the compressed backup file to the Web server and the resource server comprises:
and compressing the backup files on the database server by using a write script and uploading the compressed backup files to the backup directories of the Web server and the resource server.
5. The server security and stability method according to claim 2, wherein compressing the resources on the resource server and uploading the compressed resources to the Web server specifically includes:
copying a resource directory of the resource server to a compressed directory by using a write script, and deleting redundant log files in the compressed directory;
compressing the remaining files in the compressed directory to the uploading directory by using the compression software;
and uploading the compressed files in the Web server to a backup directory of the database server by using the uploading tool.
6. A server security and stability architecture comprises a Web server, a database server and a resource server, and is characterized in that the Web server, the database server and the resource server all receive the following operations of a user: installing an IIS service, a database, compression software, an uploading tool and a newly-built directory;
the Web server is used for compressing the catalog on the Web server and then uploading the compressed catalog to the database server;
the database server is used for compressing the backup files on the database server and then uploading the compressed backup files to the Web server and the resource server;
and the resource server is used for compressing the resources on the resource server and then uploading the compressed resources to the Web server.
7. The server security stabilization architecture of claim 6, wherein the directory comprises an IIS directory, a compressed directory, an upload directory, a backup directory, and a resource directory.
8. The server security and stabilization architecture of claim 7, wherein the Web server is specifically configured to:
copying an IIS directory on the Web server to the compressed directory by using a write script, and deleting redundant log files in the compressed directory;
compressing the remaining files in the compressed directory to the uploading directory by using the compression software;
and uploading the compressed files in the Web server to a backup directory of the database server by using the uploading tool.
9. The server security and stabilization architecture of claim 7, wherein the database server is specifically configured to:
and compressing the backup files on the database server by using a write script and uploading the compressed backup files to the backup directories of the Web server and the resource server.
10. The server security stabilization architecture of claim 7, wherein the resource server is specifically configured to:
copying a resource directory of the resource server to a compressed directory by using a write script, and deleting redundant log files in the compressed directory;
compressing the remaining files in the compressed directory to the uploading directory by using the compression software;
and uploading the compressed files in the Web server to a backup directory of the database server by using the uploading tool.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010202854.3A CN111427724A (en) | 2020-03-20 | 2020-03-20 | Server security stabilization method and architecture thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010202854.3A CN111427724A (en) | 2020-03-20 | 2020-03-20 | Server security stabilization method and architecture thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111427724A true CN111427724A (en) | 2020-07-17 |
Family
ID=71548405
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010202854.3A Pending CN111427724A (en) | 2020-03-20 | 2020-03-20 | Server security stabilization method and architecture thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111427724A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101631143A (en) * | 2009-08-27 | 2010-01-20 | 中兴通讯股份有限公司 | Multi-server system in load-balancing environment and file transmission method thereof |
CN104601724A (en) * | 2015-02-03 | 2015-05-06 | 北京金和软件股份有限公司 | Method and system for uploading and downloading file |
CN109324928A (en) * | 2018-09-13 | 2019-02-12 | 中通国脉物联科技南京有限公司 | A kind of method of automatically backup data file |
-
2020
- 2020-03-20 CN CN202010202854.3A patent/CN111427724A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101631143A (en) * | 2009-08-27 | 2010-01-20 | 中兴通讯股份有限公司 | Multi-server system in load-balancing environment and file transmission method thereof |
CN104601724A (en) * | 2015-02-03 | 2015-05-06 | 北京金和软件股份有限公司 | Method and system for uploading and downloading file |
CN109324928A (en) * | 2018-09-13 | 2019-02-12 | 中通国脉物联科技南京有限公司 | A kind of method of automatically backup data file |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109558215B (en) | Backup method, recovery method and device of virtual machine and backup server cluster | |
EP2494456B1 (en) | Backup using metadata virtual hard drive and differential virtual hard drive | |
US20220188196A1 (en) | Continuous data protection | |
JP5243851B2 (en) | How to back up your data | |
US20100162039A1 (en) | High Availability and Disaster Recovery Using Virtualization | |
US20090265396A1 (en) | Method, system, and program for personal data management using content-based replication | |
US11237911B2 (en) | Object store for database backups | |
EP2751662A1 (en) | Efficient application-aware disaster recovery | |
US9977706B2 (en) | System and method of validating data for incremental format of backup archive | |
CN108351821A (en) | Data reconstruction method and storage device | |
US10572470B2 (en) | Enhanced FSCK mechanism for improved consistency in case of erasure coded object storage architecture built using clustered file system | |
CN111984465A (en) | Database remote backup method, device, medium and electronic equipment | |
CN111400105A (en) | Database backup method and device | |
US7870173B2 (en) | Storing information in a common information store | |
CN112800019A (en) | Data backup method and system based on Hadoop distributed file system | |
CN105320577A (en) | Data backup and recovery method, system and device | |
CN114328005B (en) | Method and system for incremental backup of container data | |
US8595271B1 (en) | Systems and methods for performing file system checks | |
US8195612B1 (en) | Method and apparatus for providing a catalog to optimize stream-based data restoration | |
CN101631042A (en) | Method and system for realizing data backup restoration of heterogeneous network management systems | |
CN111427724A (en) | Server security stabilization method and architecture thereof | |
CN110109780A (en) | A kind of file-level data backup and restoration methods for NAS service | |
US11336750B1 (en) | Remote procedure calls that offload search pattern matching from clients to servers | |
CN112948176A (en) | DB2 database recovery method and device | |
CN104809033A (en) | Backup method and system |
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: 20200717 |
|
RJ01 | Rejection of invention patent application after publication |