From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OlL39-0005TQ-DC for garchives@archives.gentoo.org; Tue, 17 Aug 2010 12:13:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94E99E084C; Tue, 17 Aug 2010 12:13:19 +0000 (UTC) Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.22]) by pigeon.gentoo.org (Postfix) with SMTP id 232BCE084C for ; Tue, 17 Aug 2010 12:13:18 +0000 (UTC) Received: (qmail invoked by alias); 17 Aug 2010 12:13:05 -0000 Received: from PCX155.ipht-jena.de (EHLO [172.17.11.75]) [194.94.33.155] by mail.gmx.net (mp024) with SMTP; 17 Aug 2010 14:13:05 +0200 X-Authenticated: #8340308 X-Provags-ID: V01U2FsdGVkX18EhFNgpOMEVIIF0ClJQscnnmiBoFZIw7S82/axgS XSf1Nlus5XfWqK Message-ID: <4C6A7D23.9030007@gmx.de> Date: Tue, 17 Aug 2010 14:14:27 +0200 From: =?ISO-8859-1?Q?Maximilian_Br=E4utigam?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100809 Lightning/1.0b2 Thunderbird/3.1.2 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How to build a time machine on Gentoo References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Archives-Salt: b8d2acfa-d48c-4b72-bcc8-655df9dc23dc X-Archives-Hash: 8ef50ceffb22995e585bde96935a5469 Hi Am 16.08.2010 01:11, schrieb Nganon: > Hello all, > > My first post on the list. I thought I would start with something that I > started > to think of as 'essential' after losing 90GB of data. Now I have two main > questions in mind: what to and how to back up on gentoo most efficiently. > > 1. Apart from users' home directories and the followings, what should be > backed > up on a gentoo machine? > /etc/portage/ > /root > /var/lib/portage > ...? You should backup all in / except /tmp/* /sys/* /proc/* /lost+found/* /dev/* I have no solution how to bzip or gzip your backups or how to make a dvd backup, but I use "app-backup/rsnapshot" which uses rsync but implements an intelligent rotating system that is done daily, weekly, monthly, yearly according to your config. Of course you should store the backup on another physical hdd. By the way, since a new hdd of one TB is pretty cheap, think about running your gentoo in a software RAID. Guides: http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml http://en.gentoo-wiki.com/wiki/Software_RAID_Install Kind regards, der Max > 2. Erm..okay, I am gonna say, what magic I want and then ask your way. > I first started making gzipped tar balls as follows: > > tar czpf /media/backups/userA-`date +%Y.%m.%d`.tgz -X userA-excludelist /etc > > But these can get huge especially for home dirs. I also want safe dvd > copies. > Though I can find enough space on the external drives, I don't trust them > any more. See above..sigh..(No I recovered about one third of it with > testdisk/photorec > which names them as file000001 file00002.. and half them are zero > sized.. which > quite justifies my agony) > > Here is what I wanna do. I want to have only one big backup for, say, > userA-2010.08.07.tgz and other small backup tars containing only the > files/folders that were modified since last update, 2010.08.07, as > userA-diff-2010.08.14.tgz, userA-diff-2010.08.21.tgz, > userA-diff-2010.08.28.tgz > etc. Now if I want to take the userA back to the future, 2010.08.21, I > want to > do it by first extracting the huge tar userA-2010.08.07.tgz and then the > tiny > backup userA-diff-2010-08-21.tgz. > > But the thing is I don't know how to do this. I am hoping maybe you can > tell me > how to of it as well as a better way of doing backups. > > By the way, since I want dvd backups as well, and I want to use +rw dvds > so I > can overwrite old backup after a while, what is best way of ensuring the > integrity and safety of them. Is it a good idea to use truecrypt > containers? Or > nothing tops signing and encrypting with gpg? > > Thanks for any comment in advance. >