Re: [Bacula-users] Automatic creation/labeling of volumes while backing up to disk. UPDATED...Is this a BUG?

2006-09-11 Thread Alan Brown
On Fri, 8 Sep 2006, Jaime Ventura wrote:

 Hello,
 Can anyone help me find the reason why bacula is asking me to create a
 new volume?

 08-Sep 12:33 bserver-sd: Job Job.jtgv.gsi.2006-09-08_12.33.41 waiting. Cannot 
 find any appendable volumes.
 Please use the label  command to create a new Volume for:
Storage:  FileStorageUSERS (/backupspace/bacula/users)
Media type:   File
Pool: DefaultPoolForUSERS


 I've read the documentation and basically I would need  2 things:
 LabelFormat on the pool definition and  LabelMedia = yes on storage
 definition (on sd).

...and some tapes which are ready to be recycled.

Your pool is full and none of the tapes in it are fully expired.

AB


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Automatic creation/labeling of volumes while backing up to disk. UPDATED...Is this a BUG?

2006-09-11 Thread Jaime Ventura
Thank you Alan.
I solved the problem in the very same day I requested help.
As I told on message with the subject Re: [Bacula-users] Automatic 
creation/labeling of volumes while backing up to disk. UPDATED...Is this 
a BUG? -PLEASE IGNORE, my mistake  , the problem was... me :P
I was looking at the wrong catalog and obviously, the volumes weren't 
on  the list volumes.
Once again thank you for your help.



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Alan Brown wrote:
 On Fri, 8 Sep 2006, Jaime Ventura wrote:

   
 Hello,
 Can anyone help me find the reason why bacula is asking me to create a
 new volume?

 08-Sep 12:33 bserver-sd: Job Job.jtgv.gsi.2006-09-08_12.33.41 waiting. 
 Cannot find any appendable volumes.
 Please use the label  command to create a new Volume for:
Storage:  FileStorageUSERS (/backupspace/bacula/users)
Media type:   File
Pool: DefaultPoolForUSERS


 I've read the documentation and basically I would need  2 things:
 LabelFormat on the pool definition and  LabelMedia = yes on storage
 definition (on sd).
 

 ...and some tapes which are ready to be recycled.

 Your pool is full and none of the tapes in it are fully expired.

 AB


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

   

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Automatic creation/labeling of volumes while backing up to disk. UPDATED...Is this a BUG?

2006-09-11 Thread Alan Brown
On Mon, 11 Sep 2006, Jaime Ventura wrote:

 I solved the problem in the very same day I requested help.
 As I told on message with the subject Re: [Bacula-users] Automatic 
 creation/labeling of volumes while backing up to disk. UPDATED...Is this a 
 BUG? -PLEASE IGNORE, my mistake  , the problem was... me :P
 I was looking at the wrong catalog and obviously, the volumes weren't on  the 
 list volumes.

Yes, that would do it.

 Once again thank you for your help.

No problem. We all make mistakes like this when starting out.

AB


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Automatic creation/labeling of volumes while backing up to disk. UPDATED...Is this a BUG?

2006-09-11 Thread Alan Brown
On Mon, 11 Sep 2006, Alan Brown wrote:

 I've read the documentation and basically I would need  2 things:
 LabelFormat on the pool definition and  LabelMedia = yes on storage
 definition (on sd).

 ...and some tapes which are ready to be recycled.

 Your pool is full and none of the tapes in it are fully expired.

s/tapes/volumes/g

I missed you're backing up to disk, but the same principle applies.

AB


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Automatic creation/labeling of volumes while backing up to disk

2006-09-08 Thread Jaime Ventura
Hello,
Can anyone help me find the reason why bacula is asking me to create a 
new volume?

08-Sep 12:33 bserver-sd: Job Job.jtgv.gsi.2006-09-08_12.33.41 waiting. Cannot 
find any appendable volumes.
Please use the label  command to create a new Volume for:
Storage:  FileStorageUSERS (/backupspace/bacula/users)
Media type:   File
Pool: DefaultPoolForUSERS

 
I've read the documentation and basically I would need  2 things: 
LabelFormat on the pool definition and  LabelMedia = yes on storage 
definition (on sd).
Where is are the my definitions:
-bacula-dir.conf---
Pool {
 Name = DefaultPoolForUSERS
 Pool Type = Backup
 Recycle = yes   # Bacula can automatically recycle 
Volumes
 AutoPrune = yes # Prune expired volumes
 Volume Retention = 365 days # one year
 Accept Any Volume = yes # write on any volume in the pool
 Maximum Volumes = 16
 Maximum Volume Bytes = 100  # 10 GBs
 LabelFormat = userFiles-vol
}
# * Definicao dos storages usados *
# Storage para os Utilizadores
Storage {
 Name = FileUSERS
 Address = bserver.isep.ipp.pt# N.B. Use a fully 
qualified name here
 SDPort = 9103
 Password = XXX
 Device = FileStorageUSERS
 Media Type = File
}


-bacula-sd.conf---

