On 10/06/2014 04:14 PM, Marco van Wieringen wrote:
Ah great you created a recursive definition where the Paired Storage
points to the native
storage. Yes that ain't going to work and is something I didn't think
about someone configuring
it that way.
You probably need something like this:
#
# Same storage daemon but via NDMP protocol.
# We link via the PairedStorage config option the Bareos SD instance
definition to a NDMP TAPE AGENT.
#
Storage {
Name = NDMPTape
Address = ... # N.B. Use a fully qualified
name here
Port = 10000
Protocol = NDMPv4
Auth Type = Clear # Clear == Clear Text, MD5 ==
Challenge protocol
Username = ndmp # username of the NDMP user on
the TAPE AGENT e.g. the Bareos SD but accessed via the NDMP protocol.
Password = test # password of the NDMP user on
the TAPE AGENT e.g. the Bareos SD but accessed via the NDMP protocol.
Device = FileStorage
Media Type = File
PairedStorage = Tape
}
e.g. a paired storage for the native storage. So leave the tape
storage but
loose the PairedStorage there and create a new NDMP storage that
points to
the NDMP port of the Bareos SD.
And then use NDMPTape as storage in your NDMP Job.
Thanks. I wasn't sure I had storage correct.
The sd configuration now looks like this:
Storage {
Name = orlbacula-sd
SDPort = 9103
...
NDMP Enable = yes
#NDMP Snooping = yes
#NDMP Loglevel = 9
NDMP Port = 10000
}
Ndmp {
Name = orlbacula-dir
Username = username # same as username on netapp
Password = password # same as username on netapp
AuthType = Clear
}
Autochanger {
Name = Autochanger
Device = Drive-0, Drive-1
...
}
Device {
Name = Drive-0
Drive Index = 0
Media Type = ULTRIUM-LTO-4
...
}
Device {
Name = Drive-1
Drive Index = 1
Media Type = ULTRIUM-LTO-4
...
}
The dir configuration now looks like this:
Storage {
Name = NDMPTape
Address = gideon2.wycliffe.org
Port = 10000
Protocol = NDMPv4
Auth Type = Clear
Username = username # same as username on netapp
Password = password # same as username on netapp
Device = FileStorage # should this match Device= of
tape storage?
Media Type = File # should this match Media Type= of
tape storage?
PairedStorage = tape
}
PairedStorage is no longer listed in tape storage:
Storage {
Name = tape
...
Device = Autochanger
Media Type = ULTRIUM-LTO-4
Autochanger = yes
#PairedStorage = tape
}
Job refers to NDMPTape.
JobDefs {
Name = "DefaultNDMPJob"
...
Storage = NDMPTape
}
Now I have a different error.
Run Backup job
JobName: NDMP-NFS-boaz4-backup
Level: Incremental
Client: boaz4-ndmp
Format: dump
FileSet: NDMP-NFS-Fileset
Pool: Daily (From Job IncPool override)
Storage: NDMPTape (From Job resource)
When: 2014-10-07 13:00:47
Priority: 10
OK to run? (yes/mod/no): yes
Job queued. JobId=145875
07-Oct 13:00 orlbacula-dir JobId 145875: No prior Full backup Job record
found.
07-Oct 13:00 orlbacula-dir JobId 145875: No prior or suitable Full
backup found in catalog. Doing FULL backup.
07-Oct 13:00 orlbacula-dir JobId 145875: Start NDMP Backup JobId 145875,
Job=NDMP-NFS-boaz4-backup.2014-10-07_13.00.57_03
07-Oct 13:00 orlbacula-dir JobId 145875: Using Device "Drive-0" to write.
07-Oct 13:00 orlbacula-dir JobId 145875: Opening tape drive
AMMI-OMBC-EMBA-FBAF-BDOA-FFMN-DLPP-IGGC@/vol/nfs_oracle read/write
*m
07-Oct 13:01 orlbacula-sd JobId 145875: 3304 Issuing autochanger "load
slot 12, drive 0" command.
*m
07-Oct 13:01 orlbacula-sd JobId 145875: 3305 Autochanger "load slot 12,
drive 0", status is OK.
07-Oct 13:02 orlbacula-sd JobId 145875: Volume "WBT028" previously
written, moving to end of data.
07-Oct 13:02 orlbacula-sd JobId 145875: Ready to append to end of Volume
"WBT028" at file=2.
07-Oct 13:02 orlbacula-dir JobId 145875: Commanding tape drive to rewind
07-Oct 13:02 orlbacula-dir JobId 145875: ERR NDMP4_DATA_CONNECT
NDMP4_CONNECT_ERR
07-Oct 13:02 orlbacula-dir JobId 145875: Waiting for operation to halt
*m
07-Oct 13:02 orlbacula-dir JobId 145875: ERR NDMP4_DATA_ABORT
NDMP4_ILLEGAL_STATE_ERR
07-Oct 13:02 orlbacula-dir JobId 145875: ERR NDMP4_DATA_ABORT
NDMP4_ILLEGAL_STATE_ERR
07-Oct 13:02 orlbacula-dir JobId 145875: ERR NDMP4_DATA_ABORT
NDMP4_ILLEGAL_STATE_ERR
07-Oct 13:02 orlbacula-dir JobId 145875: ERR NDMP4_DATA_ABORT
NDMP4_ILLEGAL_STATE_ERR
07-Oct 13:02 orlbacula-dir JobId 145875: ERR NDMP4_DATA_ABORT
NDMP4_ILLEGAL_STATE_ERR
07-Oct 13:02 orlbacula-dir JobId 145875: ERR NDMP4_DATA_ABORT
NDMP4_ILLEGAL_STATE_ERR
07-Oct 13:02 orlbacula-dir JobId 145875: ERR NDMP4_DATA_ABORT
NDMP4_ILLEGAL_STATE_ERR
07-Oct 13:02 orlbacula-dir JobId 145875: Commanding tape drive to
NDMP9_MTIO_EOF 2 times
07-Oct 13:02 orlbacula-dir JobId 145875: Commanding tape drive to rewind
07-Oct 13:02 orlbacula-dir JobId 145875: Closing tape drive
AMMI-OMBC-EMBA-FBAF-BDOA-FFMN-DLPP-IGGC@/vol/nfs_oracle
07-Oct 13:02 orlbacula-dir JobId 145875: Operation did not halt,
something wrong
07-Oct 13:02 orlbacula-dir JobId 145875: Operation halted, stopping
07-Oct 13:02 orlbacula-dir JobId 145875: Operation ended in failure
07-Oct 13:02 orlbacula-dir JobId 145875: ERR NDMP4_DATA_STOP
NDMP4_ILLEGAL_STATE_ERR
07-Oct 13:02 orlbacula-dir JobId 145875: Error: Director's comm line to
SD dropped.
07-Oct 13:02 orlbacula-dir JobId 145875: Error: Bareos orlbacula-dir
13.2.2 (12Nov13):
Build OS: x86_64-unknown-linux-gnu redhat CentOS
release 6.2 (Final)
JobId: 145875
Job: NDMP-NFS-boaz4-backup.2014-10-07_13.00.57_03
Backup Level: Full (upgraded from Incremental)
Client: "boaz4-ndmp"
FileSet: "NDMP-NFS-Fileset" 2014-09-03 16:46:01
Pool: "Monthly" (From Job FullPool override)
Catalog: "MyCatalog" (From Client resource)
Storage: "NDMPTape" (From Job resource)
Scheduled time: 07-Oct-2014 13:00:47
Start time: 07-Oct-2014 13:00:59
End time: 07-Oct-2014 13:02:26
Elapsed time: 1 min 27 secs
Priority: 10
NDMP Files Written: 0
SD Files Written: 0
NDMP Bytes Written: 0 (0 B)
SD Bytes Written: 84 (84 B)
Rate: 0.0 KB/s
Volume name(s):
Volume Session Id: 1
Volume Session Time: 1412700890
Last Volume Bytes: 0 (0 B)
Termination: *** Backup Error ***
--
Peter Reilly
Wycliffe Bible Translators
[email protected]
--
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.