Bacula-users

Re: [Bacula-users] Restoring data after retention policy pruned volumes

2012-03-23 15:14:06
Subject: Re: [Bacula-users] Restoring data after retention policy pruned volumes
From: "Romer Ventura" <rventura AT h-st DOT com>
To: <bacula-users AT lists.sourceforge DOT net>
Date: Fri, 23 Mar 2012 14:12:24 -0500
-----Original Message-----
From: Joseph L. Casale [mailto:jcasale AT activenetwerx DOT com]
Sent: Friday, March 23, 2012 11:42 AM
To: bacula-users AT lists.sourceforge DOT net
Subject: Re: [Bacula-users] Restoring data after retention policy pruned
volumes

> I need to restore some older files, the problem is that the retention
policy has already pruned the files.
/snip
> How can I restore my files..?

See the second paragraph in the bscan manual.
jlc

----------------------------------------------------------------------------
--

I had edited the config and set Autoprune = no, however, I failed to notice
the Volume Retention parameter, I just uncommented it and gonna redo the
scan and try it again.

Thanks.
----------------------------------------------------------------------------
--

Well still didn't work. I did another bscan, this time I made sure that the
Job, storage, pools in the dir.conf had Autoprune = no and no retention
value, after bscan completed its task, I went to the console and tried to do
a restore; however, it keeps saying that there are no files found.

Any ideas? Config is below.

Thanks

JobDefs {
  Name = H34-FileServ-def
  Type = Backup
  Level = Full
  Schedule = "WeeklyCycle"
  Messages = Standard
  Pool = FileServPool-Full-tape
  Full Backup Pool = FileServPool-Full-tape
  Differential Backup Pool = FileServPool-Diff-tape
  Incremental Backup Pool = FileServPool-Incre-tape
  Write Bootstrap = "/var/lib/bacula/%c.bsr"
  Priority = 10
}
Job {
  Name = H34-FileServer
  JobDefs = H34-FileServ-def
  Client = housigma34-fd
  FileSet = "H34-FileServ"
}
Client {
  Name = housigma34-fd
  Address = housigma34
  FDPort = 9102
  Catalog = MyCatalog
  Password = "MpisaL7X+Ywl0xl+I1VWEy424XK1C+3BkDNHMZNGPVdk"      # password
for FileDaemon
  AutoPrune = no                     # Prune expired Jobs/Files
}

Pool {
  Name = FileServPool-Full-tape
  Pool Type = Backup
  Recycle = no
  AutoPrune = no
#  Volume Retention = 1 months
  Maximum Volume Jobs = 1
  Label Format = "H34-Full-"
  Maximum Volume Bytes = 230G
  Maximum Volumes = 2
  Storage = H23-FileStore-full
}

Pool {
  Name = FileServPool-Diff-tape
  Pool Type = Backup
  Recycle = no
  AutoPrune = no
#  Volume Retention = 1 months
  Maximum Volume Jobs = 1
  Label Format = "H34-Diff-"
  Maximum Volumes = 3
  Storage = H23-FileStore-diff
}

Pool {
  Name = FileServPool-Incre-tape
  Pool Type = Backup
  Recycle = no
  AutoPrune = no
#  Volume Retention = 1 months
  Maximum Volume Jobs = 1
  Label Format = "H34-Incre-"
  Maximum Volumes = 20
  Storage = H23-FileStore-incre
}


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users