BackupPC-users

[BackupPC-users] Another issue with $Conf{BackupFilesExclude}

2008-09-26 23:47:03
Subject: [BackupPC-users] Another issue with $Conf{BackupFilesExclude}
From: Christian Völker <chrischan AT knebb DOT de>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Sat, 27 Sep 2008 05:43:39 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yohoo!

sorry to bother you, but I've another question regarding this statement.

If I now ommit the "--one-filesystem-only" on rsync it'll backup
everything including /proc and /sys, right?

Ok, so I want to have a global exclude statement to get rid of these
folders. Like this:

$Conf{BackupFilesExclude} = [
        '/tmp',
        '/proc',
        '/srv'
];

So this should work perfectly.
But when I want to exclude some folders on different host which should
be backed up on others (i.e. /srv) how should this work?

Let's say I want to exclude the above folders globally, but on one
server there are two folders named /srv/useless and /srv/important where
I want to backup only the important one.
Using BackupFilesExclude as above will not backup my important folder.
Now my idea was to use $Conf{BackupFilesOnly}, but:

# List of directories or files to backup.  If this is defined, only
# these directories or files will be backed up.

For a single host it would be ok. Just remove the /srv from above and
use /srv/useless instead. But as far as I can see I have to create a
rule as above for each host seperately, as the global settings will be
overwritten once there is aper hosts entry found.

Any ideas on this? Are my thoughts correct?

Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFI3avq0XNIYlAXmzsRAsp3AJ9QHB1e9mGtHLTvPnU/SgD8uvOgqQCfS9H8
6+ACIjBU6XNwUBFZr7z1kdU=
=TwD6
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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/

<Prev in Thread] Current Thread [Next in Thread>
  • [BackupPC-users] Another issue with $Conf{BackupFilesExclude}, Christian Völker <=