Hello:
I am attempting to do an NDMP backup to disk (this works) and then take that
NDMP backup on disk and write it to tape (this down not).
My configuration:
=== bareos-dir.conf ===
#
# A NDMP Client.
#
Client {
Name = hank
Address = filer.domain.com
Port = 10000
Protocol = NDMPv4
Auth Type = MD5
Username = "root" # username of the NDMP user on the DATA
AGENT e.g. storage box being backuped.
Password = "password" # password of the NDMP user on the
DATA AGENT e.g. storage box being backuped.
}
Fileset {
Name = "NDMP Test Fileset"
Include {
Options {
meta = "USER=root"
}
File = /vol/vscan_testvol
}
}
JobDefs {
Name = "NDMPTestJobDef"
Type = Backup
Protocol = NDMP
Level = Full
Client = hank
Backup Format = dump
FileSet = "NDMP Test Fileset"
Schedule = "WeeklyCycle"
Storage = NDMPFile
Messages = Standard
Pool = NDMPFile
Priority = 10
#Write Bootstrap = "/var/opt/bareos/run/bareos/%c.bsr"
}
#
# A NDMP Backup Job using the JobDef above.
#
Job {
Name = "NDMPTestJob"
JobDefs = "NDMPTestJobDef"
Level = Full
}
#
# Define the migration job
#
Job {
Name = "NDMPFileMigration"
Type = Migrate
Level = Full
Messages = Standard
Pool = NDMPFile
Maximum Concurrent Jobs = 4
Selection Type = Volume
Selection Pattern = "."
}
# (why?)
# Seperate Pool for NDMP data so upgrading of Jobs works and selects the right
storage.
#
Pool {
Name = NDMPFile
Pool Type = Backup
#Recycle = yes
#AutoPrune = yes
Next Pool = Tape
# This Storage line overrides any specified in the Job. Recommended here.
Storage = NDMPFile
#Volume Retention = 365 days # one year
#Maximum Volume Bytes = 50G # Limit Volume size to something
reasonable
#Maximum Volumes = 100 # Limit number of Volumes in Pool
# The value defined by this directive in the bareos-dir.conf file is the
default value used when a Volume is created. Once the volume is created,
changing the value in the bareos-dir.conf file will not change what is stored
for the Volume. To change the value for an existing Volume you must use the
update command in the Console.
# This makes a new volume file per backup job, just to try it in testing
Maximum Volume Jobs = 1
Label Format = "NDMPFull-" # Volumes will be labeled
"Full-<volume-id>"
}
#
# Tape pool definition
#
Pool {
Name = Tape
Pool Type = Backup
# AutoPrune = yes
# Recycle = yes
Storage = LTO5Drive
}
#
# "Same storage daemon (as File) but via NDMP protocol."
# We link via the PairedStorage config option the Bareos SD instance definition
to a NDMP TAPE AGENT.
#
Storage {
Name = NDMPFile
Address = neo2.egr.msu.edu # N.B. Use a fully qualified name here
# DECS: because the netapp needs to
connect to us!
Port = 10000
Protocol = NDMPv4 # Need to specify protocol before
password as protocol determines password encoding used.
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 = password2 # 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 = File
}
#
# Definition of LTO-5 tape storage device
#
Storage {
Name = LTO5Drive
Address = neo2
Password = "director_password"
Device = "Drive-1" # same as Device in Storage daemon
Media Type = LTO-5 # same as MediaType in Storage daemon
}
=== bareos-sd.conf ===
Ndmp {
Name = 10amd64-default-job-01-dir # Can be any name but
normally you should use the name of the Director here.
Username = ndmp # Same username as you specified in the
NDMPFile storage definition.
Password = password2 # Same password as you specified in
the NDMPFile storage definition.
# MD5 failed, so....
AuthType = Clear # Clear == Clear Text, MD5 == Challenge
protocol
Log Level = 5
}
When I run the Migration I get the following error:
10-Dec 16:26 neo2-dir: ERROR in authenticate.c:232 Failed ASSERT:
store->password.encoding == p_encoding_md5
Does anyone have any ideas?
--
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.