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 AT lists.sourceforge DOT 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: daniel AT firewall-services DOT 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 AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|