Linux Troubleshooting Make Easy.

Linux Learning & Troubleshooting Make Easy.

Configure Remote Backup / Snapshot Server


In Linux Rsnapshot is easy, reliable and disaster recovery backup solution. It is a remote backup program that uses rsync to take backup snapshots of filesystems.

Note:  snapshot.example.com = its a backup server.
           www.example.com = its a client server , need to take backup.





Download rsnapshot in your backup server:
#  wget http://www.rsnapshot.org/downloads/rsnapshot-1.3.0-1.noarch.rpm
#  wget http://www.rsnapshot.org/downloads/rsnapshot-1.3.0-1.noarch.rpm.md5

Verify rpm file for integrity:
#  md5sum -c rsnapshot-1.3.0-1.noarch.rpm.md5

Install rsnapshot:
#  rpm -ivh rsnapshot-1.3.0-1.noarch.rpm


Configure rsnapshot:

To perform remote backup you need to setup password less login using openssh. Create ssh rsa key and upload they to all servers using scp:
#  ssh-keygen -t rsa
#  scp .ssh/id_rsa.pub root@www.example.com:.ssh/authorized_keys2

Edit default configuration file is located at /etc/rsnapshot.conf:
# vi /etc/rsnapshot.conf

Configuration rules:

You must follow two configuration rules:
1.  rsnapshot config file requires tabs between elements.
2.  All directories require a trailing slash. For example, /home/ is correct way to specify directory, but /home is wrong.

First, specify root directory to store all snapshots such as /snapshots/ or /dynvol/snapshot/ as per your RAID setup, enter:

snapshot_root    /raiddisk/snapshots/

Define snapshot intervals:
You need to specify backup intervals i.e. specify hourly, daily, weekly and monthly intervals:
interval    hourly    6
interval    daily      7

To backup /var/www/, /var/log/httpd/ directory from www.example.com, enter:

backup    root@www.example.com:/var/www/    www.example.com/
backup    root@www.example.com:/var/log/httpd/    www.example.com/

Save and close the file.

To test your configuration, enter:
#  rsnapshot configtest


Schedule cron job:

Create /etc/cron.d/rsnapshot cron file. Following values used correspond to the examples in /etc/rsnapshot.conf.
0 */4 * * *         /usr/bin/rsnapshot hourly
50 23 * * *         /usr/bin/rsnapshot daily

Save and close the file. Now rsnapshot will work as follows to backup files from remote box.


To see backup directory :
#  cd /raiddisk/snapshots/
#  ls -l

To restore backups:
#  cd /raiddisk/snapshots/

Enter to your desired backup folder and restore your files:
#  scp -r etc/httpd/ root@www.example.com:/etc/httpd/


45 comments:

Anonymous said...

WOW just what I was searching for. Came here by searching for dragon city breeding guide for legendary

My site dragon city guide to breeding

Anonymous said...

Wonderful blog! Do you have any tips and hints for aspiring writers?
I'm hoping to start my own site soon but I'm a little lost on everything.

Would you advise starting with a free platform like Wordpress or go for a
paid option? There are so many choices out there that I'm completely overwhelmed ..
Any ideas? Thank you!

Also visit my page; شركة تنظيف منازل بالرياض

Anonymous said...

That is a good tip particularly to those new to the blogosphere.

Brief but very accurate info… Many thanks for sharing this
one. A must read article!

my page شركة تنظيف منازل بالرياض

Anonymous said...

I am really inspired with your writing skills as
well as with the layout for your weblog. Is this a paid topic or did you modify it
your self? Anyway keep up the nice high quality writing, it is
uncommon to peer a nice weblog like this one nowadays..


Here is my site :: RunClick plugin

Anonymous said...

There are now select plastic surgeons that offer affordable payment plans on their plastic surgery procedures for their
clients. Though plastic surgery gives results quicker than other means but
you need to have patience. Often fine dining and jewelry discounts are offered.


My web blog - plastic surgery group of memphis

Anonymous said...

Ι ƅelieve that is amog the sucҺ a lot vital іnformation for me.And i am happy reading үouг article.

However wanna observation on few common issues, Τhe site style іs great,
thе articles іs іn reality excellent : D. Excellent
activity, cheers

Feel free tο visit my wedbpage grepolis cheats no download

Anonymous said...

Hey, I think your blog might be having browser compatibility issues.

When I look at your blog in Ie, it looks fine but when opening in Internet Explorer,
it has some overlapping. I just wante to give you a quick heqds up!
Other then that, fantastic blog!

Review my site; Simply Click The Following Post

Anonymous said...

Actually, the correct term is "nausea and vomiting of pregnancy".
However, there are numerous HCG recipes that exist, thanks
to the thousands of people who've bravely undertaken this diet.

There is a 54 percent chance that you will be able to detect your pregnancy six days
before you miss your period with the First Response pregnancy test.


Take a look at my webpage best hcg drops that work

Anonymous said...

It'sgoing to be finish of mine day, except before ending I amm reading this
impressive article to increase my experience.

Also visit my web-site ... how to handle rude people;
http://majlisittehadulmuslimeenwarriors.blogspot.it/,

ninest123 Ninest said...

ninest123 11.26
michael kors handbags, burberry factory outlet, longchamp bags, replica watches, louboutin uk, michael kors outlet, uggs outlet, prada handbags, louis vuitton outlet online, cheap oakley sunglasses, ralph lauren outlet, louis vuitton outlet, cheap jordans, louboutin shoes, louis vuitton, gucci handbags, ralph lauren polo, oakley sunglasses, oakley sunglasses, oakley sunglasses, longchamp outlet, ray ban sunglasses, longchamp outlet, nike outlet, ray ban sunglasses, christian louboutin, uggs outlet, prada outlet, nike free, michael kors outlet online, nike air max, ray ban sunglasses, uggs on sale, christian louboutin, nike air max, replica watches, michael kors outlet online, burberry outlet, uggs on sale, tiffany jewelry, louis vuitton handbags, oakley sunglasses, tiffany jewelry, uggs on sale, tory burch outlet, michael kors, louis vuitton outlet, michael kors outlet online

ninest123 Ninest said...

longchamp pas cher, timberland pas cher, polo ralph lauren uk, nike trainers uk, true religion outlet, hermes pas cher, nike roshe run pas cher, nike tn pas cher, michael kors, nike air max pas cher, michael kors uk, abercrombie and fitch UK, north face uk, north face pas cher, mulberry uk, vanessa bruno pas cher, michael kors, lunette ray ban pas cher, sac guess pas cher, longchamp soldes, nike air max uk, coach purses, louboutin pas cher, coach outlet store online, abercrombie and fitch, ralph lauren pas cher, true religion outlet, vans pas cher, hollister uk, nike free pas cher, true religion outlet, nike free, nike air max uk, ray ban uk, jordan pas cher, polo lacoste pas cher, nike blazer pas cher, hogan sito ufficiale, true religion jeans, lunette oakley pas cher, lululemon outlet, nike roshe uk, nike air max, new balance, converse, burberry pas cher, coach outlet, michael kors outlet online, nike air force

ninest123 Ninest said...

iphone 6s cases, mac cosmetics, north face outlet, oakley, vans scarpe, nike air max, hermes handbags, softball bats, ipad cases, s6 cases, louboutin, nike roshe run, gucci, vans outlet, abercrombie and fitch, celine handbags, mont blanc, valentino shoes, iphone 5s cases, ray ban, giuseppe zanotti, lululemon outlet, beats by dre, nfl jerseys, mcm handbags, bottega veneta, nike air max, iphone 6 cases, chi flat iron, insanity workout, iphone cases, converse, asics running shoes, instyler ionic styler, reebok outlet, babyliss pro, hollister clothing, north face outlet, polo ralph lauren, soccer shoes, wedding dresses, salvatore ferragamo, iphone 6 plus cases, new balance shoes, herve leger, iphone 6s plus cases, p90x workout, ghd hair, hollister, timberland boots, jimmy choo outlet, soccer jerseys

