On Fri, 01 Dec 2006 07:59:40 -0500 "Dan Langille" <[EMAIL PROTECTED]> wrote:
> On 1 Dec 2006 at 12:54, Paul Constable wrote: > > > Hi all, > > I have a problem, I am storing on a hard disk, and the volume got > > rather large whilst testing.. > > > > I removed the file, drop the tables, rebuilt the database etc, as per > > instructions.. > > > > Now the storage daemon cannot start as the directory with the following > > comment in the logs:- > > > > 'Storage daemon didn't accept Device "FileStorage" because: > > 3925 Device "FileStorage" could not be opened or does not exist.' > > > > There is no acl in place that I can find,, all the permissions are set > > to 0777. > > > > Has anybody been here before ,, and could give me som insight as to what > > I have done wrong... > > Start by supplying us with the sd and dir configuration files. > Consider hiding the passwords. > > Include the version of Bacula you are using. > > -- > Dan Langille : Software Developer looking for work > my resume: http://www.freebsddiary.org/dan_langille.php > PGCon - The PostgreSQL Conference - http://www.pgcon.org/ > > Apologies for that, I wasn't thnking. # ---------------------------------------------------------------- # Default Bacula Storage Daemon Configuration file # # For Bacula release 1.36.2 (28 February 2005) -- debian 3.1 # Storage { # definition of myself Name = able-sd SDPort = 9103 # Director's port WorkingDirectory = "/var/lib/bacula" Pid Directory = "/var/run/bacula" Maximum Concurrent Jobs = 20 } Director { Name = able-dir Password = "" } Director { Name = able-mon Password = "" Monitor = yes } Device { Name = FileStorage Media Type = File Archive Device = /store/backup/ LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = yes; } Messages { Name = Standard director = able-dir = all } # --------------------------------------------------------- # # Default Bacula Director Configuration file # # For Bacula release 1.36.2 (28 February 2005) -- debian 3.1 # Director { # define myself Name = able-dir DIRport = 9101 # where we listen for UA connections QueryFile = "/etc/bacula/scripts/query.sql" WorkingDirectory = "/var/lib/bacula" PidDirectory = "/var/run/bacula" Maximum Concurrent Jobs = 1 Password = "" # Console password Messages = Daemon } JobDefs { Name = "DefaultJob" Type = Backup Level = Incremental Client = able-fd FileSet = "Full Set" Schedule = "WeeklyCycle" Storage = File Messages = Standard Pool = Default Priority = 10 } # # Define the main nightly save backup job # By default, this job will back up to disk in /tmp Job { Name = "Able" JobDefs = "DefaultJob" Write Bootstrap = "/var/lib/bacula/Able.bsr" } Job { Name = "laptop2" JobDefs = "DefaultJob" Write Bootstrap = "/var/lib/bacula/laptop2.bsr" } # Backup the catalog database (after the nightly save) Job { Name = "BackupCatalog" JobDefs = "DefaultJob" Level = Full FileSet="Catalog" Schedule = "WeeklyCycleAfterBackup" # This creates an ASCII copy of the catalog RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup -u root -p m15t3r" # This deletes the copy of the catalog RunAfterJob = "/etc/bacula/scripts/delete_catalog_backup" Write Bootstrap = "/var/lib/bacula/BackupCatalog.bsr" Priority = 11 # run after main backup } # Standard Restore template, to be changed by Console program Job { Name = "RestoreFiles" Type = Restore Client=able-fd FileSet="Full Set" Storage = File Pool = Default Messages = Standard Where = /tmp/bacula-restores } # List of files to be backed up #FileSet { # Name = "Full Set" # Include { # Options { # signature = MD5 # } # File = / # File = /home # } # Exclude { # File = /proc # File = /tmp # File = /.journal # File = /.fsck # File = /storage # File = /store # } #} # Exclude { # File = /proc # File = /tmp # File = /.journal # File = /.fsck # File = /storage # File = /store # } #} # # FileSet { #Name = "Windows 2000" Name = "Full Set" Include { Options { signature = MD5 Exclude = yes IgnoreCase = yes # Exclude Mozilla-based programs' file caches WildDir = "[A-Z]:/Documents and Settings/*/Application Data/*/Profiles/*/*/Cache" WildDir = "[A-Z]:/Documents and Settings/*/Application Data/*/Profiles/*/*/Cache.Trash" WildDir = "[A-Z]:/Documents and Settings/*/Application Data/*/Profiles/*/*/ImapMail" # Exclude user's registry files - they're always in use anyway. WildFile = "[A-Z]:/Documents and Settings/*/Local Settings/Application Data/Microsoft/Windows/usrclass.*" WildFile = "[A-Z]:/Documents and Settings/*/ntuser.*" # Exclude directories full of lots and lots of useless little files WildDir = "[A-Z]:/Documents and Settings/*/Cookies" WildDir = "[A-Z]:/Documents and Settings/*/Recent" WildDir = "[A-Z]:/Documents and Settings/*/Local Settings/History" WildDir = "[A-Z]:/Documents and Settings/*/Local Settings/Temp" WildDir = "[A-Z]:/Documents and Settings/*/Local Settings/Temporary Internet Files" # These are always open and unable to be backed up WildFile = "[A-Z]:/Documents and Settings/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat" # Some random bits of Windows we want to ignore WildFile = "[A-Z]:/WINDOWS/security/logs/scepol.log" WildDir = "[A-Z]:/WINDOWS/system32/config" WildDir = "[A-Z]:/WINDOWS/msdownld.tmp" WildDir = "[A-Z]:/WINDOWS/Internet Logs" WildDir = "[A-Z]:/WINDOWS/$Nt*Uninstall*" WildDir = "[A-Z]:/WINDOWS/sysvol" WildFile = "[A-Z]:/WINDOWS/cluster/CLUSDB" WildFile = "[A-Z]:/WINDOWS/cluster/CLUSDB.LOG" WildFile = "[A-Z]:/WINDOWS/NTDS/edb.log" WildFile = "[A-Z]:/WINDOWS/NTDS/ntds.dit" WildFile = "[A-Z]:/WINDOWS/NTDS/temp.edb" WildFile = "[A-Z]:/WINDOWS/ntfrs/jet/log/edb.log" WildFile = "[A-Z]:/WINDOWS/ntfrs/jet/ntfrs.jdb" WildFile = "[A-Z]:/WINDOWS/ntfrs/jet/temp/tmp.edb" WildFile = "[A-Z]:/WINDOWS/system32/CPL.CFG" WildFile = "[A-Z]:/WINDOWS/system32/dhcp/dhcp.mdb" WildFile = "[A-Z]:/WINDOWS/system32/dhcp/j50.log" WildFile = "[A-Z]:/WINDOWS/system32/dhcp/tmp.edb" WildFile = "[A-Z]:/WINDOWS/system32/LServer/edb.log" WildFile = "[A-Z]:/WINDOWS/system32/LServer/TLSLic.edb" WildFile = "[A-Z]:/WINDOWS/system32/LServer/tmp.edb" WildFile = "[A-Z]:/WINDOWS/system32/wins/j50.log" WildFile = "[A-Z]:/WINDOWS/system32/wins/wins.mdb" WildFile = "[A-Z]:/WINDOWS/system32/wins/winstmp.mdb" # Temporary directories & files WildDir = "[A-Z]:/WINDOWS/Temp" WildDir = "[A-Z]:/temp" WildFile = "*.tmp" WildDir = "[A-Z]:/tmp" WildDir = "[A-Z]:/var/tmp" # Recycle bins WildDir = "[A-Z]:/RECYCLER" # Swap files WildFile = "[A-Z]:/pagefile.sys" # These are programs and are easier to reinstall than restore from # backup WildDir = "[A-Z]:/cygwin" WildDir = "[A-Z]:/Program Files/Grisoft" WildDir = "[A-Z]:/Program Files/Java" WildDir = "[A-Z]:/Program Files/Java Web Start" WildDir = "[A-Z]:/Program Files/JavaSoft" WildDir = "[A-Z]:/Program Files/Microsoft Office" WildDir = "[A-Z]:/Program Files/Mozilla Firefox" WildDir = "[A-Z]:/Program Files/Mozilla Thunderbird" WildDir = "[A-Z]:/Program Files/mozilla.org" WildDir = "[A-Z]:/Program Files/OpenOffice*" } # Our Win2k boxen all have C: and D: as the main hard drives. #File = "C:/" #File = "D:/" } } Schedule { Name = "WeeklyCycle" Run = Full 1st sun at 1:05 Run = Differential 2nd-5th sun at 1:05 Run = Incremental mon-sat at 1:05 } # This schedule does the catalog. It starts after the WeeklyCycle Schedule { Name = "WeeklyCycleAfterBackup" Run = Full sun-sat at 1:10 } # This is the backup of the catalog FileSet { Name = "Catalog" Include { Options { signature = MD5 } File = /var/lib/bacula/bacula.sql } } # Client (File Services) to backup Client { Name = able-fd Address = able FDPort = 9102 Catalog = MyCatalog Password = "" # password for FileDaemon File Retention = 30 days # 30 days Job Retention = 6 months # six months AutoPrune = yes # Prune expired Jobs/Files } # Client (File Services) to backup Client { Name = laptop2-fd Address = laptop2 FDPort = 9102 Catalog = MyCatalog Password = "" # password for FileDaemon File Retention = 30 days # 30 days Job Retention = 6 months # six months AutoPrune = yes # Prune expired Jobs/Files } # Definiton of file storage device Storage { Name = File # Do not use "localhost" here Address = able.xxxxxxxxx.xxx # N.B. Use a fully qualified name here SDPort = 9103 Password = "" Device = FileStorage Media Type = File } # Generic catalog service Catalog { Name = MyCatalog dbname = bacula; DB Address = localhost; user = bacula; password = "b4cul4" } Messages { Name = Standard mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r" operatorcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r" mail = [EMAIL PROTECTED] = all, !skipped operator = [EMAIL PROTECTED] = mount console = all, !skipped, !saved append = "/var/lib/bacula/log" = all, !skipped } Messages { Name = Daemon mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r" mail = [EMAIL PROTECTED] = all, !skipped console = all, !skipped, !saved append = "/var/lib/bacula/log" = all, !skipped } # Default pool definition Pool { Name = Default Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # one year Accept Any Volume = yes # write on any volume in the pool } # # Restricted console used by tray-monitor to get the status of the director # Console { Name = able-mon Password = "" CommandACL = status, .status } # ----------------------------------------------------------------------- As you can see it is Bacula 1.36.2 running on Debian 3.1. All the conf files used are the originals, which prior to the database drop and rebuild, were functioning. Cheers, Paul ------------------------------------------------------------------------- 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