From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DzCMs-0002dP-Q5 for garchives@archives.gentoo.org; Sun, 31 Jul 2005 11:52:35 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6VBojfA004287; Sun, 31 Jul 2005 11:50:45 GMT Received: from smtp111.mail.sc5.yahoo.com (smtp111.mail.sc5.yahoo.com [66.163.170.9]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6VBlBfB012120 for ; Sun, 31 Jul 2005 11:47:11 GMT Received: (qmail 64392 invoked from network); 31 Jul 2005 11:48:11 -0000 Received: from unknown (HELO ?192.168.50.105?) (richard?j?fish@212.180.33.26 with plain) by smtp111.mail.sc5.yahoo.com with SMTP; 31 Jul 2005 11:48:10 -0000 Message-ID: <42ECBA79.2030309@asmallpond.org> Date: Sun, 31 Jul 2005 13:48:09 +0200 From: Richard Fish User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050723) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] backup & restore solution? References: <42EBB7B6.2010301@gmx.net> In-Reply-To: <42EBB7B6.2010301@gmx.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 4ac693ca-fc5d-4a3e-8a34-69b3b7120eaa X-Archives-Hash: 78203a9d4a3f5aae2225676749595f46 Jarry wrote: > Hi, > > I am now looking for some sort of backup & restore solution which would > help me to get my gentoo-server up and running after fatal disk failure. > > I want to burn at regular intervals compressed partition images of disk > on internal dvd/rw/ram (4.5 GB should be enough for archiving the whole > disk, without /home partition). Well, tar and cpio are good choices because they are available on the Gentoo live CD. If you chose another program, you will just need to make sure that you have a static binary of it available at recovery time (copying this to your recovery media is the best choice). I am currently using 'dar' to backup to external USB hard disk. Dar is also useful for backing up to DVD media though, because it has good support for creating archive 'slices' that will fit nicely on a DVD, just in case you decide to backup /home as well. It is in portage, but if you are interested, check out http://dar.linux.free.fr/ For 'quick-and-easy' restoring, I'm not aware of anything that really automates the process. But generally the steps are: 1. fdisk 2. mkfs 3. mount 4. restore files 5. chroot 6. install boot loader 7. reboot The difficulty in restoring the files will really depend upon how you make your backups (always full, incrementals, differentials, etc). A full backup would always be the easiest, as you only need a single piece/set of media and one command to do the restore. The rest of the steps are pretty much exactly the same as for when you installed Gentoo, so there shouldn't be any real surprises there. One last thing, if you've only got a single CD/DVD drive, you are probably going to have an issue to have both the live CD and the backup media available, since you can't really eject the live CD to insert your backup disk. -Richard -- gentoo-user@gentoo.org mailing list