Hello there,
my goal is, to backup only files, created of today.

This is my FileSet:

FileSet {
  Name = "Storage1PVE"
  Description = "PVE backups from GlusterFS"
  Include {
    Options {
      Signature = MD5 # calculate md5 checksum per file
      Compression = LZ4
      noatime = yes
    }
    File = "|sh -c 'find /mnt/glusterfs/pve_dump/dump/ -type f -mtime -1 
-name \"*.zst\"'"
  }
}

When I execute it on the client, I get display the right files.
But when I start a job in Bareos, I get:

bareos-dir JobId 13: Fatal error: Error running program: sh -c 'find 
/mnt/glusterfs/pve_dump/dump/ -type f -mtime -1 -name "*.zst"'. ERR=Child 
exited with code 1 

Followed the instructions on: 
https://docs.bareos.org/Configuration/Director.html#fileset-include

What I'm doing wrong?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/c5806bea-9612-4e96-8bf9-9c5a2251f845n%40googlegroups.com.

Reply via email to