SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Problem to run a first backup
Author Message
Post Problem to run a first backup 
Good morning

I´m with a problem with bacula configuration. My logs follow below

--- logs ---
05-Jun 09:33 bacula-dir: No prior Full backup Job record found.
05-Jun 09:33 bacula-dir: No prior or suitable Full backup found in
catalog. Doing FULL backup.
05-Jun 09:33 bacula-dir: Start Backup JobId 19,
Job=Birao.2007-06-05_09.33.40
05-Jun 09:33 bacula-dir: Birao.2007-06-05_09.33.40 Error: dev.c:126
Unable to stat device /backups: ERR=No such file or directory
05-Jun 09:33 bacula-dir: Birao.2007-06-05_09.33.40 Warning:
Device "FileStorage" requested by DIR could not be opened or does
not exist.
05-Jun 09:33 bacula-dir: Birao.2007-06-05_09.33.40 Error: dev.c:126
Unable to stat device /backups: ERR=No such file or directory
05-Jun 09:33 bacula-dir: Birao.2007-06-05_09.33.40 Warning:
Device "FileStorage" requested by DIR could not be opened or does
not exist.
05-Jun 09:33 bacula-dir: Birao.2007-06-05_09.33.40 Error: dev.c:126
Unable to stat device /backups: ERR=No such file or directory
05-Jun 09:33 bacula-dir: Birao.2007-06-05_09.33.40 Warning:
Device "FileStorage" requested by DIR could not be opened or does
not exist.
05-Jun 09:33 bacula-dir: Failed command: Jmsg
Job=Birao.2007-06-05_09.33.40 type=5 level=1181046823 bacula-dir:
Birao.2007-06-05_09.
33.40 Warning:
Device "FileStorage" requested by DIR could not be opened or does
not exist.

05-Jun 09:33 bacula-dir: Birao.2007-06-05_09.33.40 Fatal error:
Device "FileStorage" with MediaType "File" requested by DIR not
found in SD Device resources.
05-Jun 09:33 bacula-dir: Birao.2007-06-05_09.33.40 Fatal error:
Storage daemon didn't accept Device "FileStorage" because:
3924 Device "FileStorage" not in SD Device resources.
---- logs ----

See below a part of my bacula-sd.conf

Device {
Name = FileStorage
Media Type = File
Archive Device = /backups
LabelMedia = no; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = yes;
}

My doubt is:

In definition FileStorage the Archive Device the /backups has that to be
a archive or a directory and what your permition?

Att,

Alexandre

--
Alexandre Bunn
Suporte Engenharia 1
Terra Networks Brasil S/A
Tel: +55 (51) 3284-4342

Post Problem to run a first backup 
On 2007.06.05. 15:48, Alexandre Bunn wrote:
Good morning

I´m with a problem with bacula configuration. My logs follow below

--- logs ---
05-Jun 09:33 bacula-dir: No prior Full backup Job record found.
05-Jun 09:33 bacula-dir: No prior or suitable Full backup found in
catalog. Doing FULL backup.
05-Jun 09:33 bacula-dir: Start Backup JobId 19,
Job=Birao.2007-06-05_09.33.40
05-Jun 09:33 bacula-dir: Birao.2007-06-05_09.33.40 Error: dev.c:126
Unable to stat device /backups: ERR=No such file or directory
05-Jun 09:33 bacula-dir: Birao.2007-06-05_09.33.40 Warning:
Device "FileStorage" requested by DIR could not be opened or does
not exist.
05-Jun 09:33 bacula-dir: Birao.2007-06-05_09.33.40 Error: dev.c:126
Unable to stat device /backups: ERR=No such file or directory
05-Jun 09:33 bacula-dir: Birao.2007-06-05_09.33.40 Warning:
Device "FileStorage" requested by DIR could not be opened or does
not exist.
05-Jun 09:33 bacula-dir: Birao.2007-06-05_09.33.40 Error: dev.c:126
Unable to stat device /backups: ERR=No such file or directory
05-Jun 09:33 bacula-dir: Birao.2007-06-05_09.33.40 Warning:
Device "FileStorage" requested by DIR could not be opened or does
not exist.
05-Jun 09:33 bacula-dir: Failed command: Jmsg
Job=Birao.2007-06-05_09.33.40 type=5 level=1181046823 bacula-dir:
Birao.2007-06-05_09.
33.40 Warning:
Device "FileStorage" requested by DIR could not be opened or does
not exist.

05-Jun 09:33 bacula-dir: Birao.2007-06-05_09.33.40 Fatal error:
Device "FileStorage" with MediaType "File" requested by DIR not
found in SD Device resources.
05-Jun 09:33 bacula-dir: Birao.2007-06-05_09.33.40 Fatal error:
Storage daemon didn't accept Device "FileStorage" because:
3924 Device "FileStorage" not in SD Device resources.
---- logs ----

See below a part of my bacula-sd.conf

Device {
Name = FileStorage
Media Type = File
Archive Device = /backups
LabelMedia = no; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = yes;
}

do you have a directory named /backups that storage daemon has write
access to ?
also, unless you are planning to use some pre-made volume files only,
you probably should use LabelMedia = yes;

i also have AlwaysOpen = no; in my configuration, but i'm too lazy to
further read documentation right now ;)

My doubt is:

In definition FileStorage the Archive Device the /backups has that to be
a archive or a directory and what your permition?

Att,

Alexandre
--
Rich

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB