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 = 10000000000 # 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: Job.jtgv.gsi.2006-09-08_12.58.17 > Backup Level: Full > Client: "jtgv.gsi-fd" Windows XP,MVS,NT 5.1.2600 > FileSet: "FileSetForjtgv" 2006-05-05 14:35:07 > Pool: "DefaultPoolForUSERS" > Storage: "FileUSERS" > Scheduled time: 08-Sep-2006 12:57:48 > Start time: 08-Sep-2006 12:58:22 > End time: 08-Sep-2006 12:58:37 > Elapsed time: 15 secs > Priority: 10 > FD Files Written: 15 > SD Files Written: 15 > FD Bytes Written: 46,093,736 (46.09 MB) > SD Bytes Written: 46,095,885 (46.09 MB) > Rate: 3072.9 KB/s > Software Compression: None > Volume name(s): userFiles-vol0017 > Volume Session Id: 3 > Volume Session Time: 1157718788 > Last Volume Bytes: 46,131,378 (46.13 MB) > Non-fatal FD errors: 0 > SD Errors: 0 > FD termination status: OK > SD termination status: OK > Termination: Backup OK > > 08-Sep 12:58 bserver-dir: Begin pruning Jobs. > 08-Sep 12:58 bserver-dir: No Jobs found to prune. > 08-Sep 12:58 bserver-dir: Begin pruning Files. > 08-Sep 12:58 bserver-dir: No Files found to prune. > 08-Sep 12:58 bserver-dir: End auto prune. > > * > * > * > *ç/list volumes > ç/list: is an illegal command. > *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. > * > > Any Ideias? > Thanks > > > > > > > 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 = 10000000000 # 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=lnk&kid=120709&bid=263057&dat=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=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users