Dear list,

I'd like to do automated restores like this:

restore comment=restore-mysql-for-dbrestore-from-maidnb
restorejob=restore-mysql client=maindb-fd restoreclient=dbrestore-fd
fileset=Mysql where=/srv/mysql select current all done yes

The job defintion:

  Name = "restore-mysql"
  Type = Restore
  FileSet = "Mysql"
  Storage = Tape
  Pool = Tape
  Messages = Standard
  Where = /srv/mysql
  Client = bareos-fd
}

However the restores still goes to /mnt/snap/data and not into
/srv/mysql where I wanted it to go ("Where" parameter).

The running job also shows no signs of a "where":

*show job=restore-mysql
Job {
  Name = "restore-mysql"
  Type = Restore
  Messages = "Standard"
  Storage = "Tape"
  Pool = "Tape"
  Client = "bareos-fd"
  FileSet = "Mysql"
}

The only working solution I found was setting:

  Strip Prefix = /mnt/snap/data
  Add Prefix = /srv/mysql

Also the strip_prefix=… parameter in bconsole does not appear to do
anything.

Any idea what I'm doing wrong?

Best regards
…Christoph

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