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. Well, I did try some different setups on "Changer Command" with no success. Now I'm using the default value how I can see inside the script code: Changer Command = "/usr/libexec/bacula/disk-changer %c %o %S %a %d" 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" } Thanks, |
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------- 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