[BackupPC-users] Backup of backuppc User Directory
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yohoo! I just encountered an issue with the BackupPC itself. I'm backing up loads of Linux servers with rsync. So in the home directory of the backuppc user there is obviously a .ssh directory which contains the ssh-keys and the host keys (known_hosts). For whatever reason the known_hosts got corrupted and backuppc was not able to backup my Linux servers any more. I'm not complaining about this, it makes sense. I had to logon as backuppc and manually connect to all servers so the host keys are stored again in the new know_hosts file, because /var/lib/BackupPC is excluded from backup. What I'm wondering is which include/exclude rules I should apply so the user data itself is backed up, but not the backup repository. Anyone an idea? Thanks! Christian -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFKeCve0XNIYlAXmzsRAvuhAJ4tB2sAGObK7MMeCaH2/q9sDD1IOACfZF4J dOyUEWkWRx1WONY3ZEdXjCE= =eg+s -END PGP SIGNATURE- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Backup of backuppc User Directory
Le mardi 04 août 2009 à 14:38 +0200, Christian Völker a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yohoo! I just encountered an issue with the BackupPC itself. I'm backing up loads of Linux servers with rsync. So in the home directory of the backuppc user there is obviously a .ssh directory which contains the ssh-keys and the host keys (known_hosts). For whatever reason the known_hosts got corrupted and backuppc was not able to backup my Linux servers any more. I'm not complaining about this, it makes sense. I had to logon as backuppc and manually connect to all servers so the host keys are stored again in the new know_hosts file, because /var/lib/BackupPC is excluded from backup. What I'm wondering is which include/exclude rules I should apply so the user data itself is backed up, but not the backup repository. Anyone an idea? I use something like this: $Conf{RsyncShareName} = [ '/var/lib/BackupPC' ]; $Conf{BackupFilesOnly} = { '/var/lib/BackupPC' = [ '/etc', '/log', '/.ssh' ] }; (etc and log are usually not stored here, but I've symlinked those dir to /etc/BackupPC and /var/log/BackupPC so everything in one place). Cheers, Daniel Thanks! Christian -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFKeCve0XNIYlAXmzsRAvuhAJ4tB2sAGObK7MMeCaH2/q9sDD1IOACfZF4J dOyUEWkWRx1WONY3ZEdXjCE= =eg+s -END PGP SIGNATURE- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- Daniel Berteaud FIREWALL-SERVICES SARL. Société de Services en Logiciels Libres Technopôle Montesquieu 33650 MARTILLAC Tel : 05 56 64 15 32 Fax : 05 56 64 15 32 Mail: dan...@firewall-services.com Web : http://www.firewall-services.com -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Backup of backuppc User Directory
Hi, 2009/8/4 Christian Völker chrisc...@knebb.de: What I'm wondering is which include/exclude rules I should apply so the user data itself is backed up, but not the backup repository. Anyone an idea? I don't think you need to back up the encryption keys or SSH configuration, as you saw yourself it's fairly easy to recreate that data. If you really want to back that up, you can just create a new host localhost in your BackupPC and use /var/lib/BackupPC/.ssh as the share name to backup. What would be more important is to backup /etc/BackupPC, but in that case I would not advise you to back that up in BackupPC. Maybe you should periodically copy the contents of /etc/BackupPC and /var/lib/BackupPC/.ssh to an external USB disk? But be very careful of where you store your backup keys! They can potentially give root access to all your servers to whoever has access to them. HTH, Filipe -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/