Hi All,

I'm wondering if anyone who uses file based backups (instead of tapes) could tell me if the volumes for their files get VolumeBytes, VolumeFiles and LastWritten recorded.

My catalog shows 11 jobs on Volume "BaculaQuickFile-0001" (ie Volume Id 50).
However these is apparently no data and no files recorded on the Volume in the catalog (at least not that part of the catalog that bconsole displays).

In addition a file listing shows the volume to have been written to the tune of about 2.3G. What I am trrying to do is get backups working on a pair of remoavvable USB disks.

The data gets written to the volume, but the volume never changes, despite the fact that "Max Volumes Jobs" for the pool is exceeded and other labelled volumes exist in the pool.

I also get an error listed below, about an "Invalid Catalog Request".
I'm not sure how to interpret this other than quick's sd cant write to radio's sd. However it is possible to open a socket from quick to radio:9101 which is what I assume is required for quick's sd to communicate with radio's dir.

Various data below.

Has any one had a similar experience?
Can anyone suggest what the issue might be or where I might look for more info. The bacula log bascially doesn't containt anything over and above the messages I get via mail or bconsole.

Regards and thanks for reading this far.
Jason



BConsoel message post job.
*messages
25-Oct-2005 14:04 radio-dir: Start Backup JobId 2515, Job=radio-quick.2005-10-25_14.04.56 25-Oct-2005 14:05 quick-sd: Volume "BaculaQuickFile-0001" previously written, moving to end of data. 25-Oct-2005 14:05 radio-dir: radio-quick.2005-10-25_14.04.56 Error: catreq.c:274 Invalid Catalog request: CatReq Job=radio-quick.2005-10-25_14.04.56 UpdateMedia VolName=BaculaQuickFile-0001 VolJobs=0 VolFiles=0 VolBlocks=0 VolBytes=0 VolMounts=1 VolErrors=0 VolWrites=0 MaxVolBytes=0 EndTime=1130214900 VolStatus=Append Slot=0 relabel=0 25-Oct-2005 14:05 quick-sd: radio-quick.2005-10-25_14.04.56 Error: Error updating Volume info Vol="BaculaQuickFile-0001": 1990 Invalid Catalog Request: CatReq Job=radio-quick.2005-10-25_14.04.56 UpdateMedia VolName=BaculaQuickFile-0001 VolJobs=0 VolFiles=0 VolBlocks=0 VolBytes=0 VolMounts=1 VolErrors=0 VolWrites=0 MaxVolBytes=0 EndTime=1130214900 VolStatus=Append Slot=0 relabel=0

*



MySQL Query:
[EMAIL PROTECTED] bacula]# mysql -u bacula --password=XXX bacula
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 5626 to server version: 4.0.18

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> select count(*) from JobMedia where MediaId=50;
+----------+
| count(*) |
+----------+
|       11 |
+----------+
1 row in set (0.00 sec)


Bconsole output:

----+
*list volumes pool=QuickDiskPool
+---------+----------------------+-----------+----------+----------+--------------+---------+------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | VolBytes | VolFiles | VolRetention | Recycle | Slot | MediaType | LastWritten |
+---------+----------------------+-----------+----------+----------+--------------+---------+------+-----------+---------------------+
| 50 | BaculaQuickFile-0001 | Append | 0 | 0 | 604,800 | 1 | 0 | File | 0000-00-00 00:00:00 | | 51 | BaculaQuickFile-0002 | Append | 0 | 0 | 604,800 | 1 | 1 | File | 0000-00-00 00:00:00 | | 52 | BaculaQuickFile-0004 | Append | 1 | 0 | 604,800 | 1 | 0 | File | 0000-00-00 00:00:00 |
+---------+----------------------+-----------+----------+----------+--------------+---------+------+-----------+---------------------+
*

BConsole Pool Info

show pools
Pool: name=QuickDiskPool PoolType=Backup
     use_cat=1 use_once=0 acpt_any=0 cat_files=1
     max_vols=10 auto_prune=1 VolRetention=7 days
     VolUse=2 days  recycle=1 LabelFormat=BaculaQuickFile-
     CleaningPrefix=*None*
     recyleOldest=1 MaxVolJobs=10 MaxVolFiles=0



Dir listing:
[EMAIL PROTECTED] usb-storage]# ls -l
total 2390244
-rw-r-----  1 bacula bacula 2445196608 Oct 25 14:05 BaculaQuickFile-0001
-rw-r-----  1 bacula bacula        237 Oct 25 14:04 BaculaQuickFile-0004
drwx------  2 root   root        16384 Oct 21 15:47 lost+found/



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to