Welcome to Debian Planet
News for Debian. Stuff that *really* matters
Debian
These are important Debian sites one should not be without!
  • Official Debian site
  • Package search
  • Mailing list archives
  • Bug reports
  • Debian on CD
  • Unofficial APT sources
  • Developers' Corner

    Other great Debian news sources:

  • Debian Weekly News
  • Kernel Cousin Debian (Debian mailing lists digested)

  • Community
    Need help? You're not alone on this planet.
  • debianHELP (User support site)
  • Debian International
  • DebianForum.de (Deutsch)
  • EsDebian (español)
  • DebianWorld (français)
  • MaximumDebian (Italiano)
  • DebianUsers (Korean)
  • Debian-BR (Português)

  • Contribute
    Got that latest or greatest scoop? Perhaps you have some important news for the Debian community? Submit a news item!

    Or perhaps you've written a rather ground breaking insight into some aspect of Debian and you feel compelled to share it with others? Knock up a longer editorial article and send it to the editors.


    IRC
    The place to get help on a Debian problem (after reading docs) or to just chat and chill is #debian on irc.debian.org.

    Many of the Debian Planet staff live there so pop by and say hello.

    Debian Planet also has its own channel on the same network called #debianplanet.


    Sponsorship

    DP is sponsored by Xinit Systems and kieser.net.

    Domains paid for and hosted by uklinux.net.

    Buy your Debian merchandise at DebianShop.com.


    Backup strategies / automatic installation?
    Submitted by hildeb on Friday, February 01, 2002 - 14:07
    Once a machine is set-up it usually runs smoothly. But what if the HD fails? How can I easily (maybe semi-automatic) recreate an identical setup, with the same packages (or updated packages) to restore the old functionality? Something similar to RedHat's "Kickstart".
    rob: A recurring question here, for automated installation use FAI or autoinstall.

    Control panel

    Comment viewing options:

    Select your prefered way to display the comments and click 'Update settings' to active your changes.


    Subject: Re: Backup strategies / automatic installation?
    Author:Anonymous
    Date:Monday, 2002/02/11 - 19:12
    Also take a look at SystemImager http://systemimager.org/ or apt-cache search systemimager.
    [ Please login, or register ]

    Subject: Re: Backup strategies / automatic installation?
    Author:Anonymous
    Date:Monday, 2002/02/11 - 07:56
    My home partiition is nfs mounted. I use very few
    non-debian packages to simplify maintenance.

    Then I:

    root crontab:

    00 01 * * * /usr/bin/dpkg --get-selections > /etc/apt/apt.files
    00 00 * * * /usr/bin/apt-get -qq update && /usr/bin/apt-get -d -qq dist-upgrade
    00 01 * * * /usr/bin/apt-get autoclean >/dev/null

    This gives me an updated package list every night (and some auto .deb downloads).

    Then I back up my /etc directory and I have all my
    packages and their confige files.
    [ Please login, or register ]

    Subject: Re: Backup strategies / automatic installation?
    Author:Anonymous
    Date:Tuesday, 2002/02/05 - 09:17
    I use mondo (it'll be in debian sid soon btw) it's great, it can do full backups and then incremintal after to only backup what's changed since your last backup.
    [ Please login, or register ]

    Subject: Re: Backup strategies / automatic installation?
    Author:Anonymous
    Date:Sunday, 2002/02/03 - 10:14
    I use jablicator
    [ Please login, or register ]

    Subject: Re: Backup strategies / automatic installation?
    Author:dale
    Date:Saturday, 2002/02/02 - 00:15
    At the company I'm working at we use mondo
    for as part of are backup and restore stragegy.
    See:

    http://freshmeat.net/projects/mondorescue/

    for more details.
    [ Please login, or register ]

     
    Subject: i do a onetime full copy, then config backups regularly...
    Author:Anonymous
    Date:Saturday, 2002/02/02 - 09:03
    for the fullbackup i use this little tool:
    ubercopy (dd(1) frontend)
    and for the configuration backup (automatically):
    iBackup

    tarzeau
    [ Please login, or register ]

    Subject: fai web page down?
    Author:tim_olsen
    Date:Friday, 2002/02/01 - 22:54
    looks like the fai home page is down
    (http://www.informatik.uni-koeln.de/fai/)

    at least that's the one freshmeat has on file. did it move?
    [ Please login, or register ]

    Subject: Re: Backup strategies / automatic installation?
    Author:MetricT
    Date:Friday, 2002/02/01 - 16:57
    We use SystemImager (www.systemimager.org) to maintain our Beowulf cluster, and it works quite well.
    [ Please login, or register ]

     
    Subject: Re: Backup strategies / automatic installation?
    Author:Anonymous
    Date:Saturday, 2002/02/02 - 00:18
    Agreed - We use SystemImager at work to save quick-restore snapshots of all of our servers. We also use it to keep all of our Linux desktops in-sync with our current Linux workstation build.

    It's easy to use out of the box, yet easily modifiable to suit your particular needs.
    [ Please login, or register ]

    Subject: Re: Backup strategies / automatic installation?
    Author:Anonymous
    Date:Friday, 2002/02/01 - 16:45
    What about the configuration of the box as well?

    I realize that /etc holds most of the config data for individual packages, but /var holds the configuration of debconf itself (am I incorrect?).

    It seems that a very simple script could be created (maybe like or based on fai) which can recreate a system in a matter of minutes.

    True story: one of our firewalls died a grizzly harddrive-related death just this last Sunday. The joy of rebuilding that system occupied about a day and a half of what could have been productive time. I did not really need a backup of the system -- only of the configuration.
    [ Please login, or register ]

     
    Subject: Re: Backup strategies / automatic installation?
    Author:Anonymous
    Date:Friday, 2002/02/01 - 21:55
    Why not make a backup of the system?

    How much does a day and a half cost? Compared to a simple backup setup. In my opinion it always pays off to do backups.

    I can highly recommend Amanda. It works like a charm. Even with large partitions with some fiddling. I use it to make backups of partitions around 400GB. Of course the hardware for amounts of data like this cost a bit. But recreating data can be extremely expensive.
    [ Please login, or register ]

     
    Subject: Re: Backup strategies / automatic installation?
    Author:Anonymous
    Date:Saturday, 2002/02/02 - 15:47
    I agree with the time element. But once again, the only data that was vaguely important was the configuration. There was/is no need to backup what amounts to an installation of potato.

    I am working on a solution involving rsync, ssh, cron but I am not sure how best to utilize the debian package management system to achieve a good solution.

    In the meantime, I am studying fai.
    [ Please login, or register ]

     
    Subject: Re: Backup strategies / automatic installation?
    Author:Anonymous
    Date:Tuesday, 2002/02/05 - 13:39
    A full backup of a debian server with no cruft will take up very little space. Not to mention that Amanda does intelligent incremental backups and can treat individual partitions in very different ways.
    [ Please login, or register ]

     
    Subject: Re: Backup strategies / automatic installation?
    Author:Anonymous
    Date:Monday, 2002/02/04 - 01:16
    Especiqally for things like routers, firewalls or frontend servers where no changing content is found, things like bare metal restore from Boot-CD are fine.

    Of course it is even better to start with a Boot CD at the first place and have the config on netboot servers or disks. Line LinuxRouter, FreeSCO.

    Personally I intend to look at mindi/mondo in addition to a normal backup with arcserve.
    [ Please login, or register ]

    Subject: Re: Backup strategies / automatic installation?
    Author:Anonymous
    Date:Friday, 2002/02/01 - 15:47
    dpkg --get-selections

    for backing up the current selections

    dpkg --set-selections

    for reading in the selections

    should help in getting up the same system quickly (provided you backed up /etc as well :) )

    chregu


    [ Please login, or register ]

     
    Subject: Re: Backup strategies / automatic installation?
    Author:undefined
    Date:Thursday, 2002/02/07 - 22:20
    i like and appreciate the simplicity of this answer (and explains why i modded this up).

    i know that for a large number of systems within an organization a large part of the problem is managing the backups, not just making the backups. but for my set of three systems (laptop, desktop, firewall) at home, many of the mentioned applications are overkill.

    i can't afford to purchase a tape backup (or better yet, there are more pressing things to purchase for my family than a tape backup and tapes). i can afford a little down time (waiting until the next free weekend or staying up late a few weeknight if need be). and i don't have that much unique data (documents, config files).

    to date i've been dumping "dpkg -l" to a file in /root and backing up /etc, /root, /home, & /usr/local (which contains nothing but custom scripts). i do weed out directories called "cache", "Cache", etc.

    thanks for the tip about "dpkg --get-selections" (which i've been using to manually set/clear holds; yeah, you can do that using dselect, but after my first experience with it installing debian, i refuse to try to use it again).

    all that i backup to a cdr for archiving. i currently have 5 gigs of stuff on my laptop, but the above directories only take up 100 megs. and that's uncompressed.

    the dpkg selections commands will really help in reinstalling everything. thanks.
    [ Please login, or register ]

    Search articles

    Category
    ·News (45)
    ·Features (2)
    ·Site News (4)
    ·HOWTOs (16)

    Log in
    Username:

    Password:

    Remember me

    » Register
    » New password

    Debian Security Announcements
    DSA-155 kdelibs
    DSA-154 fam
    DSA-153 mantis
    DSA-152 l2tpd
    DSA-151 xinetd
    DSA-150 interchange
    DSA-149 glibc
    DSA-148 hylafax
    DSA-147 mailman
    DSA-146 dietlibc


    Latest poll: My Debian box tracks
    Unstable/Sid
    Testing
    Stable
    Sarge
    Woody
    Potato

    home · archives · news feeds · polls · search · sections · user account

    Powered by the amazing Drupal