Zitat von Marco van Wieringen <[email protected]>:
<lst_hoe02 <at> kwsoft.de> writes:Hello, we have a Bareos Install 14.2.2-46 on Linux which is running fine doing disk based backup and virtual full to tape. Now we like to replace the virtual full by a copy job which transfer the disk based full backup to tape. We have therefore tried this copy job: JobDefs { Name = "COPY-Def" Type = Copy Enabled = yes Messages = Standard Pool = SHORT Priority = 20 Write Bootstrap = "/var/lib/bareos/%c.bsr" } # TEST Copy Job Job { Name = "COPY2TAPE-FS02" # Enabled = no JobDefs = "COPY-Def" Client = fs02-fd FileSet = "FS02Full" Schedule = "COPYCycle" Selection Type = SQLQuery Selection Pattern = "SELECT jobid FROM job WHERE clientid='19' AND type='B' AND level='F' AND poolid='5' AND (jobstatus='T' OR jobstatus='W') AND (endtime > (now() - INTERVAL '7 days'))" }Officially the query should return two items I myself use the following (which is a variation on the build in CopyUnCopiedJobs)
I will try with two results from SQL query. From reading the manual i thouhgt we only need the jobid:
SQLQueryThe SQLQuery selection type, used the Selection Pattern Dir Job as an SQL query to obtain the JobIds to be migrated. The Selection Pattern must be a valid SELECT SQL statement for your SQL engine, and it must return the JobId as the first field of the SELECT.
and after this the SD on the same machine is gone away. Any idea what we have done wrong or do we need a debugger to solve this?If things crashed it should have created a traceback file (if you have gdb installed on the SD) and that gives a stack trace of what went wrong when it crashed. I would take a look in your runtime directory of the SD and look for files named *.traceback When you have one you can create a bug report on bugs.bareos.org and attach the traceback. That would a least give an idea as to where it crashes and maybe also a hint as to its fix.
I will install gdb to get a traceback and report back what is happening, thanks.
Andreas -- 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.
smime.p7s
Description: S/MIME Cryptographic Signature
