LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-31-2010, 09:18 AM   #1
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Rep: Reputation: 51
Backup running server using rsnapshot


hi

Howto backup incremental running debian server using rsnapshot?
 
Old 01-31-2010, 12:03 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Are there no useful instructions in /usr/share/doc/rsnapshot/?

Evo2.
 
Old 02-02-2010, 03:01 PM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Regarding specifically your request for incremental backups, I suppose the first question is to ask how you define the word incremental. Long ago there were two terms used in backup strategies: differential and incremental. A differential backup made copies of files that had changed since the previous backup. A full restoration required restoring each differential backup. An incremental backup copied all files that had been modified. A full restoration required only restoring that one backup. Definitions change and I think those two words are used differently today. Further, the file systems used in Linux-based systems do not use an archive bit, common in Microsoft file systems. Linux-based file systems do use modification time stamps, which serves a similar purpose.

Rsnapshot uses rsync and hard-links to backup files. Because rsync and hard-links are used, each backup is a difference between the previous backup. A rather fascinating and efficient process.

I use rsnapshot in a comprehensive backup strategy. Although originally written for my Slackware environment, the same strategy can be adapted easily to Debian.

You can read more here:

A Backup Strategy

In my backup strategy I have cron run rsnapshot every three hours to backup my most important configuration and data files. I manually run rsnapshot weekly to perform a full backup. I have additional computers here in my home LAN and I run another rsnapshot backup of those systems. However, those systems do not change anywhere near as much as my primary office machine. Therefore I run that full backup about monthly.

I use a different rsnapshot config file for each backup routine.

For the manual backups I use a 750 GB SATA drive and a removable drive bay. The SATA drive is hot-pluggable. I store 26 weeks of weekly backups and about 6 remote backups.

A critical test is whether I can restore files from this backup strategy. I did this just the other day when I restored a copy of a CD ISO image I wanted to play with that I hadn't used in a while. I had deleted the local copy but the backup provided me a means to restore the file without wasting ISP bandwidth and waiting 45 minutes for the image to download.

I haven't reviewed the how-to in a long time and I would be grateful for any helpful comments. Feel free to ask questions too.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Using rsnapshot with sshfs to backup lpallard Linux - Software 3 08-29-2012 10:41 AM
Rsnapshot backup of Windows client - name resolution problem pentode Linux - Server 5 12-05-2008 04:07 PM
Help building a LAN backup server running RH 7.2 tommygee Linux - Server 3 09-08-2008 08:25 AM
Rsnapshot and Backup Strategy Woodsman Slackware 2 04-28-2008 10:48 PM
Using rsnapshot to make a system backup Transition Slackware 1 03-21-2005 09:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration