Hi,

06.09.2007 13:52,, Silver Salonen wrote::
> Hi.
> 
> I'm using Bacula 2.2.0 on FreeBSD-6.2 with MySQL 5.0.45.
> I started to restore some files from wx-console, but some of the files seemed 
> to be missing, so I though I'll try syncing backups' database with backups' 
> contents.
> 
> I keep all the backups on HDD - clients are put into separate folders and all 
> the backups are in separate files (i.e. maximum volume jobs = 1). So I'm 
> trying to sync some incremental backups:
> =====
> # bscan -c /usr/local/etc/bacula-sd.conf -v -V cl1-s2-incr-0007\|
> cl1-s2-incr-0008\|cl1-s2-incr-0009\|cl1-s2-incr-0010\|cl1-s2-incr-0011\|
> cl1-s2-incr-0012 -h localhost -P mysql-pswd -s -m /backup/bacula/cl1-s2
> =====
> 
> At first bscan says:
> =====
> 06-Sep 14:46 bscan: bscan Error: butil.c:147 Volume name or names is too 
> long. 
> Please use a .bsr file.
> =====

That about explains it, I think.

> But well, it starts scanning and updating records. After the last volume, it 
> reports:
> =====
> 06-Sep 14:49 bscan: Fatal Error at dev.c:482 because:
> dev.c:480 Could not open: /backup/bacula/cl1-s2/cl1-s2, ERR=No such file or 
> directory
> 06-Sep 14:49 bscan: bscan Warning: acquire.c:206 Read open 
> device "device-cl1-s2" (/backup/bacula/cl1-s2) Volume "cl1-s2" failed: 
> ERR=dev.c:480 Could not open: /backup/bacula/cl1-s2/cl1-s2, ERR=No such file 
> or directory
> =====
> 
> and waits for me to:
> =====
> Mount Volume "cl1-s2" on device "device-cl1-s2" (/backup/bacula/cl1-s2) and 
> press return when ready:
> =====
> 
> I don't get it - why does Bacula come up with volume 'cl1-s2'? Am I misusing 
> bscan?

bscan truncated the -V option.

Your best choice would be to prepare a bsr file, or scan the volumes 
in several batches.

Arno

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to