root@nas:/var/lib/bareos# /usr/sbin/bareos-dir -f -t -d 300 bareos-dir (10): dird/dird.cc:258-0 Debug level = 300 bareos-dir (100): lib/parse_conf.cc:191-0 config file = /etc/bareos/bareos-dir.d/*/*.conf bareos-dir (100): lib/lex.cc:335-0 glob /etc/bareos/bareos-dir.d/*/*.conf: 32 files bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/catalog/MyCatalog.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/client/bareos-fd.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/client/fd-thor.ironiq.eu.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/client/fd-void.ironiq.eu.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/console/bareos-mon.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/director/bareos-dir.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/fileset/Catalog.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/fileset/fs-thor.ironiq.eu.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/fileset/fs-void.ironiq.eu.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/fileset/LinuxAll.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/fileset/SelfTest.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/fileset/Windows All Drives.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/job/BackupCatalog.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/job/job-thor.ironiq.eu.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/job/job-void.ironiq.eu.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/job/RestoreFiles.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/messages/Daemon.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/messages/Standard.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/pool/Catalog.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/pool/Differential.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/pool/Full.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/pool/Incremental.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/pool/Scratch.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/profile/operator.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/schedule/WeeklyCycleAfterBackup.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/schedule/WeeklyCycle.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/storage/Catalog.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/storage/File.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/storage/sd-thor.ironiq.eu.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/storage/sd-void.ironiq.eu.conf bareos-dir (200): dird/dird_conf.cc:3272-0 StoreRunscript: begin StoreRunscript pass=1 bareos-dir (200): dird/dird_conf.cc:3272-0 StoreRunscript: begin StoreRunscript pass=1 bareos-dir (200): dird/dird_conf.cc:3272-0 StoreRunscript: begin StoreRunscript pass=1 bareos-dir (200): dird/dird_conf.cc:3272-0 StoreRunscript: begin StoreRunscript pass=1 bareos-dir (200): dird/dird_conf.cc:3272-0 StoreRunscript: begin StoreRunscript pass=1 bareos-dir (200): dird/dird_conf.cc:3272-0 StoreRunscript: begin StoreRunscript pass=1 bareos-dir (9): dird/inc_conf.cc:400-0 set wildfile 1113ee8 size=1 [A-Z]:/pagefile.sys bareos-dir (9): dird/inc_conf.cc:400-0 set wilddir 1113ee8 size=1 [A-Z]:/RECYCLER bareos-dir (9): dird/inc_conf.cc:400-0 set wilddir 1113ee8 size=2 [A-Z]:/$RECYCLE.BIN bareos-dir (9): dird/inc_conf.cc:400-0 set wilddir 1113ee8 size=3 [A-Z]:/System Volume Information bareos-dir (100): lib/lex.cc:335-0 glob /etc/bareos/bareos-dir.d/*/*.conf: 32 files bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/catalog/MyCatalog.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/client/bareos-fd.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/client/fd-thor.ironiq.eu.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/client/fd-void.ironiq.eu.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/console/bareos-mon.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/director/bareos-dir.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/fileset/Catalog.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/fileset/fs-thor.ironiq.eu.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/fileset/fs-void.ironiq.eu.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/fileset/LinuxAll.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/fileset/SelfTest.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/fileset/Windows All Drives.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/job/BackupCatalog.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/job/job-thor.ironiq.eu.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/job/job-void.ironiq.eu.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/job/RestoreFiles.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/messages/Daemon.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/messages/Standard.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/pool/Catalog.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/pool/Differential.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/pool/Full.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/pool/Incremental.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/pool/Scratch.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/profile/operator.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/schedule/WeeklyCycleAfterBackup.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/schedule/WeeklyCycle.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/storage/Catalog.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/storage/File.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/storage/sd-thor.ironiq.eu.conf bareos-dir (100): lib/lex.cc:229-0 open config file: /etc/bareos/bareos-dir.d/storage/sd-void.ironiq.eu.conf bareos-dir (200): dird/dird_conf.cc:3272-0 StoreRunscript: begin StoreRunscript pass=2 bareos-dir (1): dird/dird_conf.cc:3178-0 runscript cmd=/usr/local/bin/backup_beforejob type=| bareos-dir (200): lib/runscript.cc:335-0 runscript: debug bareos-dir (200): lib/runscript.cc:336-0 --> RunScript bareos-dir (200): lib/runscript.cc:337-0 --> Command=/usr/local/bin/backup_beforejob bareos-dir (200): lib/runscript.cc:338-0 --> Target=%c bareos-dir (200): lib/runscript.cc:339-0 --> RunOnSuccess=1 bareos-dir (200): lib/runscript.cc:340-0 --> RunOnFailure=0 bareos-dir (200): lib/runscript.cc:341-0 --> FailJobOnError=0 bareos-dir (200): lib/runscript.cc:342-0 --> RunWhen=2 bareos-dir (200): dird/dird_conf.cc:3272-0 StoreRunscript: begin StoreRunscript pass=2 bareos-dir (1): dird/dird_conf.cc:3178-0 runscript cmd=/usr/local/bin/backup_afterjob type=| bareos-dir (200): lib/runscript.cc:335-0 runscript: debug bareos-dir (200): lib/runscript.cc:336-0 --> RunScript bareos-dir (200): lib/runscript.cc:337-0 --> Command=/usr/local/bin/backup_afterjob bareos-dir (200): lib/runscript.cc:338-0 --> Target=%c bareos-dir (200): lib/runscript.cc:339-0 --> RunOnSuccess=1 bareos-dir (200): lib/runscript.cc:340-0 --> RunOnFailure=0 bareos-dir (200): lib/runscript.cc:341-0 --> FailJobOnError=0 bareos-dir (200): lib/runscript.cc:342-0 --> RunWhen=1 bareos-dir (200): dird/dird_conf.cc:3272-0 StoreRunscript: begin StoreRunscript pass=2 bareos-dir (1): dird/dird_conf.cc:3178-0 runscript cmd=/usr/local/bin/backup_beforejob type=| bareos-dir (200): lib/runscript.cc:335-0 runscript: debug bareos-dir (200): lib/runscript.cc:336-0 --> RunScript bareos-dir (200): lib/runscript.cc:337-0 --> Command=/usr/local/bin/backup_beforejob bareos-dir (200): lib/runscript.cc:338-0 --> Target=%c bareos-dir (200): lib/runscript.cc:339-0 --> RunOnSuccess=1 bareos-dir (200): lib/runscript.cc:340-0 --> RunOnFailure=0 bareos-dir (200): lib/runscript.cc:341-0 --> FailJobOnError=0 bareos-dir (200): lib/runscript.cc:342-0 --> RunWhen=2 bareos-dir (200): dird/dird_conf.cc:3272-0 StoreRunscript: begin StoreRunscript pass=2 bareos-dir (1): dird/dird_conf.cc:3178-0 runscript cmd=/usr/local/bin/backup_afterjob type=| bareos-dir (200): lib/runscript.cc:335-0 runscript: debug bareos-dir (200): lib/runscript.cc:336-0 --> RunScript bareos-dir (200): lib/runscript.cc:337-0 --> Command=/usr/local/bin/backup_afterjob bareos-dir (200): lib/runscript.cc:338-0 --> Target=%c bareos-dir (200): lib/runscript.cc:339-0 --> RunOnSuccess=1 bareos-dir (200): lib/runscript.cc:340-0 --> RunOnFailure=0 bareos-dir (200): lib/runscript.cc:341-0 --> FailJobOnError=0 bareos-dir (200): lib/runscript.cc:342-0 --> RunWhen=1 bareos-dir (200): dird/dird_conf.cc:3272-0 StoreRunscript: begin StoreRunscript pass=2 bareos-dir (1): dird/dird_conf.cc:3178-0 runscript cmd=/usr/local/sbin/make_catalog_backup_extra.pl MyCatalog type=| bareos-dir (200): lib/runscript.cc:335-0 runscript: debug bareos-dir (200): lib/runscript.cc:336-0 --> RunScript bareos-dir (200): lib/runscript.cc:337-0 --> Command=/usr/local/sbin/make_catalog_backup_extra.pl MyCatalog bareos-dir (200): lib/runscript.cc:338-0 --> Target=%c bareos-dir (200): lib/runscript.cc:339-0 --> RunOnSuccess=1 bareos-dir (200): lib/runscript.cc:340-0 --> RunOnFailure=0 bareos-dir (200): lib/runscript.cc:341-0 --> FailJobOnError=1 bareos-dir (200): lib/runscript.cc:342-0 --> RunWhen=2 bareos-dir (200): dird/dird_conf.cc:3272-0 StoreRunscript: begin StoreRunscript pass=2 bareos-dir (1): dird/dird_conf.cc:3178-0 runscript cmd=/usr/local/sbin/delete_catalog_backup_extra type=| bareos-dir (200): lib/runscript.cc:335-0 runscript: debug bareos-dir (200): lib/runscript.cc:336-0 --> RunScript bareos-dir (200): lib/runscript.cc:337-0 --> Command=/usr/local/sbin/delete_catalog_backup_extra bareos-dir (200): lib/runscript.cc:338-0 --> Target=%c bareos-dir (200): lib/runscript.cc:339-0 --> RunOnSuccess=1 bareos-dir (200): lib/runscript.cc:340-0 --> RunOnFailure=0 bareos-dir (200): lib/runscript.cc:341-0 --> FailJobOnError=0 bareos-dir (200): lib/runscript.cc:342-0 --> RunWhen=1 bareos-dir (250): lib/message.cc:350-0 Copy message resource 1114f28 to 1135fe8 bareos-dir (100): dird/dird.cc:392-0 backend path: /usr/lib/bareos/backends bareos-dir (150): dird/dir_plugins.cc:302-0 Load dir plugins bareos-dir (150): dird/dir_plugins.cc:304-0 No dir plugin dir! bareos-dir (100): cats/cats_backends.cc:81-0 db_init_database: Trying to find mapping of given interfacename mysql to mapping interfacename dbi, partly_compare = true bareos-dir (100): cats/cats_backends.cc:81-0 db_init_database: Trying to find mapping of given interfacename mysql to mapping interfacename mysql, partly_compare = false bareos-dir (100): cats/cats_backends.cc:180-0 db_init_database: testing backend /usr/lib/bareos/backends/libbareoscats-mysql.so bareos-dir (100): cats/cats_backends.cc:254-0 db_init_database: loaded backend /usr/lib/bareos/backends/libbareoscats-mysql.so bareos-dir (100): cats/mysql.cc:869-0 db_init_database first time bareos-dir (50): cats/mysql.cc:181-0 mysql_init done bareos-dir (50): cats/mysql.cc:205-0 mysql_real_connect done bareos-dir (50): cats/mysql.cc:207-0 db_user=bareos db_name=bareos db_password= bareos-dir (100): cats/mysql.cc:230-0 opendb ref=1 connected=1 db=1137410 bareos-dir (100): cats/sql_query.cc:96-0 called: void BareosDb::FillQueryVaList(PoolMem&, BareosDbQueryEnum::SQL_QUERY_ENUM, __va_list_tag*) with query name sql_get_max_connections (45) bareos-dir (100): cats/sql_query.cc:102-0 called: void BareosDb::FillQueryVaList(PoolMem&, BareosDbQueryEnum::SQL_QUERY_ENUM, __va_list_tag*) query is now SHOW VARIABLES LIKE 'max_connections' bareos-dir (100): cats/mysql.cc:252-0 closedb ref=0 connected=1 db=1137410 bareos-dir (100): cats/mysql.cc:259-0 close db=1137410 BAREOS interrupted by signal 11: Segmentation violation Segmentation fault (core dumped) root@nas:/var/lib/bareos# /usr/sbin/bareos-dir -f -t -d 900 [...] bareos-dir (100): dird/dird.cc:392-0 backend path: /usr/lib/bareos/backends bareos-dir (150): dird/dir_plugins.cc:302-0 Load dir plugins bareos-dir (150): dird/dir_plugins.cc:304-0 No dir plugin dir! bareos-dir (100): cats/cats_backends.cc:81-0 db_init_database: Trying to find mapping of given interfacename mysql to mapping interfacename dbi, partly_compare = true bareos-dir (100): cats/cats_backends.cc:81-0 db_init_database: Trying to find mapping of given interfacename mysql to mapping interfacename mysql, partly_compare = false bareos-dir (100): cats/cats_backends.cc:180-0 db_init_database: testing backend /usr/lib/bareos/backends/libbareoscats-mysql.so bareos-dir (100): cats/cats_backends.cc:254-0 db_init_database: loaded backend /usr/lib/bareos/backends/libbareoscats-mysql.so bareos-dir (100): cats/mysql.cc:869-0 db_init_database first time bareos-dir (50): cats/mysql.cc:181-0 mysql_init done bareos-dir (50): cats/mysql.cc:205-0 mysql_real_connect done bareos-dir (50): cats/mysql.cc:207-0 db_user=bareos db_name=bareos db_password= bareos-dir (500): cats/mysql.cc:426-0 SqlQueryWithHandler starts with SELECT VersionId FROM Version bareos-dir (500): cats/mysql.cc:477-0 SqlQueryWithHandler succeeded. checking handler bareos-dir (800): cats/sql.cc:76-0 int_handler starts with row pointing at 1118970 bareos-dir (800): cats/sql.cc:79-0 int_handler finds '2171' bareos-dir (800): cats/sql.cc:85-0 int_handler finishes bareos-dir (500): cats/mysql.cc:501-0 SqlQueryWithHandler finished bareos-dir (100): cats/mysql.cc:230-0 opendb ref=1 connected=1 db=110ad90 bareos-dir (500): cats/mysql.cc:515-0 SqlQueryWithoutHandler starts with 'SET wait_timeout=691200' bareos-dir (500): cats/mysql.cc:538-0 we have a result bareos-dir (500): cats/mysql.cc:554-0 we have 0 rows bareos-dir (500): cats/mysql.cc:515-0 SqlQueryWithoutHandler starts with 'SET interactive_timeout=691200' bareos-dir (500): cats/mysql.cc:538-0 we have a result bareos-dir (500): cats/mysql.cc:554-0 we have 0 rows bareos-dir (100): cats/sql_query.cc:96-0 called: void BareosDb::FillQueryVaList(PoolMem&, BareosDbQueryEnum::SQL_QUERY_ENUM, __va_list_tag*) with query name sql_get_max_connections (45) bareos-dir (100): cats/sql_query.cc:102-0 called: void BareosDb::FillQueryVaList(PoolMem&, BareosDbQueryEnum::SQL_QUERY_ENUM, __va_list_tag*) query is now SHOW VARIABLES LIKE 'max_connections' bareos-dir (500): cats/mysql.cc:426-0 SqlQueryWithHandler starts with SHOW VARIABLES LIKE 'max_connections' bareos-dir (500): cats/mysql.cc:477-0 SqlQueryWithHandler succeeded. checking handler bareos-dir (500): cats/mysql.cc:501-0 SqlQueryWithHandler finished bareos-dir (100): cats/mysql.cc:252-0 closedb ref=0 connected=1 db=110ad90 bareos-dir (100): cats/mysql.cc:259-0 close db=110ad90 BAREOS interrupted by signal 11: Segmentation violation Segmentation fault (core dumped) root@nas:/var/lib/bareos#