ninest123 Ninest said...

louis vuitton, pandora jewelry, moncler, pandora uk, canada goose, canada goose pas cher, barbour jackets uk, moncler, canada goose outlet, hollister, louis vuitton, moncler jackets, replica watches, toms shoes, uggs outlet, moncler, canada goose outlet, ugg pas cher, canada goose uk, lancel, ugg uk, juicy couture outlet, bottes ugg pas cher, converse shoes outlet, thomas sabo uk, karen millen uk, wedding dresses uk, sac louis vuitton, pandora charms, supra shoes, pandora jewelry, barbour, moncler pas cher, coach outlet, moncler outlet, marc jacobs, louis vuitton uk, ugg,uggs,uggs canada, swarovski jewelry, canada goose jackets, canada goose, sac louis vuitton, doke & gabbana, moncler, ugg,ugg australia,ugg italia, montre pas cher, canada goose jackets, swarovski uk, juicy couture outlet, links of london uk, moncler uk
ninest123 11.26

chenlina said...

chenlina20151219
louis vuitton outlet
michael kors bag
canada goose outlet
ugg boots
ugg boots outlet
michael kors outlet
ugg boots
canada goose jackets
michaek kors outlet
cheap ugg boots
canada goose outlet
polo ralph lauren
uggs on sale
michael kors outlet online
the north face outlet
louis vuitton outlet
cheap air max
abercrombie and fitch
canada goose outlet
ray ban sunglasses
tory burch outlet
jordan 11
uggs boots for women
oakley sunglasses
coach outlet
louis vuitton handbags
timberland outlet
ray ban sunglasses outlet
ray ban sunglasses outlet
abercrombie kids
canada goose outlet online
coach outlet store online
coach outlet
michael kors outlet
ugg boots
uggs outlet
canada goose jackets
hollister co
abercrombie & fitch
ugg boots
as

艾丰 said...

jianbin0324
nike air max
swarovski outlet
ray-ban sunglasses
michael kors outlet online
jordan shoes
michael kors canada
michael kors handbags
lebron shoes
mbt shoes
air jordan 4
mlb jerseys
links of london
mcm backpack
pandora outlet
louis vuitton handbags
prada handbags
cheap nfl jersey
ralph lauren,polo ralph lauren,ralph lauren outlet,ralph lauren italia,ralph lauren sito ufficiale
abercrombie and fitch
hermes birkin bag
cheap nike shoes
louis vuitton outlet store
michael kors outlet
michael kors handbags
louis vuitton outlet
michael kors factory outlet
hermes belt for sale
true religion jeans
mulberry outlet store
adidas outlet store
michael kors handbags
coach outlet store
air jordan shoes for sale
mac cosmetics
hermes outlet
asics,asics israel,asics shoes,asics running shoes,asics israel,asics gel,asics running,asics gel nimbus,asics gel kayano
nike foamposite
nfl jerseys wholesale
lebron shoes

艾丰 said...

jianbin0324
nike air max
swarovski outlet
ray-ban sunglasses
michael kors outlet online
jordan shoes
michael kors canada
michael kors handbags
lebron shoes
mbt shoes
air jordan 4
mlb jerseys
links of london
mcm backpack
pandora outlet
louis vuitton handbags
prada handbags
cheap nfl jersey
ralph lauren,polo ralph lauren,ralph lauren outlet,ralph lauren italia,ralph lauren sito ufficiale
abercrombie and fitch
hermes birkin bag
cheap nike shoes
louis vuitton outlet store
michael kors outlet
michael kors handbags
louis vuitton outlet
michael kors factory outlet
hermes belt for sale
true religion jeans
mulberry outlet store
adidas outlet store
michael kors handbags
coach outlet store
air jordan shoes for sale
mac cosmetics
hermes outlet
asics,asics israel,asics shoes,asics running shoes,asics israel,asics gel,asics running,asics gel nimbus,asics gel kayano
nike foamposite
nfl jerseys wholesale
lebron shoes

