In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces to you what is the implementation method of file backup under the Windows server, the content is very detailed, interested friends can refer to, hope to be helpful to you.
Overview
In general, many units have the need for file server backup, and often the files of many servers are automatically backed up to another file server.
The following first describes how to implement it under the windows system, and then introduces it under linux.
1. Install special software for automatic backup of server files
The simplest method of automatic backup of Windows file server is to install special server file automatic backup software. at present, there are some software specially used to backup server files in our country.
For example, there is a "general trend to server file automatic backup system" (download address: http://www.grabsun.com/filebackup.html)). After it is installed on the server, you can make incremental backup and full backup of the server files, that is, you can automatically and regularly back up the server folders to other disk partitions of the server, external removable hard drives, other file servers or NAS storage space, etc. Thus effectively protect the security of server files and prevent the loss of server files. As shown in the following figure:
Figure: general trend to server file automatic backup software
At the same time, through the general trend to the server file automatic backup system can only migrate the files or folders on one server and the corresponding account to another server, thus avoiding the trouble of resetting the account and file access rights. As shown below:
Figure: server file migration
2. Script implementation
Some files of the project are uploaded to temporary files on the windows system and need to be backed up regularly. The methods are as follows:
(1) create a new txt file and enter the following
Xcopy / I / Y / E:\ ftpserver\ cps E:\ ftpserver\ cps-%date:~0,10%
Parameter explanation:
/ e: copy all subdirectories, including empty subdirectories
/ I: if the destination file or directory does not exist and more than one file is copied, the destination is assumed to be a directory
/ d: copy only the file date and the files after the destination file (that is, the modified source file)
/ h: copy both hidden files and system files
/ r: copy and overwrite read-only files
/ y: copy file audit settings (do not show existing file overwrite confirmation)
(2) rename
After saving the text file, change the file to ".bat" file by renaming it
(3) set scheduled tasks
Start-- > right-click-- > computer Management-- > system tools-- > Task Scheduler-- > Task Scheduler Library-- > create tasks.
On the Windows server under the file backup implementation method is shared here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.