On Mon, Apr 23, 2007 at 06:35:24PM -0700, Ross Boylan wrote:
> On Mon, Apr 23, 2007 at 06:23:27PM -0700, Ross Boylan wrote:
> > I created a bsr file with the names of all my volumes in order,
> > separated by |'s.  There seem to be too many:
> > # bscan -s -m -b vols.bsr -v /var/spool/bacula -c 
> > /etc/bacula/bacula-sd.conf -P xxx -h localhost
> ....
> > # wc vols.bsr
> >   1   1 736 vols.bsr
> > 
> > I set a shell variable to the list, and that seems to be working.  I
> > don't trust wildcards to give me the right order.
> No, it failed.  The stuff read in through the command line got truncated too.
> Ross

By using the bsr's from the individual jobs I think I was able to get
around this, albeit at the costs of repeated scans through my volumes.

I seem to have restored the root partition successfully, but when I
moved on to var I get the very strange error that "LinSysVar Set" has
no full backup before now.   This is true although list
jobname=LinSysVar shows, in part (note job 17):

+-------+-----------+---------------------+------+-------+----------+-------------+-----------+
| jobid | name      | starttime           | type | level | jobfiles | jobbytes  
  | jobstatus |
+-------+-----------+---------------------+------+-------+----------+-------------+-----------+
|     6 | LinSysVar | 2007-03-30 02:03:52 | B    | I     |      215 |  
63,392,491 | T         |
|    12 | LinSysVar | 2007-03-31 02:01:04 | B    | I     |      217 |  
97,261,531 | T         |
|    17 | LinSysVar | 2007-04-01 13:52:30 | B    | F     |   32,124 | 
212,299,450 | T         |
|    18 | LinSysVar | 2007-04-02 01:58:58 | B    | I     |      124 |  
48,154,203 | T         |
.....
|   101 | LinSysVar | 2007-04-22 02:00:18 | B    | D     |   12,459 | 
124,244,500 | T         |

The now restored job specification was
Job {
  Name = "LinSysVar"  # Linux System Files--most of /var
  JobDefs = "DefaultJob"
  FileSet = "LinSysVar Set"
  Client Run Before Job = "/usr/local/src/scripts/snapshot.py open /var"
  Client Run After Job = "/usr/local/src/scripts/snapshot.py close /var"
  Write Bootstrap = /var/spool/bacula/LinSysVar.bsr
  Priority = 40

}

Could one of my abortive attempts to reconstruct the catalog have
messed things up?

Ross

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to