Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Derek Martin <blu at sophic.org> writes: > Additionally, simply parsing the output of rpm -V doesn't really > work; you'd have to get fancier than that. rpm -V only prints out > files that are in the RPM database which have been modified, and hence > should be backed up. But what about files that are NOT in the RPM > database? For example, no package owns /etc/hosts, and no package > owns /etc/resolv.conf. But these are files that you probably will > want to back up. But you don't want to back up all of /etc, because > many of those files ARE owned by a package, and may well not have been > modified. First, you don't have to run the rpm -V every time you backup. It would presumably be enough to run it once a month. Second, the idea is to use rpm -V to generate an exclusion list. In other words, what you back up is the union of two sets: 1. Almost everything that's *not* in the rpm database, and 2. Everything in the rpm database that's been modified. By "almost everything" I mean to exclude the obvious stuff, like /dev, /proc, anything nfs-mounted, and so on. On the other hand, simply excluding /bin, /usr, /lib, /dev, /proc, and whatnot, is certainly easier. When you exclude /usr, though, you'd want to make sure to re-include /usr/local. - -- John Abreau / Executive Director, Boston Linux & Unix Email jabr at blu.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9 PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Exmh version 2.6 02/09/2003 iQCVAwUBPpZJxVV9A5rVx7XZAQICLAP/bCHIH8wpv9P0YoAsGWrLcRUbwRkjgI1a /6VKFzEgzBexH+G3WPVmt8SMbaE5cuYMz59Non9+HkDBUkwJ1q8VUAM1yDvF5yvB Nay56h3i6nS2RVHYfBE+/GyNGjBWqKLjpI1fkJOXLjIAJ4a/HTDa7jmkZxrO/iJL rN+W6HQkVnY= =IKkL -----END PGP SIGNATURE-----
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |