I am trying to setup the wx-console.conf for a Windows client. I need to make it so it can ONLY see/restore it's info. I have setup a pool and fileset ONLY for it. I've cut and pasted the respective files below.
*Please Note* This is a demo system for my client and so the passwords are NOT being used, so please no emails about my pw's. These will not be used in the production systems. Problem: When I add the restricted console name and password to the wx-console.conf file, I get the generic "Access Errors" message noting that the passwords may not match. Any Suggestions? TIA, Roy Bacula Server: bacula-dir.conf Director { # define myself Name = lugosi-dir DIRport = 9101 # where we listen for UA connections QueryFile = "/etc/bacula/query.sql" WorkingDirectory = "/var/bacula/working" PidDirectory = "/var/run" Maximum Concurrent Jobs = 1 Password = "eLp557ODAV/eA/zimQLgAXtFX6CY4bVrab1MnoIObYVe" # Console password Messages = Daemon } JobDefs { Name = "DefaultJob" Type = Backup Level = Incremental Client = lugosi-fd FileSet = "Full Set" Schedule = "WeeklyCycle" Storage = File Messages = Standard Pool = Default Priority = 10 } # Windows Test Job JobDefs { Name = "WindowsTestJob" Type = Backup Level = Incremental Client = Client2 FileSet = "Windows Set" Schedule = "WeeklyCycle" Storage = File Messages = Standard Pool = Client2 Priority = 10 } # Windows FileSet FileSet { Name = "Windows Set" Include { File = "c:/temp" } } # # Define the main nightly save backup job # By default, this job will back up to disk in /tmp Job { Name = "Client1" JobDefs = "DefaultJob" Write Bootstrap = "/var/bacula/working/Client1.bsr" } # Windows Job define Job { Name = "Client2" JobDefs = "WindowsTestJob" Write Bootstrap = "/var/bacula/working/Client2.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/make_catalog_backup bacula bacula" # This deletes the copy of the catalog RunAfterJob = "/etc/bacula/delete_catalog_backup" Write Bootstrap = "/var/bacula/working/BackupCatalog.bsr" Priority = 11 # run after main backup } # # Standard Restore template, to be changed by Console program # Only one such job is needed for all Jobs/Clients/Storage ... # Job { Name = "RestoreFiles" Type = Restore Client=lugosi-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 = /root/bacula-1.38.11 } Exclude { File = /proc File = /tmp File = /.journal File = /.fsck } } Schedule { Name = "WeeklyCycle" Run = Full 1st sun at 23:05 Run = Differential 2nd-5th sun at 23:05 Run = Incremental mon-sat at 23:05 } Schedule { Name = "WeeklyCycleAfterBackup" Run = Full sun-sat at 23:10 } FileSet { Name = "Catalog" Include { Options { signature = MD5 } File = /var/bacula/working/bacula.sql } } # Client (File Services) to backup Client { Name = lugosi-fd Address = lugosi FDPort = 9102 Catalog = MyCatalog Password = "rUJ9xwQFOIY8nTuVxebsa+/AnXoJkeDJJEd4R+d+VEe4" # password for FileDaemon File Retention = 30 days # 30 days Job Retention = 6 months # six months AutoPrune = yes # Prune expired Jobs/Files } # Windows Client Defined Client { Name = Client2 Address = 192.168.1.2 FDPort = 9102 Catalog = MyCatalog Password = "81IprglUMSWuSa9oPI/TX6YW0Ov1ztETnJmzB5fvuYxB" # password for FileDaemon 2 File Retention = 30 days # 30 days Job Retention = 6 months # six months AutoPrune = yes # Prune expired Jobs/Files } # Definition of file storage device Storage { Name = File # Do not use "localhost" here Address = lugosi # N.B. Use a fully qualified name here SDPort = 9103 Password = "mAHttTP7cFH/M0AHeHxDXgQCZBNmdU5X9xdfdQFPjeNE" Device = FileStorage Media Type = File } # Generic catalog service Catalog { Name = MyCatalog dbname = bacula; user = bacula; password = "" } Messages { Name = Standard mailcommand = "/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r" operatorcommand = "/sbin/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/bacula/working/log" = all, !skipped } # # Message delivery for daemon messages (no job). Messages { Name = Daemon mailcommand = "/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r" mail = [EMAIL PROTECTED] = all, !skipped console = all, !skipped, !saved append = "/var/bacula/working/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 } # Client2 pool definition Pool { Name = Client2 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 = lugosi-mon Password = "Ld31355aTkvexdvrUfoSF7i4/W8NbsbfavBm2m4535GI" CommandACL = status, .status PoolACL = Default JobACL = "Client1", "RestoreFiles" } Console { Name = client-mon Password = "Br549" CommandACL = status, .status PoolACL = Client2 JobACL = "Client2", "RestoreFiles" FileSetACL = "Windows Set" } ------------------------------------------- Client FileDaemon: bacula-fd.conf FileDaemon { # this is me Name = client-mon FDport = 9102 # where we listen for the director WorkingDirectory = "C:\\Documents and Settings\\All Users\\Application Data\\Bacula\\Work" Pid Directory = "C:\\Documents and Settings\\All Users\\Application Data\\Bacula\\Work" Maximum Concurrent Jobs = 2 } # # List Directors who are permitted to contact this File daemon # Director { Name = lugosi-dir Password = "eLp557ODAV/eA/zimQLgAXtFX6CY4bVrab1MnoIObYVe" } # # Restricted Director, used by tray-monitor to get the # status of the file daemon # Director { Name = lugosi-dir Password = "eLp557ODAV/eA/zimQLgAXtFX6CY4bVrab1MnoIObYVe" Monitor = yes } # Send all messages except skipped files back to Director Messages { Name = Standard director = lugosi-dir = all, !skipped, !restored } ----------------------------- Client wx-console.conf Director { Name = lugosi-dir DIRport = 9101 address = 192.168.1.1 Password = "eLp557ODAV/eA/zimQLgAXtFX6CY4bVrab1MnoIObYVe" } Console ( Name = client-mon Password = "Br549" } ------------------------------------------------------------------------- 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