艾丰 said...

jianbin0325
nike air max
swarovski outlet
ray-ban sunglasses
michael kors outlet online
jordan shoes
michael kors canada
michael kors handbags
lebron shoes
mbt shoes
air jordan 4
mlb jerseys
links of london
mcm backpack
pandora outlet
louis vuitton handbags
prada handbags
cheap nfl jersey
ralph lauren,polo ralph lauren,ralph lauren outlet,ralph lauren italia,ralph lauren sito ufficiale
abercrombie and fitch
hermes birkin bag
cheap nike shoes
louis vuitton outlet store
michael kors outlet
michael kors handbags
louis vuitton outlet
michael kors factory outlet
hermes belt for sale
true religion jeans
mulberry outlet store
adidas outlet store
michael kors handbags
coach outlet store
air jordan shoes for sale
mac cosmetics
hermes outlet
asics,asics israel,asics shoes,asics running shoes,asics israel,asics gel,asics running,asics gel nimbus,asics gel kayano
nike foamposite
nfl jerseys wholesale
lebron shoes

Xiaozhengm 520 said...

2016-4-7 xiaozhengm
nike roshe run
north face outlet
coach factory outlet
kobe 11
coach outlet online
ralph lauren polo
nike sb shoes
michael kors outlet
louis vuitton handbags
hollister outlet
cheap oakley sunglasses
cheap jerseys wholesale
air jordans
michael kors outlet
jordan retro
louis vuitton
burberry outlet online
cheap nfl jerseys
longchamp bags
coach factorty outlet
rolex watches outlet
louis vuitton
christian louboutin
michael kors outlet
ray bans
air max 90
ray ban sunglasses
kobe bryant shoes
ray ban wayfarer
toms shoes outlet online
louis vuitton handbags
ugg boots
louis vuitton outlet
lebron james shoes 13
coach factory outlet
mont blanc pens
louis vuitton handbags
jordan 8
louis vuitton outlet stores

Xiaozhengm 520 said...

2016-4-7 xiaozhengm
nike basketball shoes
oakley sunglasses
michael kors outlet clearance
louis vuitton bags
replica watches
michael kors outlet
pandora jewelry
kate spade outlet
louis vuitton outlet
louis vuitton outlet
ray ban sunglasses
ray ban sunglasses
ray ban uk
coach factory outlet
oakley sunglasses
tiffany outlet
oakley sunglasses wholesale
replica watches
fitflops
nike uk
christian louboutin sale
nike sb
michael kors outlet clearance
michael kors outlet
michael kors outlet
ralph lauren
replica watches for sale
ray ban sunglasses
gucci outlet
coach outlet
michael kors outlet
tiffany and co
polo ralph shirts
cheap oakley sunglasses
michael kors handbags
nike air max 90
nike running shoes
coach outlet store online
mont blanc pens
insanity workout

Ahmed Adel said...


شركة تنظيف بالرياض
شركة تنظيف منازل بالرياض
شركة تنظيف فلل بالرياض
شركة تنظيف خزانات بالرياض
شركة رش مبيدات بالرياض
شركة كشف تسربات المياه بالرياض
شركة تنظيف مجالس بالرياض
شركة جلى بلاط بالرياض
شركة تنظيف واجهات زجاج بالرياض
شركة تنسيق حدائق بالرياض
شركة دهانات بالرياض
شركة عزل اسطح بالرياض
شركة نقل اثاث بالرياض
شركة تنظيف بالرياض
شركة جلى بلاط بالرياض

Phone: 0555618071

website: https://www.alrayyanclean.com

Gaia1956 said...

tucson dui
moving companies houston
fitness centers in az
auto donation
vasectomy procedure
az dentist
furniture stores in phoenix az
tailor made suits
crossfit mesa az
leather shoe care
www.movershoustontx.net
business slogans

El Taufan said...