Device {
 Name = FileStorageUSERS
 Media Type = File
 Archive Device = /backupspace/bacula/users
 LabelMedia = yes;   # lets Bacula label unlabeled media
 Random Access = Yes;
 AutomaticMount = yes;   # when device opened, read it
 RemovableMedia = no;
 AlwaysOpen = no;
}

I would really appreciate any help because this has already been working 
, but not any more
Thanks



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Automatic creation/labeling of volumes while backing up to disk. UPDATED...Is this a BUG?

2006-09-08 Thread Jaime Ventura
Hello,
Can anyone help me find the reason why bacula is asking me to create a 
new volume?

08-Sep 12:33 bserver-sd: Job Job.jtgv.gsi.2006-09-08_12.33.41 waiting. Cannot 
find any appendable volumes.
Please use the label  command to create a new Volume for:
Storage:  FileStorageUSERS (/backupspace/bacula/users)
Media type:   File
Pool: DefaultPoolForUSERS

 
I've read the documentation and basically I would need  2 things: 
LabelFormat on the pool definition and  LabelMedia = yes on storage 
definition (on sd).
Where is are the my definitions:
-bacula-dir.conf---
Pool {
 Name = DefaultPoolForUSERS
 Pool Type = Backup
 Recycle = yes   # Bacula can automatically recycle 
Volumes
 AutoPrune = yes # Prune expired volumes
 Volume Retention = 365 days # one year
 Accept Any Volume = yes # write on any volume in the pool
 Maximum Volumes = 16
 Maximum Volume Bytes = 100  # 10 GBs
 LabelFormat = userFiles-vol
}
# * Definicao dos storages usados *
# Storage para os Utilizadores
Storage {
 Name = FileUSERS
 Address = bserver.isep.ipp.pt# N.B. Use a fully 
qualified name here
 SDPort = 9103
 Password = XXX
 Device = FileStorageUSERS
 Media Type = File
}


-bacula-sd.conf---

Device {
 Name = FileStorageUSERS
 Media Type = File
 Archive Device = /backupspace/bacula/users
 LabelMedia = yes;   # lets Bacula label unlabeled media
 Random Access = Yes;
 AutomaticMount = yes;   # when device opened, read it
 RemovableMedia = no;
 AlwaysOpen = no;
}


As you can see, there are no volumes for DefaultPoolForUSERS. Ive 
deleted them with the delete command. After that Ive deletes the files 
on disk as well.

*list volume
Pool: Default
+-+-+---+---+--+--+-+--+---+---+-+
| MediaId | VolumeName  | VolStatus | VolBytes  | VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | 
LastWritten |
+-+-+---+---+--+--+-+--+---+---+-+
|   2 | baculaFiles-vol0001 | Append| 2,438,223,330 |0 
|   31,536,000 |   1 |0 | 0 | File  | 2006-09-07 
23:05:04 |
+-+-+---+---+--+--+-+--+---+---+-+
Pool: DefaultPoolForSERVERS
+-+--+---+---+--+--+-+--+---+---+-+
| MediaId | VolumeName   | VolStatus | VolBytes  | VolFiles 
| VolRetention | Recycle | Slot | InChanger | MediaType | 
LastWritten |
+-+--+---+---+--+--+-+--+---+---+-+
|   1 | serversFiles-vol0001 | Full  | 9,999,953,959 |2 
|   31,536,000 |   1 |0 | 0 | File  | 2006-05-31 
23:08:31 |
|   4 | serversFiles-vol0002 | Full  | 9,999,950,771 |2 
|   31,536,000 |   1 |0 | 0 | File  | 2006-07-08 
23:06:05 |
|   5 | serversFiles-vol0003 | Full  | 9,999,990,818 |2 
|   31,536,000 |   1 |0 | 0 | File  | 2006-09-03 
23:20:09 |
|   6 | serversFiles-vol0004 | Append| 2,308,730,846 |0 
|   31,536,000 |   1 |0 | 0 | File  | 2006-09-07 
23:10:43 |
+-+--+---+---+--+--+-+--+---+---+-+
Pool: DefaultPoolForUSERS
No results to list.








Then, just for curiosity, I've commented the line restricting the number 
of volumes (Maximum Volumes = 16)
When I ran a job, I got the following report. As you can see a new 
volume was created. But the weirdest part is that the Catalog was not 
updated:









08-Sep 12:58 bserver-dir: Start Backup JobId 1141, 
Job=Job.jtgv.gsi.2006-09-08_12.58.17
08-Sep 12:58 bserver-sd: Volume userFiles-vol0017 previously written, 
moving to end of data.
08-Sep 12:58 jtgv.gsi-fd: Generate VSS snapshots. Driver=VSS WinXP, 
Drive(s)=D
08-Sep 12:58 jtgv.gsi-fd: VSS Writer (BackupComplete): MSDEWriter, 
State: 1 (VSS_WS_STABLE)
08-Sep 12:58 jtgv.gsi-fd: VSS Writer (BackupComplete): Microsoft Writer 
(Service State), State: 1 (VSS_WS_STABLE)
08-Sep 12:58 jtgv.gsi-fd: VSS Writer (BackupComplete): WMI Writer, 
State: 1 (VSS_WS_STABLE)
08-Sep 12:58 jtgv.gsi-fd: VSS Writer (BackupComplete): Microsoft Writer 
(Bootable State), State: 1 (VSS_WS_STABLE)
08-Sep 12:58 bserver-dir: Bacula 1.38.11 (28Jun06): 08-Sep-2006 12:58:37
 JobId:  1141
 Job:

