-/*
- * Director specific configuration and defines
- *
- * Kern Sibbald, Feb MM
- *
- * Version $Id$
- */
/*
Bacula® - The Network Backup Solution
(FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
Switzerland, email:ftf@fsfeurope.org.
*/
+/*
+ * Director specific configuration and defines
+ *
+ * Kern Sibbald, Feb MM
+ *
+ * Version $Id$
+ */
/* NOTE: #includes at the end of this file */
uint32_t MaxConcurrentJobs; /* Max concurrent jobs for whole director */
utime_t FDConnectTimeout; /* timeout for connect in seconds */
utime_t SDConnectTimeout; /* timeout in seconds */
+ utime_t heartbeat_interval; /* Interval to send heartbeats */
char *tls_ca_certfile; /* TLS CA Certificate File */
char *tls_ca_certdir; /* TLS CA Certificate Directory */
char *tls_certfile; /* TLS Server Certificate File */
int FDport; /* Where File daemon listens */
utime_t FileRetention; /* file retention period in seconds */
utime_t JobRetention; /* job retention period in seconds */
+ utime_t heartbeat_interval; /* Interval to send heartbeats */
char *address;
char *password;
CAT *catalog; /* Catalog resource */
char *tls_ca_certdir; /* TLS CA Certificate Directory */
char *tls_certfile; /* TLS Client Certificate File */
char *tls_keyfile; /* TLS Client Key File */
+ alist *tls_allowed_cns; /* TLS Allowed Clients */
TLS_CONTEXT *tls_ctx; /* Shared TLS Context */
bool tls_enable; /* Enable TLS */
bool tls_require; /* Require TLS */
bool enabled; /* Set if device is enabled */
bool autochanger; /* set if autochanger */
int64_t StorageId; /* Set from Storage DB record */
+ utime_t heartbeat_interval; /* Interval to send heartbeats */
int drives; /* number of drives in autochanger */
/* Methods */
int Priority; /* Job priority */
int RestoreJobId; /* What -- JobId to restore */
char *RestoreWhere; /* Where on disk to restore -- directory */
+ char *RegexWhere; /* RegexWhere option */
+ char *strip_prefix; /* remove prefix from filename */
+ char *add_prefix; /* add prefix to filename */
+ char *add_suffix; /* add suffix to filename -- .old */
+ bool where_use_regexp; /* true if RestoreWhere is a BREGEXP */
char *RestoreBootstrap; /* Bootstrap file */
alist *RunScripts; /* Run {client} program {after|before} Job */
union {
bool recycle_current_volume; /* attempt recycle of current volume */
bool AutoPrune; /* default for pool auto prune */
bool Recycle; /* default for media recycle yes/no */
-
+ POOL *RecyclePool; /* RecyclePool destination when media is purged */
/* Methods */
char *name() const;
};