Thanks for Sharing that
offline installer filehippo 
getdriversforpc 
theprinterdriver 
getoifile 
esoftpedia 
filehorse 
caranddriver 
epson-printerdrivers
filehippo
filehippo
softpedia
Mobile flash File
softpedia
softpedia
filehippo

شركة المحارب said...

شركة تنظيف مسابح بالرياض
شركة مكافحة الفئران بالرياض
شركة مكافحة النمل الابيض بالرياض
شركة مكافحة حشرات بالرياض
شركة تنظيف فلل بالرياض
شركة نقل اثاث بالرياض
شركة تسليك مجاري بالرياض
شركة مكافحة حشرات بالدمام
شركة صيانة مسابح
شركة تنظيف مسابح
شركة ترميم مسابح
شركة اصلاح نوافير وشلالات
شركة غسيل مسابح بالرياض
شركة صيانة مسابح بالرياض
شركة تنظيف مسابح صيانة وترميم مسبح
صيانة مسابح مكافحة حشرات
صيانة مسابح مكافحة حشرات

شركة المحارب said...

شركة تنظيف بالرياض
شركة تنظيف خزانات بالرياض
شركة تنظيف شقق بالرياض
شركة تنظيف مسابح بالرياض
شركة تنظيف منازل بالرياض
شركة تسليك مجاري بالرياض
شركة مكافحة حشرات بالرياض
شركة مكافحة النمل الابيض بالرياض
شركة مكافحة الصراصير بالرياض
شركة مكافحة النحل بالرياض
شركة نقل اثاث بالرياض
شركة نقل عفش بالرياض
شركة كشف تسربات بالرياض

chenlina said...

chenlina20160616
nike basketball shoes
nike factory outlet
toms shoes
adidas shoes
oakley vault
replica watches
timberland boots
ray ban sunglasses
cheap ray ban sunglasses
air jordans
tiffany and co
christian louboutin outlet
michael kors outlet
michael kors outlet clearance
ray ban sunglasses
nike sb shoes
christian louboutin sale
toms wedges
burberry outlet
michael kors outlet
toms outlet
polo ralph lauren
louis vuitton
asics outlet
coach factory outlet
nike air max
coach outlet store online clearances
ralph lauren outlet
louis vuitton purses
louis vuitton handbags
louis vuitton outlet
oakley sunglasses
toms outlet
coach factory outlet
giuseppe zanotti
coach outlet
kate spade handbags
cheap toms
running shoes
oakley vault
as

chenzhen said...

zhuo20160603
ray ban sunglasses
cheap oakley sunglasses
longchamp bag
cheap nike shoes
oakley vault
nike free flyknit 4.0
rolex replica watches
coach outlet store online
coach outlet online coach factory outlet
coach outlet
pandora jewelry
nike huarache
michael kors outlet store
skechers outlet
michael kors outlet clearance
hollister co
nike free run black
instyler max
ralph lauren outlet
cheap nba jerseys
north face jackets
louboutin uk
coach outlet store
cheap jordans
babyliss flat iron
cheap jordans
hugo boss outlet
oakley sunglasses
michael kors outlet clearance
ray ban sunglasses
fitflops outlet
christian louboutin outlet
michael kors outlet
ralph lauren outlet
buy red bottoms
ghd hair straighteners
bottega veneta handbags
nike air max 90

Unknown said...

michael kors outlet
jordan pas cher
ray-ban sunglasses
ghd hair straighteners
rolex watches
oakley sunglasses wholesale
tods outlet
rolex watches
hermes bags
michael kors outlet
chanyuan10.05

Hua Cai said...

nike roshe run shoes
tory burch outlet
louis vuitton outlet
links of london jewellery
coach outlet store
tory burch outlet online
ecco shoes
nike free running
christian louboutin
tory burch outlet
20161227caihuali

AN NETWR said...

Great Sharing also visit CPu z filehippo website for All Latest and New Softwares.

Anonymous said...

Click Here

Anonymous said...

Dog, Puppies, Dog breeds, Dog adoption, Small dog breeds

Anonymous said...