Re: [Bacula-users] Automatic creation/labeling of volumes while backing up to disk. UPDATED...Is this a BUG? -----PLEASE IGNORE, my mistake

2006-09-08 Thread Jaime Ventura
My mistake.
I was looking at the wrong catalog and obviously, the volumes weren't on 
the list volumes.
Please ignore.
Sorry.



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Jaime Ventura wrote:
 Hello,
 Can anyone help me find the reason why bacula is asking me to create a 
 new volume?

 08-Sep 12:33 bserver-sd: Job Job.jtgv.gsi.2006-09-08_12.33.41 waiting. 
 Cannot find any appendable volumes.
 Please use the label  command to create a new Volume for:
Storage:  FileStorageUSERS (/backupspace/bacula/users)
Media type:   File
Pool: DefaultPoolForUSERS


 I've read the documentation and basically I would need  2 things: 
 LabelFormat on the pool definition and  LabelMedia = yes on storage 
 definition (on sd).
 Where is are the my definitions:
 -bacula-dir.conf---
 Pool {
 Name = DefaultPoolForUSERS
 Pool Type = Backup
 Recycle = yes   # Bacula can automatically recycle 
 Volumes
 AutoPrune = yes # Prune expired volumes
 Volume Retention = 365 days # one year
 Accept Any Volume = yes # write on any volume in the pool
 Maximum Volumes = 16
 Maximum Volume Bytes = 100  # 10 GBs
 LabelFormat = userFiles-vol
 }
 # * Definicao dos storages usados *
 # Storage para os Utilizadores
 Storage {
 Name = FileUSERS
 Address = bserver.isep.ipp.pt# N.B. Use a fully 
 qualified name here
 SDPort = 9103
 Password = XXX
 Device = FileStorageUSERS
 Media Type = File
 }


 -bacula-sd.conf---

 Device {
 Name = FileStorageUSERS
 Media Type = File
 Archive Device = /backupspace/bacula/users
 LabelMedia = yes;   # lets Bacula label unlabeled media
 Random Access = Yes;
 AutomaticMount = yes;   # when device opened, read it
 RemovableMedia = no;
 AlwaysOpen = no;
 }


 As you can see, there are no volumes for DefaultPoolForUSERS. Ive 
 deleted them with the delete command. After that Ive deletes the files 
 on disk as well.

 *list volume
 Pool: Default
 +-+-+---+---+--+--+-+--+---+---+-+
  

 | MediaId | VolumeName  | VolStatus | VolBytes  | VolFiles 
 | VolRetention | Recycle | Slot | InChanger | MediaType | 
 LastWritten |
 +-+-+---+---+--+--+-+--+---+---+-+
  

 |   2 | baculaFiles-vol0001 | Append| 2,438,223,330 |0 
 |   31,536,000 |   1 |0 | 0 | File  | 2006-09-07 
 23:05:04 |
 +-+-+---+---+--+--+-+--+---+---+-+
  

 Pool: DefaultPoolForSERVERS
 +-+--+---+---+--+--+-+--+---+---+-+
  

 | MediaId | VolumeName   | VolStatus | VolBytes  | 
 VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | 
 LastWritten |
 +-+--+---+---+--+--+-+--+---+---+-+
  

 |   1 | serversFiles-vol0001 | Full  | 9,999,953,959 |
 2 |   31,536,000 |   1 |0 | 0 | File  | 2006-05-31 
 23:08:31 |
 |   4 | serversFiles-vol0002 | Full  | 9,999,950,771 |
 2 |   31,536,000 |   1 |0 | 0 | File  | 2006-07-08 
 23:06:05 |
 |   5 | serversFiles-vol0003 | Full  | 9,999,990,818 |
 2 |   31,536,000 |   1 |0 | 0 | File  | 2006-09-03 
 23:20:09 |
 |   6 | serversFiles-vol0004 | Append| 2,308,730,846 |
 0 |   31,536,000 |   1 |0 | 0 | File  | 2006-09-07 
 23:10:43 |
 +-+--+---+---+--+--+-+--+---+---+-+
  

 Pool: DefaultPoolForUSERS
 No results to list.








 Then, just for curiosity, I've commented the line restricting the 
 number of volumes (Maximum Volumes = 16)
 When I ran a job, I got the following report. As you can see a new 
 volume was created. But the weirdest part is that the Catalog was not 
 updated:









 08-Sep 12:58 bserver-dir: Start Backup JobId 1141, 
 Job=Job.jtgv.gsi.2006-09-08_12.58.17
 08-Sep 12:58 bserver-sd: Volume userFiles-vol0017 previously 
 written, moving to end of data.
 08-Sep 12:58 jtgv.gsi-fd: Generate VSS snapshots. Driver=VSS WinXP, 
 Drive(s)=D