Hello, I would recommend that you ask on the bacula-users list. They are better than I am at answering these things. However, you must also permit labeling in your SD Device resource.
Kern On Tuesday 26 September 2006 15:28, Claudinei Matos wrote: > > Kern Sibbald wrote: > > On Tuesday 26 September 2006 10:32, Arno Lehmann wrote: > > > >> Hello, > >> > >> On 9/26/2006 12:23 AM, Claudinei Matos wrote: > >> > >>> Hi, > >>> > >>> I have a bacula setup on my network using File as Storage device. > >>> Well, everything works fine and I used to write the files on CD or DVD > >>> but now the FULL backup file is too big to fit on a DVD and I have to > >>> split it. > >>> Well the problem is that I have to first write the backup to disk and > >>> later write it to a media like CD/DVD but I don't now how to tell bacula > >>> to automatic split the file on disk. > >>> I saw that since bacula 1.38.8 there's a script called disk-changer > >>> which is supposed to split the file on disk but I really doesn't > >>> understand how to put it to work. > >>> > > Yes, exactly. > > > > The disk-changer script is useful for two things: > > > > 1. For me to "simulate" and thus test multiple drive tape "autochangers" on > > disk without having a real tape changer. > > > > 2. It can also be used to have multiple simultaneous jobs writing to different > > disk Volumes (i.e. different drives) in the same directory for the same > > Storage device (possibly using multiple pools). However, there are a number > > of inconveniences (mainly, the file names are slot1, slot2, ... and do not > > correspond to the Volume names). Unless you have a really special > > requirement, I don't particularly recommend using it. > > > > > >>> I do try to backup a 1.7Gbytes directory with 100Mbytes limite to each > >>> volume, and each volume can just hold 1 job. What's happen is that after > >>> the first file, bacula stop the process waiting for a manual > >>> intervention to label a new file: > >>> > >>> *mess > >>> 25-Sep 18:01 ti02-sd: User defined maximum volume capacity 100,000,000 > >>> exceeded on device "FileStorage" (/data/backups). > >>> 25-Sep 18:01 ti02-sd: End of medium on Volume > >>> "alpha-fd_Teste.2006-09-25_17.59.43-" Bytes=99,993,485 Blocks=1,550 at > >>> 25-Sep-2006 18:01. > >>> 25-Sep 18:01 alpha-dir: Teste.2006-09-25_17.59.43 Error: > >>> sql_create.c:384 Volume "alpha-fd_Teste.2006-09-25_17.59.43-" already > >>> exists. > >>> 25-Sep 18:01 alpha-dir: Teste.2006-09-25_17.59.43 Error: > >>> sql_create.c:384 Volume "alpha-fd_Teste.2006-09-25_17.59.43-" already > >>> exists. > >>> 25-Sep 18:02 ti02-sd: Job Teste.2006-09-25_17.59.43 waiting. Cannot find > >>> any appendable volumes. > >>> Please use the "label" command to create a new Volume for: > >>> Storage: "FileStorage" (/data/backups) > >>> Media type: File > >>> Pool: TestePool > >>> *list > >>> *status > >>> > >>> How to tell bacula to automaticaly label the new volume? > >>> That's my Device setup: > >>> > >>> Device { > >>> Name = "FileStorage" > >>> Media Type = "File" > >>> Archive Device = /data/backups > >>> LabelMedia = yes; # lets Bacula label unlabeled media > >>> Random Access = Yes; > >>> AutomaticMount = yes; # when device opened, read it > >>> RemovableMedia = no; > >>> AlwaysOpen = yes; > >>> AutoChanger = yes > >>> Changer Command = "/usr/libexec/bacula/disk-changer %c %o %S %a %d" > >>> } > >>> > >> You need to set up a label format. In the pool setup, include a "Label > >> Format" directive. > >> > > > > Or you can (as I do) manually label a fixed number of Volumes and let Bacula > > decide when to use them. > > > Well, actually I do have a label format at my pool setup: > > Pool { > Name = "TestePool" > Pool Type = "Backup" > Maximum Volumes = 0 > Maximum Volume Jobs = 1 > Maximum Volume Bytes = 100000000 > Label Format = "${Client}_${JobName}-" > } > > So, what else could be wrong? > > Thanks, > > Claudinei Matos > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users