Hello, re-posting this as I think my first message didn't reach the
list, sorry if it did.
Happy user of Backuppc 4 (upgraded from 3) on Debian, I am struggling
with this specific problem:
I have disks mounted by pam_mount inside users folder hierarchy upon
login. I am trying to backup these mount points as separate shares from
the /home/user one (but for the same host). So for a user "foo" and a
mount on /home/foo/bar, I am trying to get /home/foo (or just /home) and
/home/foo/bar backed up as separate shares.
If I do:
$Conf{RsyncShareName} = [
'/',
'/home',
'/home/foo/bar'
];
With '--one-file-system' in rsync options, even if I specifically
exclude '/home/foo/bar' from '/home' share:
$Conf{BackupFilesExclude} = {
'/home' => [
'/foo/bar',
],
...
and list everything under /home/foo/bar in $Conf{BackupFilesOnly} for
the '/home/foo/bar' share:
'/home/foo/bar' => [
'/bar1',
'/bar2'
],
...
it doesn't work.
I end up with /home/foo/bar being saved in the '/home/' share, and error
"no file dumped for share '/home/foo/bar'. Note that I have no problem
for other shares like '/' and '/home', they are saved separately.
Am I asking too much of rsync ?
What am I doing wrong ?
Thank you for any idea. (I searched the web so much already I now get
only previously read pages, and I thought about bind-mounting the shares
somewhere else too, or creating a duplicate "host" config for every one
of those shares, but it doesn't feel satisfying).
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/