Hi,

I'm using bacula here at my work (on FreeBSD), and it's been working
nicely for more than 6 months.
I've got several clients and they're backing up to a directory on a
server where bacula-dir runs (/opt/bacula/backups).
Everything was going OK, but suddenly I needed more disk space, so I got
a brand new 160GB HD, installed it and mounted it under
/opt/bacula/backups/backup_servers. Then I moved half of my storage
resources I had on /opt/bacula/backups
to /opt/bacula/backups/backupservers. Then I edited bacula-sd.conf and
changed the entries I had with /opt/bacula/backups to
/opt/bacula/backups/backup_servers. I started bacula, but every backup
from the hosts I moved to the new HD says something like this:

    18-Apr 05:15 mamute-sd: Failed command: use device=einstein-dir
    media_type=File pool_name=einstein-pool pool_type=Backup

    18-Apr 05:15 mamute-sd: Backup-einstein.2005-04-18_05.15.00 Fatal
    error:
    Device "einstein-dir" with MediaType "File" requested by Dir not
    found in SD Device resources.
    18-Apr 05:15 mamute-dir: Backup-einstein.2005-04-18_05.15.00 Fatal
    error:
    Storage daemon didn't accept Device "einstein-dir" because:
    3914 Device "einstein-dir" not in SD Device resources.


--
Example of change:

from:

Device {
  Name = einstein-dir
  Archive Device = /opt/bacula/backups/einstein
  Media Type = File; AlwaysOpen = No;
  LabelMedia = yes; Random Access = Yes;
  AutomaticMount = Yes; RemovableMedia = no;
}

to:

Device {

  Name = einstein-dir
  Archive Device = /opt/bacula/backups/backup-servers/einstein
  Media Type = File; AlwaysOpen = No;
  LabelMedia = yes; Random Access = Yes;
  AutomaticMount = Yes; RemovableMedia = no;

}


and to move the archives, I ran:

mv /opt/bacula/backups/einstein /opt/bacula/backups/backup_servers/einstein

Can anyone help me find the problem?

-- 
Samuel Martins  (sysadm)
[EMAIL PROTECTED]
_
Dep. Fisica
Instituto Superior Tecnico - UTL
Av. Rovisco Pais - 1049-001 Lisboa - Portugal



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to