Re: Debian OS Backup



Jacob Ramirez wrote:
We are running linux with Debian OS. I am new to using linux and
debian. Can I use an external hard drive to backup the operating system
and files on our linux servers? If so, how do I create a full backup of
the system for disaster recovery? Is it easy to restore if there is a
need?
Is there documentation somewhere that I can read that explains how to do
this? Thanks for your help in advance.

I like rdiff-backup[1]. From the man page:

rdiff-backup is a script, written in python(1) that backs up one direc‐
tory to another. The target directory ends up a copy (mirror) of the
source directory, but extra reverse diffs are stored in a special sub‐
directory of that target directory, so you can still recover files lost
some time ago. The idea is to combine the best features of a mirror
and an incremental backup. rdiff-backup also preserves symlinks, spe‐
cial files, hardlinks, permissions, uid/gid ownership, and modification
times.

If you want an image of a complete partition, try partimage[2].

Disaster restore using a live CD to run rdiff-backup, partimage, etc. There are
many around (eg Knoppix), or make your own using Debian Live[3]. Alternatively,
keep a second, small bootable system on your HDD.

[1] http://rdiff-backup.nongnu.org/
[2] http://www.partimage.org/Main_Page
[3] http://wiki.debian.org/DebianLive/


--
Chris.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Backup Up On Unreliable Link
    ... No response so far on the rdiff-backup mail list. ... rdiff-backup fails in the middle of a backup it regresses to the last backup ... If you are running this across an unreliable link ... you could consistently have a partial backup. ...
    (freebsd-questions)
  • Re: Hard Drive Limitations
    ... > to use as a backup server. ... I am having difficulties with the drives. ... > Debian, and not have to install another version of Debian or Linux. ... I use a 250gb Maxtor (one partition, xfs fs) on a Debian Testing box as ...
    (Debian-User)
  • Re: [opensuse] the cp command
    ... There's already a package (available in SuSE 10.0 and, ... Two packages: there is also rsnapshot: ... # required is just a little more than the space of one full backup, ... I don't know the difference between rsnapshot and rdiff-backup ...
    (SuSE)
  • Backup my Debian woody system
    ... I have to backup my debian woody system and I am not sure about the best ... So I have to backup my box. ... Because of lack of free space on my hardrive I am connected with my FreeBSD ...
    (Debian-User)
  • Debian hardware (HP Proliant), version and backup questions
    ... and we need to set up a server for internally hosting our site. ... who has done a lot of Zope hosting, recommended Debian as an alternative to ... few questions about hardware, versions and backup solutions: ... What is the best way to install Debian - by CD-ROM, ...
    (Debian-User)