bakup's Introduction
bakup all the servers online. The steps are, 1) install rysncd server at each server 2) config the bakup files by rsyncd configure 3) sync bakup files on client machine How to add a server being bakup? 1) copy the template from other server, such as, cp -r svr_master svr_new 2) add hostname to client machine's hosts file, such as, 209.4.5.12 new.server, it can protect svr_new's true ip "new" is short for svr_new 3) and also, add hostname to svr_new, such as, 204.3.41.2 client.bak, client.bak is all the server's client bakup machine 4) modify the rsyncd.conf in sample, and make svr_new change its default /etc/rsyncd/rsyncd.conf to this one, start_rsync="rsync --daemon --config=/data/bakup/svr_new/rsyncd.conf" in /etc/init.d/rsyncd add rsyncd module as you like, that's also the data you should bakup 5) modify rsync.sh, this script will run at client machine. [email protected] DIR=(module1, module2, ...) LOG=/logs/rsync_bak_new.log 6) add user bak_usr, run /data/bakup/adduser.sh Then put bak_usr:yourownpass to /etc/rsyncd/rsyncd.secrets 7)start svr_new's rsyncd daemon. 8) add /bin/sh /data/bakup/master/data/bakup/svr_new/rsync.sh to client machine's cron.sh script. That's all, enjoy! If you have any questions, plz contact me([email protected])
bakup's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.