LDB wrote:
LDB wrote:
I am trying to use disk as the backup device. What am I doing wrong? :)




btape -c /etc/bacula/bacula-sd.conf /backups/bacula/backups/archive
Tape block granularity is 1024 bytes.
26-Feb 07:05 btape: ERROR TERMINATION at parse_conf.c:839
Config error: unexpected token 105 T_UNQUOTED_STRING in resource definition
            : line 49, col 13 of file /etc/bacula/bacula-sd.conf
  Device-Name = "/backups/bacula/backups/archive"



/etc/bacula/bacula-sd.conf:

..

Device {
  Name = FileStorage
  Media Type = File

  Archive Device = "/backups/bacula/backups/archive"
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



Should be ..

    Archive Device = /backups/bacula/backups
Thanks ..

LDB


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Now, that I have resolved that I get the following ..

Reposition to file:block 0:4
26-Feb 08:44 btape: btape Error: block.c:264 Volume data error at 0:4! Wanted ID: "BB02", got "". Buffer discarded.

btape: btape.c:979 Read block 5 failed! file=0 blk=4. ERR=Input/output error
btape: btape.c:989 This may be because the tape drive block size is not
 set to variable blocking as normally used by Bacula.
 Please see the Tape Testing chapter in the manual and
 look for using mt with defblksize and setoptions
If your tape drive block size is correct, then perhaps
 your SCSI driver is *really* stupid and does not
 correctly report the file:block after a FSF. In this
 case try setting:
    Fast Forward Space File = no
 in your Device resource.


Obviously, the default is variable block storage for tape devices but I am using disk. Therefore it is fixed block. I have tried the following settings ..

        Block Positioning = no
        Fast Forward Space File = no

but to no avail ..


Any ideas??

LDB



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to