0

Is there a way to set exclusion directories per host in BackupPC?

I would like to skip /home on 2 of my web cluster nodes that use NFS Mounts to the master server.

Or, can I skip directories mounted via NFS?

Jacob Evans
  • 7,886
  • 3
  • 29
  • 57

2 Answers2

1

I found it in the web interface.

Hosts Config

Jacob Evans
  • 7,886
  • 3
  • 29
  • 57
0

Yes, simple edit the files in /etc/Backuppc/pc/ for these two hosts. They are created in the schema {name}.pl.

There you can add the directive:

$Conf{BackupFilesExclude} = [
        '/home/*'
];
ddio
  • 88
  • 1
  • 1
  • 8