Hi all! Following situation:
I'm recreating the bacula-db, labeling a new volume( File-based), starting a Full backup of a client. It works. (JobID=1) After that, i start an Incremental Backup - but Bacula makes a Full backup again (telling me "No prior Full backup Job record found.") (JobID=2) After this, i start an Incremental Backup again - and it works! (JobID=3) So, bacula doesn't see the Full-Backup-job (JobID 1), as i understand it. Of course, it can't be a bacula error, or many people would compy about such thing. This must be an error in my config. (On the other side, if i start as the first job an incremental backup, then bacula upgrades it to a full-backup. That's correct. And when i make after then as a second job an incremental backup again - it works correctly - the second job is done as expected as an incremental!) Please help me find it, i'm totally frustrated cannot find this error.... Thanks in advance! Here the complete console log: #<ConsoleLog>####################### backupserver:/etc/bacula# bash rebuild Database "bacula" dropped Creation of Bacula MySQL tables succeeded. Restarting Bacula Director: bacula-dir. backupserver:/etc/bacula# bconsole Connecting to Director backupserver:9101 1000 OK: backupserver-dir Version: 2.2.5 (09 October 2007) Enter a period to cancel a command. *label Automatically selected Catalog: MyCatalog Using Catalog "MyCatalog" The defined Storage resources are: 1: File 2: msl2024 Select Storage resource (1-2): 1 Enter new Volume name: test4 Defined Pools: 1: MonthlyBackups 2: WeeklyBackups 3: DailyBackups 4: Test3pool 5: Testpool4 6: RestorePool Select the Pool (1-6): 5 Connecting to Storage daemon File at backupserver:9103 ... Sending label command for Volume "test4" Slot 0 ... 3000 OK label. VolBytes=227 DVD=0 Volume="test4" Device="FileStorage" (/backup/bacula/volumes) Catalog record for Volume "test4", Slot 0 successfully created. Requesting to mount FileStorage ... 3906 File device "FileStorage" (/backup/bacula/volumes) is always mounted. *run A job name must be specified. The defined Job resources are: 1: testserver daily incremental backup 2: testserver weekly full backup 3: testserver monthly full backup 4: testserver test completely full backup 5: testserver inc test 6: testserver full test Select Job resource (1-11): 6 Run Backup job JobName: testserver full test Level: Full Client: testserver FileSet: testserver fileset Pool: Testpool4 (From Job resource) Storage: File (From Pool resource) When: 2007-12-11 14:54:19 Priority: 10 OK to run? (yes/mod/no): Job queued. JobId=1 *autodisplay on 11-Dec 14:54 backupserver-dir JobId 1: BeforeJob: run command "/etc/bacula/scripts/create-bootstrap-dir testserver" 11-Dec 14:54 backupserver-dir JobId 1: Start Backup JobId 1, Job=testserver_full_test.2007-12-11_14.54.03 11-Dec 14:54 backupserver-dir JobId 1: Using Device "FileStorage" 11-Dec 14:54 backupserver-sd JobId 1: Wrote label to prelabeled Volume "test4" on device "FileStorage" (/backup/bacula/volumes) 11-Dec 14:54 backupserver-sd JobId 1: Spooling data ... * 11-Dec 14:55 backupserver-sd JobId 1: Despooling elapsed time = 00:00:41, Transfer rate = 65.88 M bytes/second 11-Dec 14:55 backupserver-sd JobId 1: Sending spooled attrs to the Director. Despooling 463,822 bytes ... 11-Dec 14:55 backupserver-dir JobId 1: Bacula backupserver-dir 2.2.5 (09Oct07): 11-Dec-2007 14:55:32 Build OS: x86_64-pc-linux-gnu debian 4.0 JobId: 1 Job: testserver_full_test.2007-12-11_14.54.03 Backup Level: Full Client: "testserver" 2.2.5 (09Oct07) x86_64-pc-linux-gnu,debian,4.0 FileSet: "testserver fileset" 2007-12-11 14:54:21 Pool: "Testpool4" (From Job resource) Storage: "File" (From Pool resource) Scheduled time: 11-Dec-2007 14:54:19 Start time: 11-Dec-2007 14:54:23 End time: 11-Dec-2007 14:55:32 Elapsed time: 1 min 9 secs Priority: 10 FD Files Written: 1,903 SD Files Written: 1,903 FD Bytes Written: 2,698,461,020 (2.698 GB) SD Bytes Written: 2,698,678,470 (2.698 GB) Rate: 39108.1 KB/s Software Compression: None VSS: no Encryption: no Volume name(s): test4 Volume Session Id: 40 Volume Session Time: 1197366564 Last Volume Bytes: 2,700,725,771 (2.700 GB) Non-fatal FD errors: 0 SD Errors: 0 FD termination status: OK SD termination status: OK Termination: Backup OK 11-Dec 14:55 backupserver-dir JobId 1: Begin pruning Jobs. 11-Dec 14:55 backupserver-dir JobId 1: No Jobs found to prune. 11-Dec 14:55 backupserver-dir JobId 1: Begin pruning Files. 11-Dec 14:55 backupserver-dir JobId 1: No Files found to prune. 11-Dec 14:55 backupserver-dir JobId 1: End auto prune. *run A job name must be specified. The defined Job resources are: 1: testserver daily incremental backup 2: testserver weekly full backup 3: testserver monthly full backup 4: testserver test completely full backup 5: testserver inc test 6: testserver full test Select Job resource (1-11): 5 Run Backup job JobName: testserver inc test Level: Incremental Client: testserver FileSet: testserver fileset Pool: Testpool4 (From Job resource) Storage: File (From Pool resource) When: 2007-12-11 14:57:55 Priority: 10 OK to run? (yes/mod/no): Job queued. JobId=2 11-Dec 14:57 backupserver-dir JobId 2: No prior Full backup Job record found. 11-Dec 14:57 backupserver-dir JobId 2: No prior or suitable Full backup found in catalog. Doing FULL backup. * 11-Dec 14:57 backupserver-dir JobId 2: BeforeJob: run command "/etc/bacula/scripts/create-bootstrap-dir testserver" 11-Dec 14:57 backupserver-dir JobId 2: Start Backup JobId 2, Job=testserver_inc_test.2007-12-11_14.57.04 11-Dec 14:57 backupserver-dir JobId 2: Using Device "FileStorage" 11-Dec 14:57 backupserver-sd JobId 2: Volume "test4" previously written, moving to end of data. 11-Dec 14:57 backupserver-sd JobId 2: Ready to append to end of Volume "test4" size=2700725771 11-Dec 14:57 backupserver-sd JobId 2: Spooling data ... 11-Dec 14:58 backupserver-sd JobId 2: Job write elapsed time = 00:00:24, Transfer rate = 112.4 M bytes/second 11-Dec 14:58 backupserver-sd JobId 2: Committing spooled data to Volume "test4". Despooling 2,701,273,212 bytes ... * 11-Dec 14:59 backupserver-sd JobId 2: Despooling elapsed time = 00:00:46, Transfer rate = 58.72 M bytes/second 11-Dec 14:59 backupserver-sd JobId 2: Sending spooled attrs to the Director. Despooling 460,889 bytes ... 11-Dec 14:59 backupserver-dir JobId 2: Bacula backupserver-dir 2.2.5 (09Oct07): 11-Dec-2007 14:59:12 Build OS: x86_64-pc-linux-gnu debian 4.0 JobId: 2 Job: testserver_inc_test.2007-12-11_14.57.04 Backup Level: Full (upgraded from Incremental) Client: "testserver" 2.2.5 (09Oct07) x86_64-pc-linux-gnu,debian,4.0 FileSet: "testserver fileset" 2007-12-11 14:54:21 Pool: "Testpool4" (From Job resource) Storage: "File" (From Pool resource) Scheduled time: 11-Dec-2007 14:57:55 Start time: 11-Dec-2007 14:57:58 End time: 11-Dec-2007 14:59:12 Elapsed time: 1 min 14 secs Priority: 10 FD Files Written: 1,903 SD Files Written: 1,903 FD Bytes Written: 2,698,506,288 (2.698 GB) SD Bytes Written: 2,698,723,738 (2.698 GB) Rate: 36466.3 KB/s Software Compression: None VSS: no Encryption: no Volume name(s): test4 Volume Session Id: 41 Volume Session Time: 1197366564 Last Volume Bytes: 5,401,496,603 (5.401 GB) Non-fatal FD errors: 0 SD Errors: 0 FD termination status: OK SD termination status: OK Termination: Backup OK 11-Dec 14:59 backupserver-dir JobId 2: Begin pruning Jobs. 11-Dec 14:59 backupserver-dir JobId 2: No Jobs found to prune. 11-Dec 14:59 backupserver-dir JobId 2: Begin pruning Files. 11-Dec 14:59 backupserver-dir JobId 2: No Files found to prune. 11-Dec 14:59 backupserver-dir JobId 2: End auto prune. *run A job name must be specified. The defined Job resources are: 1: testserver daily incremental backup 2: testserver weekly full backup 3: testserver monthly full backup 4: testserver test completely full backup 5: testserver inc test 6: testserver full test Select Job resource (1-11): 5 Run Backup job JobName: testserver inc test Level: Incremental Client: testserver FileSet: testserver fileset Pool: Testpool4 (From Job resource) Storage: File (From Pool resource) When: 2007-12-11 15:00:10 Priority: 10 OK to run? (yes/mod/no): Job queued. JobId=3 * 11-Dec 15:00 backupserver-dir JobId 3: BeforeJob: run command "/etc/bacula/scripts/create-bootstrap-dir testserver" 11-Dec 15:00 backupserver-dir JobId 3: Start Backup JobId 3, Job=testserver_inc_test.2007-12-11_15.00.06 11-Dec 15:00 backupserver-dir JobId 3: Using Device "FileStorage" 11-Dec 15:00 backupserver-sd JobId 3: Volume "test4" previously written, moving to end of data. 11-Dec 15:00 backupserver-sd JobId 3: Ready to append to end of Volume "test4" size=5401496603 11-Dec 15:00 backupserver-sd JobId 3: Spooling data ... 11-Dec 15:00 backupserver-sd JobId 3: Job write elapsed time = 00:00:01, Transfer rate = 14.41 M bytes/second 11-Dec 15:00 backupserver-sd JobId 3: Committing spooled data to Volume "test4". Despooling 14,436,655 bytes ... 11-Dec 15:00 backupserver-sd JobId 3: Despooling elapsed time = 00:00:01, Transfer rate = 14.43 M bytes/second 11-Dec 15:00 backupserver-sd JobId 3: Sending spooled attrs to the Director. Despooling 33,360 bytes ... 11-Dec 15:00 backupserver-dir JobId 3: Bacula backupserver-dir 2.2.5 (09Oct07): 11-Dec-2007 15:00:14 Build OS: x86_64-pc-linux-gnu debian 4.0 JobId: 3 Job: testserver_inc_test.2007-12-11_15.00.06 Backup Level: Incremental, since=2007-12-11 14:57:58 Client: "testserver" 2.2.5 (09Oct07) x86_64-pc-linux-gnu,debian,4.0 FileSet: "testserver fileset" 2007-12-11 14:54:21 Pool: "Testpool4" (From Job resource) Storage: "File" (From Pool resource) Scheduled time: 11-Dec-2007 15:00:10 Start time: 11-Dec-2007 15:00:13 End time: 11-Dec-2007 15:00:14 Elapsed time: 1 sec Priority: 10 FD Files Written: 111 SD Files Written: 111 FD Bytes Written: 14,403,917 (14.40 MB) SD Bytes Written: 14,419,349 (14.41 MB) Rate: 14403.9 KB/s Software Compression: None VSS: no Encryption: no Volume name(s): test4 Volume Session Id: 42 Volume Session Time: 1197366564 Last Volume Bytes: 5,415,930,570 (5.415 GB) Non-fatal FD errors: 0 SD Errors: 0 FD termination status: OK SD termination status: OK Termination: Backup OK 11-Dec 15:00 backupserver-dir JobId 3: Begin pruning Jobs. 11-Dec 15:00 backupserver-dir JobId 3: No Jobs found to prune. 11-Dec 15:00 backupserver-dir JobId 3: Begin pruning Files. 11-Dec 15:00 backupserver-dir JobId 3: No Files found to prune. 11-Dec 15:00 backupserver-dir JobId 3: End auto prune. *quit #</ConsoleLog>####################### Here are the relevant parts of the config-files: <storage> Storage { Name = File Address = 10.0.0.54 SDPort = 9103 Password = "mysecretpass" Device = FileStorage Media Type = File Maximum Concurrent Jobs = 20 } </storage> <pools> Pool { Name = Testpool4 Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 1 day Recycle Oldest Volume = yes Storage = File } </pools> <jobs.conf> Job { Name = "testserver inc test" JobDefs = "inc-test" Client = testserver FileSet = "testserver fileset" Enabled = yes } Job { Name = "testserver full test" JobDefs = "full-test" Client = testserver FileSet = "testserver fileset" Enabled = yes } JobDefs { Name = "inc-test" Type = Backup Level = Incremental Storage = File Messages = Standard Spool Data = yes Write Bootstrap = "/backup/bacula/bootstraps/%c/%c.bsr" Pool = Testpool4 Schedule = "DailyCycle" RunScript { RunsWhen = Before FailJobOnError = Yes Command = "/etc/bacula/scripts/create-bootstrap-dir %c" RunsOnClient = no } } JobDefs { Name = "full-test" Type = Backup Level = Full Storage = File Messages = Standard Spool Data = yes Write Bootstrap = "/backup/bacula/bootstraps/%c/%c.bsr" Pool = Testpool4 Schedule = "WeeklyCycle" RunScript { RunsWhen = Before FailJobOnError = Yes Command = "/etc/bacula/scripts/create-bootstrap-dir %c" RunsOnClient = no } } </jobs.conf> <testserver.conf> Client { Name = testserver Address = 10.0.0.216 FDPort = 9102 Catalog = MyCatalog Password = "testserverpass" # password for FileDaemon File Retention = 31 days # 30 days Job Retention = 1 year # six months AutoPrune = yes # Prune expired Jobs/Files } # testserver Fileset FileSet { Name = "testserver fileset" Include { Options { signature = MD5 } File = /boot File = /etc File = /home File = /root File = /usr/local/etc File = /var #File = "\\</home/xxx/filelist-on-client" } Exclude { File = /var/lib File = /var/lock File = /var/cache } } </testserver.conf> Thanks!! Vladimir ================================== Vladimirs Vecgailis Colocation IT primacall Vertriebs-GmbH Postfach 08 04 55 10004 Berlin Leipziger Str. 124 10117 Berlin GERMANY Phone +49 30 206143 875 eMail [EMAIL PROTECTED] Web http://www.primacall.de ================================== Amtsgericht und Sitz: Berlin, HRB 98348 B Steuernummer: 37-199-20919 Geschäftsführer: M. Vukusic Die in dieser E-Mail enthaltenen Informationen sind vertraulich und können rechtlich bedeutsam sein. Sie sind ausschließlich für den Adressaten bestimmt und jeglicher Zugriff durch andere Personen ist unzulässig. Falls Sie nicht der beabsichtigte Empfänger sind, ist jegliche Veröffentlichung, Verteilung oder sonstige in diesem Zusammenhang stehende Handlung untersagt und unter Umständen rechtswidrig. Herkömmliche E-Mails sind zudem nicht gegen Zugriff geschützt und können mit und ohne Einfluss von Dritten verloren gehen, verändert oder verfälscht werden. Eine Haftung für die Unversehrtheit von E-Mails oder hieraus entstandene Schäden kann daher nicht übernommen werden. The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee and access to the e-mail by anyone else is prohibited. If you are not the intended recipient, any disclosure, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Common e-mails are not protected against access by third persons and therefore might be lost, changed or falsified, with or without any interference by third persons. We cannot accept any responsibility for the integrity of e-mails or for any damages resulting out of these circumstances. ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users