Hello,

I recently went into an "issue" I solved just by learning more on NDMP protocol 
and limits. I use FreeBSD 10.2 with Bareos 15.2.2 with NDMP enabled.

I later ran the Director with debug, found my error and corrected it. I 
adjusted the configuration to run "Full" each first saturday of month, 
"Differential" the other saturday of th month and "Incremental" all other days.

I think crashing the director is not well suited to 
mis-configuration/understanding of NDMP.


Here is the log I received after enabling debug mode
----------------------------------------------------
BAREOS interrupted by signal 11: Segmentation violation
Kaboom! bareos-dir, bkbad01-dir got signal 11 - Segmentation violation. 
Attempting traceback.
Kaboom! exepath=/usr/local/sbin/
Calling: /usr/local/sbin/btraceback /usr/local/sbin/bareos-dir 59232 
/var/db/bareos
It looks like the traceback worked...
Dumping: /var/db/bareos/bkbad01-dir.59232.bactrace

Fatal error: NDMP dump format doesn't support more than 8 incrementals, please 
run a Differential or a Full Backup


Backtrace is
------------
Attempt to dump locks
threadid=0x805c50400 max=0 current=-1
threadid=0x80587c400 max=1 current=-1
threadid=0x80504c400 max=1 current=-1
threadid=0x804007c00 max=1 current=-1
threadid=0x804007400 max=0 current=-1
threadid=0x804007800 max=2 current=-1
threadid=0x804007000 max=0 current=-1
threadid=0x804006400 max=1 current=-1
Attempt to dump current JCRs. njcrs=4
threadid=0x804006400 JobId=0 JobStatus=R jcr=0x8041b9c28 
name=*JobMonitor*.2016-08-25_10.18.10_01
threadid=0x804006400 killable=0 JobId=0 JobStatus=R jcr=0x8041b9c28 
name=*JobMonitor*.2016-08-25_10.18.10_01
        use_count=1
        JobType=I JobLevel=
        sched_time=25-Aug-2016 10:18 start_time=25-Aug-2016 10:18
        end_time=01-Jan-1970 01:00 wait_time=01-Jan-1970 01:00
        db=0x0 db_batch=0x0 batch_started=0
threadid=0x804007c00 JobId=0 JobStatus=R jcr=0x805434c28 
name=*StatisticsCollector*.2016-08-25_10.18.10_02
threadid=0x804007c00 killable=0 JobId=0 JobStatus=R jcr=0x805434c28 
name=*StatisticsCollector*.2016-08-25_10.18.10_02
        use_count=1
        JobType=I JobLevel=
        sched_time=25-Aug-2016 10:18 start_time=25-Aug-2016 10:18
        end_time=01-Jan-1970 01:00 wait_time=01-Jan-1970 01:00
        db=0x8054601a8 db_batch=0x0 batch_started=0
B_DB=0x8054601a8 db_name=bareos db_user=bareos connected=true
        cmd="SELECT DumpLevel FROM NDMPLevelMap WHERE ClientId='3' AND 
FileSetId='37' AND FileSystem='/cifs01/cifs01_vol1'" changes=0
        RWLOCK=0x8054601b0 w_active=0 w_wait=0
threadid=0x80504c400 JobId=0 JobStatus=R jcr=0x805830c28 
name=-Console-.2016-08-25_10.26.29_03
threadid=0x80504c400 killable=0 JobId=0 JobStatus=R jcr=0x805830c28 
name=-Console-.2016-08-25_10.26.29_03
        use_count=1
        JobType=U JobLevel=
        sched_time=25-Aug-2016 10:26 start_time=25-Aug-2016 10:26
        end_time=01-Jan-1970 01:00 wait_time=01-Jan-1970 01:00
        db=0x805851c28 db_batch=0x0 batch_started=0
B_DB=0x805851c28 db_name=bareos db_user=bareos connected=true
        cmd="db_init_database first time
" changes=0
        RWLOCK=0x805851c30 w_active=0 w_wait=0
threadid=0x80587c400 JobId=1590 JobStatus=f jcr=0x805831828 
name=JOB-NDMP-FULL-IC1-CIFS01-VOL1.2016-08-25_10.37.42_04
threadid=0x80587c400 killable=1 JobId=1590 JobStatus=f jcr=0x805831828 
name=JOB-NDMP-FULL-IC1-CIFS01-VOL1.2016-08-25_10.37.42_04
        use_count=2
        JobType=B JobLevel=I
        sched_time=25-Aug-2016 10:37 start_time=25-Aug-2016 10:37
        end_time=01-Jan-1970 01:00 wait_time=01-Jan-1970 01:00
        db=0x8054601a8 db_batch=0x0 batch_started=0
B_DB=0x8054601a8 db_name=bareos db_user=bareos connected=true
        cmd="SELECT DumpLevel FROM NDMPLevelMap WHERE ClientId='3' AND 
FileSetId='37' AND FileSystem='/cifs01/cifs01_vol1'" changes=0
        RWLOCK=0x8054601b0 w_active=0 w_wait


Regards,
Denis

-- 
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