Hi guys,

On linux, I have some users' homedirs I'd like to back up in one job and others 
in another job. All the homedirs are in /data/home from where they are 
automounted on other hosts.

The users are named something like tbap001 kfcp003 etc.

I'd like to have a job, called p001home that backs up only directories called 
*p001 in /data/home and excludes their subdir called "data" but I'm not sure 
exactly how to do this. Right now I've got the following fileset conf file:

FileSet {
  Name = "p001home"
  Description = "Backup P001 user homedirs."
  Include {
    Options {
      Signature = MD5 # calculate md5 checksum per file
      One FS = No     # change into other filessytems
      FS Type = btrfs
      FS Type = ext2  # filesystems of given types will be backed up
      FS Type = ext3  # others will be ignored
      FS Type = ext4
      FS Type = reiserfs
      FS Type = jfs
      FS Type = xfs
      FS Type = zfs
      WildDir = /data/home/*p001
    }
#    File = /data/home/
  }
  Exclude {
    File = /data/home/*p001/data
  }
}

I commented out the "File = /data/home" line because it grabbed everything(of 
course).



Any advice is much appreciated.

/tony

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to