[Bacula-users] Verify Job Error
Do you have Incremental in the schedule definition? You probably need a separate schedule for the verify jobs with no Level specified. Great removing the level in the schedule worked. Thanks! +-- |This was sent by ikkysle...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Verify Job Error
I am having some problem with the verify Job. The job always fails when scheduled but if I run the job manually then it works fine. Here is my job: Job #123; nbsp; Name = Backup-Drive1-Verify nbsp; Type = Verify nbsp; Level = Volume To Catalog nbsp; Client = Backup-fd nbsp; FileSet = BackupSet nbsp; Schedule = ScheduleBackupVerify nbsp; Messages = Standard nbsp; Pool = Default nbsp; Storage = Backup-sd nbsp; Verify Job = Backup-Drive1 nbsp; Priority = 11 # Run After Full/Inc. Backup #125; and here is the Console Results: 2010-05-07 23#58;55#58;01 bacula-dir Error#58; Bacula bacula-dir 5.0.1 #40;24Feb10#41;#58; 07-May-2010 23#58;55#58;01 nbsp; Build#58;nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; x86_64-unknown-linux-gnu ubuntu 9.10 nbsp; JobId#58;nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; 155 nbsp; Job#58;nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; Backup-Drive2-Verify.2010-05-07_23.55.00_21 nbsp; FileSet#58;nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; BackupSet nbsp; Verify Level#58;nbsp; nbsp; nbsp; nbsp; nbsp; nbsp;Incremental nbsp; Client#58;nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp;Backup-fd nbsp; Verify JobId#58;nbsp; nbsp; nbsp; nbsp; nbsp; nbsp;0 nbsp; Verify Job#58;nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp;Backup-Drive2 nbsp; Start time#58;nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp;07-May-2010 23#58;55#58;00 nbsp; End time#58;nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp;07-May-2010 23#58;55#58;01 nbsp; Files Examined#58;nbsp; nbsp; nbsp; nbsp; nbsp;0 nbsp; Non-fatal FD errors#58;nbsp; nbsp; 0 nbsp; FD termination status#58;nbsp; nbsp; Termination#58;nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; *** Verify Error *** Fatal error#58; verify.c#58;88 Unimplemented Verify level 73#40;I#41; For some reason the Verify Level is being set to Incremental. Do I need to specify Verify Level = Volume To Catalog ? Is this a bug in 5.0.1? Thanks! +-- |This was sent by ikkysle...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula Using Incr. Vol. instead of Full Vol.
How did you run it? If you used then console, then you will need to set the pool manually by using mod at the OK to run? prompt. Thanks for your help, but I figured it out. I had to add these two lines to the Job: nbsp; Full Backup Pool = FullBackup nbsp; Incremental Backup Pool = IncBackup And if you want to know the job ran as an Incremental, but since it was its first job it had to do a Full backup. Thanks! +-- |This was sent by ikkysle...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula Mirror or Rsync?
Can you do a Mirror with Bacula? I am trying to Sync X Folder on PC #1 to PC# 2. PC #1 has FD and PC #2 does not but I can use a local PC with a FD to access PC#1 (NAS Device). Right now we have an rsync that takes forever to complete because the task is being done over the VPN and we have a lot of changes each day. So can I accomplish this with Bacula? If not, I plan on making a simple local rsyc + tar to compress the changes and then transfer 1 file over the VPN and then extract the files and overwrite everything. Thanks! +-- |This was sent by ikkysle...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula Using Incr. Vol. instead of Full Vol.
A Full Backup was run but it looks like Incremental Vol. was used instead of the Full Vol. Here is what happened: --- 11G 2010-04-22 21:12 FullBackup0014 56G 2010-04-24 01:31 IncBackup0013 56G 2010-04-24 02:35 IncBackup0017 56G 2010-04-24 03:39 IncBackup0018 56G 2010-04-24 04:45 IncBackup0019 56G 2010-04-24 05:49 IncBackup0020 56G 2010-04-24 06:58 IncBackup0021 56G 2010-04-24 07:52 IncBackup0022 54G 2010-04-24 08:56 IncBackup0023 total 456G --- I was expecting the results to be like so: --- 456G 2010-04-22 21:12 FullBackup0014 0G 2010-04-24 01:31 IncBackup0013 total 456G --- Here are my settings: Job #123; nbsp; Name = Backup-Drive1 nbsp; Enabled = yes nbsp; Client = Backup-fd nbsp; FileSet = BackupSet nbsp; Schedule = ScheduleBackup nbsp; Write Bootstrap = /var/bacula/working/%n.bsr nbsp; Pool = IncrBackup nbsp; Storage = Backup-sd nbsp; Type = Backup nbsp; Level = Incremental nbsp; Priority = 10 nbsp; Messages = Standard nbsp; # Enable/Disable Jobs if USB Drive #1 is mounted nbsp; Run Script #123; nbsp; nbsp; nbsp; Runs When = Before nbsp; nbsp; nbsp; Runs on Client = Yes nbsp; nbsp; nbsp; Fail Job On Error = Yes nbsp; nbsp; nbsp; Command = /etc/bacula/check_usb_drives.sh nbsp; #125; #125; Schedule #123; nbsp; Name = ScheduleBackup nbsp; # Run incremental on m-f nbsp; Run = Level=Incremental mon-fri at 23#58;55 nbsp; # Run Full backup on 1st sat of each quarter nbsp; Run = Level=Full Pool=FullBackup on jan 1st sat at 23#58;00 nbsp; Run = Level=Full Pool=FullBackup on apr 1st sat at 23#58;00 nbsp; Run = Level=Full Pool=FullBackup on jul 1st sat at 23#58;00 nbsp; Run = Level=Full Pool=FullBackup on oct 1st sat at 23#58;00 #125; # Full pool definition Pool #123; nbsp; Name = FullBackup nbsp; Pool Type = Backup nbsp; Recycle = yes nbsp; AutoPrune = yes nbsp; Volume Retention =nbsp; 3 months nbsp; LabelFormat = FullBackup nbsp; Volume Use Duration = 3 months nbsp; Maximum Volume Jobs = 1 nbsp; Maximum Volume Bytes = 650GB #125; # Incremental pool definition Pool #123; nbsp; Name = IncrBackup nbsp; Pool Type = Backup nbsp; Recycle = yes nbsp; AutoPrune = yes nbsp; Volume Retention =nbsp; 4 weeks nbsp; LabelFormat = IncBackup nbsp; Volume Use Duration = 3nbsp; months nbsp; Maximum Volume Jobs = 60 nbsp; Maximum Volume Bytes = 60GB #125; +-- |This was sent by ikkysle...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula Full/Inc Questions (Noob)
Er, eek?!? I was mentioning RAID 0 as an absolute last resort can't-afford-anything-else option. You realize that RAID 0 *masively* increases the chance of total loss of data across the entire array if one drive develops a fault, right? It's not just chance_of_disk_failure * n drives either - the chance of any one drive in a set failing is much larger, since you're really computing the chance of *no* disk in the set failing. Because RAID 0 stripes data, if you lose one disk you lose all data in the array. The absolute minimum I'd ever consider is a RAID 5 array - and for more than about six disks, that gets pretty dangerous too and I switch to RAID 6 for anything important. If you must use RAID 0, you need to have regular S.M.A.R.T testing running on the drives to detect media errors - so you need smartd configured and running. You should have that on any RAIDed server anyway, but it's utterly crucial for risky RAID 0 setups. You also need to know that if tomorrow all that data is gone, you don't actually mind. Well, I thought the server was setup with Raid 0, then I thought for sure it was Raid1, either way looks like the server is not setup correctly, according to cat /proc/mdstat So either a drive failed or the server was never setup correctly. So RAID 5 or 6, huh? I'm looking into it. We do have 3 different full backups, but wouldn't want to start using them. OK, that would've been good to know. You want to manage volumes quite differently if you're using removable HDDs. Oh yeah, how so? 2 Volumes per external hdd is not a good idea? Or is the problem more of mounting and unmounting the drives each week via a script? We seldom restore files and 8/10 files needing restoring are from the previous day. We have a mirror backup that I use restore the files, so incremental backups are fine for us. Thanks again for all your help, it is greatly appreciated. +-- |This was sent by ikkysle...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula Full/Inc Questions (Noob)
mehma sarja wrote: Your experience will vary, I am used to seeing 20 GB/hour with batch processing and compression turned on. Lots of small files - so heavy database usage on a store of about 750 GB. I'd suppose you would see your job done in 10 hours. Is this for a network backup or internal storage or external storage? Thanks! +-- |This was sent by ikkysle...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula Full/Inc Questions (Noob)
1) When making a Full backup, does this replace the expired backup or will this create a new Volume on the drive? Depends on your pool configuration. In most setups it'll recycle an older volume that's outside its retention period. See the bacula documentation. I guess I am not sure if a Full backup will override the existing backup. Does a full backup override only retired backups? So does this mean I have to set the volume to expire in 3 months and schedule a full job in 3 months + 1 day? What I don't want is to have a second volume created because the drive is only 1TB and another full backup + existing incrementals will exceed the capacity. 2) Can you force the Full backup to expire on a weekend? Why would you want to? I want to force the job to run on weekends because I don't know if 6 hours will be enough to backup 400 GB, M-F. +-- |This was sent by ikkysle...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula Full/Inc Questions (Noob)
Hi, I have two external backup drives that I want to incorporate using Bacula, but have some questions: 1) When making a Full backup, does this replace the expired backup or will this create a new Volume on the drive? 2) Can you force the Full backup to expire on a weekend? 3) Will auto-pruning prune the oldest incremental? 4) I read that having many incremental backups, like I plan on having will make the restoring of files slow compared to a diff, can someone confirm this? Here is my planed setup: Source: ~460 GB (M-F) Daily Changes: ~0.5-2 GB Backup Drive #1 size: 1 TB Backup Drive #2 size: 1 TB Schedule: Week #1 Drive #1, run Full Backup (Expire in 3 months) on a weekend Drive #1, run daily Incremental backup M-F for Week Week #2 Drive #2, run Full Backup (Expire in 3 months) on a weekend Take Drive #1 home on Monday Drive #2, run daily Incremental backup M-F for Week Week #3 Take Drive #2 home on Monday Drive #1, run daily Incremental backup M-F for Week Week #4 Take Drive #1 home on Monday Drive #2, run daily Incremental backup M-F for Week . . . The purpose of the two drives is to have at least one week of data off-site, plus weeks worth of incrementals. Thanks, +-- |This was sent by ikkysle...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula for disk drives Help
I installed 5.0.1 using this documentation: http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg40959.html The BAT connected to Bacula but the Director Status is not working :( The test backup is still not working Here is all the status: status Select daemon type for status (1-4): BaculaServer-dir Version: 5.0.1 (24 February 2010) x86_64-unknown-linux-gnu ubuntu 9.10 Daemon started 06-Apr-10 14:22, 0 Jobs run since started. Heap: heap=270,336 smbytes=112,998 max_bytes=155,703 bufs=334 max_bufs=341 Incremental Backup 10 06-Apr-10 23:05 BackupClient1 *unknown* FullBackup 11 06-Apr-10 23:10 BackupCatalog *unknown* 11 FullBackupClient1.2010-04-06_14.24.52_07is waiting for an appendable Volume 3 Full 00 Error 06-Apr-10 13:59 BackupCatalog 4 Full 00 Error 06-Apr-10 14:00 BackupCatalog BaculaServer-sd Version: 5.0.1 (24 February 2010) x86_64-unknown-linux-gnu ubuntu 9.10 Daemon started 06-Apr-10 14:22, 0 Jobs run since started. Heap: heap=413,696 smbytes=155,228 max_bytes=155,228 bufs=95 max_bufs=96 Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 Running Jobs: Writing: Full Backup job BackupClient1 JobId=11 Volume= pool=File device=FileStorage (/bacula) spooling=0 despooling=0 despool_wait=0 Files=0 Bytes=0 Bytes/sec=0 FDReadSeqNo=6 in_msg=6 out_msg=4 fd=5 Jobs waiting to reserve a drive: Terminated Jobs: JobId LevelFiles Bytes Status FinishedName === 3 Full 0 0 Cancel 06-Apr-10 13:59 BackupCatalog 4 Full 0 0 Cancel 06-Apr-10 14:00 BackupCatalog 5 Full 0 0 Cancel 06-Apr-10 14:05 BackupCatalog 6 Full 0 0 Cancel 06-Apr-10 14:15 BackupCatalog 9 Full 0 0 Cancel 06-Apr-10 14:22 BackupClient1 Device status: Device FileStorage (/bacula) is not open. Device is BLOCKED waiting to create a volume for: Pool:File Media type: File Used Volume status: BaculaServer-fd Version: 5.0.1 (24 February 2010) x86_64-unknown-linux-gnu ubuntu 9.10 Daemon started 06-Apr-10 14:22, 0 Jobs run since started. Heap: heap=270,336 smbytes=20,024 max_bytes=20,171 bufs=82 max_bufs=83 Sizeof: boffset_t=8 size_t=8 debug=0 trace=0 Running Jobs: JobId 11 Job BackupClient1.2010-04-06_14.24.52_07 is running. Full Backup Job started: 06-Apr-10 14:25 Files=0 Bytes=0 Bytes/sec=0 Errors=0 Files Examined=0 SDReadSeqNo=5 fd=5 Director connected at: 06-Apr-10 14:29 Terminated Jobs: +-- |This was sent by ikkysle...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula for disk drives Help
Thanks for you help. I made a new VM of Ubuntu and followed the steps I listed and then everything works fine now. The problem seems it was with the Postgresql, so I read on a different forum. Anyways, I got Bacula Web Working and the default jobs run, too. The Director Status are still not showing up, but I think I have to re-install the windows BAT and see if that works. Hey, can you tell me if this is possible to search for particular files in the backup? Thanks! +-- |This was sent by ikkysle...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula for disk drives Help
Here is my Bacula-Director config # # Default Bacula Director Configuration file # #nbsp; The only thing that MUST be changed is to add one or more #nbsp; nbsp;file or directory names in the Include directive of the #nbsp; nbsp;FileSet resource. # #nbsp; For Bacula release 2.4.4 #40;28 December 2008#41; -- debian squeeze/sid # #nbsp; You might also want to change the default email address #nbsp; nbsp;from root to your address.nbsp; See the mail and operator #nbsp; nbsp;directives in the Messages resource. # Director #123;nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # define myself nbsp; Name = BackupServer-dir nbsp; DIRport = 9101nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # where we listen for UA connections nbsp; QueryFile = /etc/bacula/scripts/query.sql nbsp; WorkingDirectory = /var/lib/bacula nbsp; PidDirectory = /var/run/bacula nbsp; Maximum Concurrent Jobs = 1 nbsp; Password = btestnbsp; nbsp; nbsp; nbsp; nbsp;# Console password nbsp; Messages = Daemon nbsp; #DirAddress = 127.0.0.1 #125; JobDefs #123; nbsp; Name = DefaultJob nbsp; Type = Backup nbsp; Level = Incremental nbsp; Client = BackupServer-fd nbsp; FileSet = Full Set nbsp; Schedule = WeeklyCycle nbsp; Storage = File nbsp; Messages = Standard nbsp; Pool = Default nbsp; Priority = 10 #125; # # Define the main nightly save backup job #nbsp; nbsp;By default, this job will back up to disk in /nonexistant/path/to/file/archi ve/dir Job #123; nbsp; Name = Client1 nbsp; JobDefs = DefaultJob nbsp; Write Bootstrap = /var/lib/bacula/Client1.bsr #125; # Include below all yours jobs configuration files #40;remember add '@' at beginning#41; @/etc/bacula/conf.d/test.conf #Job #123; #nbsp; Name = Client2 #nbsp; Client = BackupServer2-fd #nbsp; JobDefs = DefaultJob #nbsp; Write Bootstrap = /var/lib/bacula/Client2.bsr ##125; # Backup the catalog database #40;after the nightly save#41; Job #123; nbsp; Name = BackupCatalog nbsp; JobDefs = DefaultJob nbsp; Level = Full nbsp; FileSet=Catalog nbsp; Schedule = WeeklyCycleAfterBackup nbsp; # This creates an ASCII copy of the catalog nbsp; # nbsp; # WARNING!!! Passing the password via the command line is insecure. nbsp; # see comments in make_catalog_backup for details. nbsp; # Arguments to make_catalog_backup are#58; nbsp; #nbsp; make_catalog_backup database-name user-name password host nbsp; # nbsp; # Ubuntu uses make_catalog_backup_awk script for nbsp; # security reasons nbsp; # Replace CatalogName with the real Catalog name nbsp; # nbsp; RunBeforeJob = /usr/bin/awk -f /etc/bacula/scripts/make_catalog_backup_awk -v nbsp;cat1=CatalogName /etc/bacula/bacula-dir.conf nbsp; # This deletes the copy of the catalog nbsp; RunAfterJobnbsp; = /etc/bacula/scripts/delete_catalog_backup nbsp; Write Bootstrap = /var/lib/bacula/BackupCatalog.bsr nbsp; Priority = 11nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp;# run after main backup #125; # # Standard Restore template, to be changed by Console program #nbsp; Only one such job is needed for all Jobs/Clients/Storage ... # Job #123; nbsp; Name = RestoreFiles nbsp; Type = Restore nbsp; Client=BackupServer-fdnbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; FileSet=Full Setnbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; Storage = Filenbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; Pool = Default nbsp; Messages = Standard nbsp; Where = /nonexistant/path/to/file/archive/dir/bacula-restores #125; # List of files to be backed up FileSet #123; nbsp; Name = Full Set nbsp; Include #123; nbsp; nbsp; Options #123; nbsp; nbsp; nbsp; signature = MD5 nbsp; nbsp; #125; #nbsp; nbsp; #nbsp; Put your list of files here, preceded by 'File =', one per line #nbsp; nbsp; or include an external list with#58; # #nbsp; nbsp; File = file-name # #nbsp; Note#58; / backs up everything on the root partition. #nbsp; nbsp; if you have other partitons such as /usr or /home #nbsp; nbsp; you will probably want to add them too. # #nbsp; By default this is defined to point to the Bacula build #nbsp; nbsp; directory to give a reasonable FileSet to backup to #nbsp; nbsp; disk storage during initial testing. # nbsp; nbsp; File = /build/buildd/bacula-2.4.4/debian/tmp-build-sqlite nbsp; #125; # # If you backup the root directory, the following two excluded #nbsp; nbsp;files can be useful # nbsp; Exclude #123; nbsp; nbsp; File = /proc nbsp; nbsp; File = /tmp nbsp; nbsp; File = /.journal nbsp; nbsp; File = /.fsck nbsp; #125; #125; # # When to do the backups, full backup on first sunday of the month, #nbsp; differential #40;i.e. incremental since full#41; every other sunday, #nbsp; and incremental backups other days Schedule #123; nbsp; Name = WeeklyCycle nbsp; Run = Full 1st sun at 23#58;05 nbsp; Run = Differential 2nd-5th sun at 23#58;05 nbsp; Run = Incremental mon-sat at 23#58;05 #125; # This schedule does the catalog. It starts after the WeeklyCycle Schedule #123; nbsp; Name =
[Bacula-users] Bacula for disk drives Help
Here is my Bacula-Director config # # Default Bacula Director Configuration file # #nbsp; The only thing that MUST be changed is to add one or more #nbsp; nbsp;file or directory names in the Include directive of the #nbsp; nbsp;FileSet resource. # #nbsp; For Bacula release 2.4.4 #40;28 December 2008#41; -- debian squeeze/sid # #nbsp; You might also want to change the default email address #nbsp; nbsp;from root to your address.nbsp; See the mail and operator #nbsp; nbsp;directives in the Messages resource. # Director #123;nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # define myself nbsp; Name = BackupServer-dir nbsp; DIRport = 9101nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # where we listen for UA connections nbsp; QueryFile = /etc/bacula/scripts/query.sql nbsp; WorkingDirectory = /var/lib/bacula nbsp; PidDirectory = /var/run/bacula nbsp; Maximum Concurrent Jobs = 1 nbsp; Password = btestnbsp; nbsp; nbsp; nbsp; nbsp;# Console password nbsp; Messages = Daemon nbsp; #DirAddress = 127.0.0.1 #125; JobDefs #123; nbsp; Name = DefaultJob nbsp; Type = Backup nbsp; Level = Incremental nbsp; Client = BackupServer-fd nbsp; FileSet = Full Set nbsp; Schedule = WeeklyCycle nbsp; Storage = File nbsp; Messages = Standard nbsp; Pool = Default nbsp; Priority = 10 #125; # # Define the main nightly save backup job #nbsp; nbsp;By default, this job will back up to disk in /nonexistant/path/to/file/archi ve/dir Job #123; nbsp; Name = Client1 nbsp; JobDefs = DefaultJob nbsp; Write Bootstrap = /var/lib/bacula/Client1.bsr #125; # Include below all yours jobs configuration files #40;remember add '@' at beginning#41; @/etc/bacula/conf.d/test.conf #Job #123; #nbsp; Name = Client2 #nbsp; Client = BackupServer2-fd #nbsp; JobDefs = DefaultJob #nbsp; Write Bootstrap = /var/lib/bacula/Client2.bsr ##125; # Backup the catalog database #40;after the nightly save#41; Job #123; nbsp; Name = BackupCatalog nbsp; JobDefs = DefaultJob nbsp; Level = Full nbsp; FileSet=Catalog nbsp; Schedule = WeeklyCycleAfterBackup nbsp; # This creates an ASCII copy of the catalog nbsp; # nbsp; # WARNING!!! Passing the password via the command line is insecure. nbsp; # see comments in make_catalog_backup for details. nbsp; # Arguments to make_catalog_backup are#58; nbsp; #nbsp; make_catalog_backup database-name user-name password host nbsp; # nbsp; # Ubuntu uses make_catalog_backup_awk script for nbsp; # security reasons nbsp; # Replace CatalogName with the real Catalog name nbsp; # nbsp; RunBeforeJob = /usr/bin/awk -f /etc/bacula/scripts/make_catalog_backup_awk -v nbsp;cat1=CatalogName /etc/bacula/bacula-dir.conf nbsp; # This deletes the copy of the catalog nbsp; RunAfterJobnbsp; = /etc/bacula/scripts/delete_catalog_backup nbsp; Write Bootstrap = /var/lib/bacula/BackupCatalog.bsr nbsp; Priority = 11nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp;# run after main backup #125; # # Standard Restore template, to be changed by Console program #nbsp; Only one such job is needed for all Jobs/Clients/Storage ... # Job #123; nbsp; Name = RestoreFiles nbsp; Type = Restore nbsp; Client=BackupServer-fdnbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; FileSet=Full Setnbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; Storage = Filenbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; Pool = Default nbsp; Messages = Standard nbsp; Where = /nonexistant/path/to/file/archive/dir/bacula-restores #125; # List of files to be backed up FileSet #123; nbsp; Name = Full Set nbsp; Include #123; nbsp; nbsp; Options #123; nbsp; nbsp; nbsp; signature = MD5 nbsp; nbsp; #125; #nbsp; nbsp; #nbsp; Put your list of files here, preceded by 'File =', one per line #nbsp; nbsp; or include an external list with#58; # #nbsp; nbsp; File = file-name # #nbsp; Note#58; / backs up everything on the root partition. #nbsp; nbsp; if you have other partitons such as /usr or /home #nbsp; nbsp; you will probably want to add them too. # #nbsp; By default this is defined to point to the Bacula build #nbsp; nbsp; directory to give a reasonable FileSet to backup to #nbsp; nbsp; disk storage during initial testing. # nbsp; nbsp; File = /build/buildd/bacula-2.4.4/debian/tmp-build-sqlite nbsp; #125; # # If you backup the root directory, the following two excluded #nbsp; nbsp;files can be useful # nbsp; Exclude #123; nbsp; nbsp; File = /proc nbsp; nbsp; File = /tmp nbsp; nbsp; File = /.journal nbsp; nbsp; File = /.fsck nbsp; #125; #125; # # When to do the backups, full backup on first sunday of the month, #nbsp; differential #40;i.e. incremental since full#41; every other sunday, #nbsp; and incremental backups other days Schedule #123; nbsp; Name = WeeklyCycle nbsp; Run = Full 1st sun at 23#58;05 nbsp; Run = Differential 2nd-5th sun at 23#58;05 nbsp; Run = Incremental mon-sat at 23#58;05 #125; # This schedule does the catalog. It starts after the WeeklyCycle Schedule #123; nbsp; Name =
[Bacula-users] Bacula for disk drives Help
Can someone point me out to with some examples of Bacula that DO NOT use tape drive as storage? I tried already to set this up and have failed many times. I have bacula director running and bacula-fd and bacula-sd and tried to configure the storage to run the default jobs, but they always fail and the GUI crashes on windows. I tried the sample files that have a job and task, which almost seems to work... it looks like the job is running but when I check the status by looking at the mount I get: Connecting to Storage daemon File at BackupServer:9103 BackupServer-sd Version: 2.4.4 (28 December 2008) x86_64-pc-linux-gnu debian squeeze/sid Daemon started 02-Apr-10 18:32, 0 Jobs run since started. Heap: heap=323,584 smbytes=152,472 max_bytes=152,666 bufs=88 max_bufs=90 Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 Running Jobs: Writing: Full Backup job Test.2010-04-02_18 JobId=39 Volume=FullTest0001 pool=FullTest device=FileStorage (/bacula) spooling=0 despooling=0 despool_wait=0 Files=0 Bytes=0 Bytes/sec=0 FDReadSeqNo=6 in_msg=6 out_msg=4 fd=6 Jobs waiting to reserve a drive: Terminated Jobs: Device status: Device FileStorage (/bacula) is not open. Device is BLOCKED waiting for mount of volume FullTest0001, Pool:FullTest Media type: File Used Volume status: This is my bacula-sd: Device { Name = FileStorage Media Type = File Archive Device = /bacula LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = yes; Device Type = File } Here is the Job: Job { Name = Test Enabled = no Client = BackupServer-fd FileSet = FileSetTest Schedule = ScheduleTest Write Bootstrap = /var/bacula/Test.bsr Full Backup Pool = FullTest Incremental Backup Pool = IncrTest Differential Backup Pool = DiffTest Storage = File Type = Backup Level = Incremental Pool = Default Priority = 10 Messages = Standard } The /bacula directory is 777 just to test it out. Any help would be greatly appreciated. Thanks! +-- |This was sent by ikkysle...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users