Breeds of dogs, dog, best dogs, dog, dog

Tonny said...

dog, dog, types of dogs, dog, pet dog

Anonymous said...


dog, dog, dog adoption, dogr, dog

Tonny said...

small dogs, dog, dog, breeds of dogs, dog, dog websites

Unknown said...

lions jerseys
michael kors outlet
atlanta falcons jersey
ed hardy uk
ray bans
oklahoma city thunder jerseys
oakley sunglasses
rolex replica
salomon shoes
michael kors handbags

chenmeinv0 said...

christian louboutin outlet
michael kors handbags
coach purses
roshe run
mizuno shoes
birkenstock sandals
michael kors handbags
michael kors outlet clearance
coach outlet store online
michael kors outlet clearance
chenyingying20170323

caiyan said...

adidas yeezy boost
yeezy shoes
coach outlet online
nike free 4.0 flyknit
wireless beats headphones
ralph lauren outlet online
yeezy shoes
polo ralph lauren outlet
louis vuitton outlet store
tods outlet
0407shizhong

شركة المثالية لتنظيف said...

المثالية للتنظيف
شركة المثالية لتنظيف الفلل بالخبر
شركة المثالية لتنظيف المنازل بالخبر
شركة المثالية لتنظيف الشقق بالخبر
شركة المثالية لتنظيف البيوت بالخبر
شركة المثالية لتنظيف المجالس بالخبر
شركة المثالية لتنظيف الموكيت بالخبر
شركة المثالية لتنظيف الكنب بالخبر
شركة المثالية لتنظيف السجاد بالخبر
شركة المثالية لتنظيف المدارس بالخبر
شركة المثالية لتنظيف المساجد بالخبر
شركة المثالية لتنظيف الاثاث بالخبر
شركة المثالية للتنظيف بالدمام
شركة المثالية للتنظيف بالخبر

salma osama said...


شركة تنظيف بالرياض
شركة تنظيف سيراميك ببريدة
شركة تسليك مجارى بالدمام
شركة تسليك مجارى بالخبر
شركة تسليك مجارى بالجبيل
شركة مكافحة حشرات بالدمام

dong dong23 said...

polo outlet
fitflop sandals
christian louboutin sale
mlb jerseys cheap
coach factory online
nike outlet online
polo ralph lauren shirts
converse shoes outlet
mont blanc mountain pen
ralph lauren outlet
2017.5.2chenlixiang

raybanoutlet001 said...

pandora charms
mbt shoes
oakland raiders jerseys
cheap oakley sunglasses
coach
instyler max 2
pandora jewelry
ralph lauren
boston celtics
christian louboutin outlet

Cleaning services said...

حيث أن النظافة افضل شركة تنظيف بالرياض
هي عنوان بيتك ونظافتها تدل عليك لذلك يهتم العملاء بنظافتها
وغسيلها بشكل دوري لكن ذلك يحتاج إلي شركة متخصصة حتي تتم النظافة علي أكمل وجة.
نستخدم في شركة ماكينات تنظيف تحافظ علي القماش الخارجي للمجلس
وتجعلة يبدو كالجديد تماما لأنها تعمل علي ضخ المياه وشفط
ولذلك عمليات الشفط امر مهم لان مع الشفط يتم سحب الاوساخ والاتربه
افضل شركات تنظيف بالرياض
شركات تنظيف بالرياض
تنظيف فى الرياض
تنظيف بالرياض
شركة تنظيف منازل بالرياض
شركة تنظيف المنازل بالرياض
تنظيف منازل بالرياض

chenlina said...

puma shoes
coach factory outlet
coach outlet online
canada goose outlet store
nike outlet
adidas outlet online
valentino shoes
adidas yeezy shoes
oakley sunglasses
michael kors outlet
wanglili20170623

da xu said...

mont blanc pen
polo ralph lauren
pandora charms
louboutin outlet
discount nike shoes
michael kors outlet
adidas yeezy boost
longchamp
michael kors
jordan uk
xushengda0630