Bacula-users

Re: [Bacula-users] "File exists" problem

2008-05-06 08:22:10
Subject: Re: [Bacula-users] "File exists" problem
From: "John Drescher" <drescherjm AT gmail DOT com>
To: t_mo_info <t_mo_info AT o2 DOT pl>
Date: Tue, 6 May 2008 08:21:57 -0400
On Tue, May 6, 2008 at 7:27 AM, t_mo_info <t_mo_info AT o2 DOT pl> wrote:
> I'm using bacula to do backups of several clients and store them in 
> individual directories on a hard disk. The volumes are labeled automatically. 
> All clients are configured the same way but in one case (probably after 
> manual removal of some files) bacula is sending me a message like this:
>
>  01-May 01:08 file-server-dir: CVSBackup.2008-05-01_01.00.01 Warning: Wanted 
> to create Volume "CVS0006", but it already exists. Trying again.
>  01-May 01:08 file-server-dir: CVSBackup.2008-05-01_01.00.01 Warning: Wanted 
> to create Volume "CVS0007", but it already exists. Trying again.
>
>  and so on until
>
>  01-May 01:08 file-server-dir: CVSBackup.2008-05-01_01.00.01 Error: Too many 
> failures. Giving up creating Volume name.
>  01-May 01:08 file-server-sd: Job CVSBackup.2008-05-01_01.00.01 waiting. 
> Cannot find any appendable volumes.
>  Please use the "label"  command to create a new Volume for:
>     Storage:      "Directory_cvs" (/mnt/filestorage/cvs)
>     Media type:   File_cvs
>     Pool:         CVS
>
>  Manual labeling doesn't solve the problem.
>  The volumes (files) bacula wants to create don't really exist. The only file 
> in that directory is CVS0002.
>
>  Here are configs for this client:
>
>  in bacula-dir.conf:
>
>  Job {
>   Name = "CVSBackup"
>   Type = Backup
>   Client = CVS-fd
>   FileSet = "CVS set"
>   Schedule = "MonthlyCycle"
>   Storage = FileStorage_cvs
>   Messages = Standard
>   Pool = CVS
>  }
>
>  Client {
>   Name = CVS-fd
>   Address = xxx.xxx.xxx.xxx
>   FDPort = 9102
>   Catalog = MyCatalog
>   Password = "xxxxxxxxxx"
>   File Retention = 60d
>   Job Retention = 60d
>   AutoPrune = yes
>  }
>
>  Storage {
>   Name = "FileStorage_cvs"
>   Address = file-server
>   SDPort = 9103
>   Password = "xxxxxxxxxx"
>   Device = Directory_cvs
>   Media Type = File_cvs
>  }
>
>  Pool {
>   Name = CVS
>   Pool Type = Backup
>   Recycle = yes
>   AutoPrune = yes
>   Volume Retention = 60d
>   Maximum Volume Bytes = 5g
>   Accept Any Volume = yes
>   LabelFormat = "CVS"
>  }
>
>
>
>  and bacula-sd.conf:
>  Device {
>   Name = Directory_cvs
>   Media Type = File_cvs
>   Archive Device = /mnt/filestorage/cvs
>   LabelMedia = yes;                   # lets Bacula label unlabelled media
>   Random Access = Yes;
>   AutomaticMount = yes;               # when device opened, read it
>   RemovableMedia = no;
>   AlwaysOpen = no;
>  }
>
>  Any ideas what's going on here?
>
Can you give the output of list media and what files are actually in
the storage folder?

John

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>