Dne pátek 27. prosince 2013 11:32:05 UTC+1 Gerhard Sulzberger napsal(a):
> Hi Bareos community,
> 
> I have a problem with the Catalog backup;
> 
> The Backup of the Backup ends with a warning.
> And I think thats the problem:
> Could not stat "/var/lib/bareos/bareos.sql": ERR=No such file or directory
> + the backup ends with 5.39 KiB but the dump has 1.1GiB.
> So I think something went wrong.
> 
> 
> I started a Catalog job manualy:
> 
> *run job=BackupCatalog
> Using Catalog "rtcatalog"
> Run Backup job
> JobName:  BackupCatalog
> Level:    Full
> Client:   rtpain-bareos-fd01
> Format:   Native
> FileSet:  Catalog
> Pool:     rtpa-full-tape (From Job FullPool override)
> Storage:  rtpain-loader01 (From Pool resource)
> When:     2013-12-27 11:11:26
> Priority: 11
> OK to run? (yes/mod/no): yes
> Job queued. JobId=381
> *
> 
> I can see how the file /var/lib/bareos/bareos.sql is crated and filled with 
> the dump.
> -rw-------  1 bareos bareos 1.1G Dec 27 11:14 bareos.sql
> after the job the file will be deleted.
> 
> thats the configuration:
> 
> # Backup the catalog database (after the nightly save)
> Job {
>   Name = "BackupCatalog"
>   JobDefs = "rtpa-default"
>   Level = Full
>   FileSet="Catalog"
>   Schedule = "WeeklyCycleAfterBackup"
>   RunBeforeJob = "/usr/lib/bareos/scripts/make_catalog_backup.pl rtcatalog"
>   RunAfterJob  = "/usr/lib/bareos/scripts/delete_catalog_backup"
>   Write Bootstrap = "/var/lib/bareos/bootstrapfiles/%n.bsr"
>   Priority = 11                   # run after main backup
> }
> 
> 
> # This is the Fileset of the BackupCatalog Job
> FileSet {
>   Name = "Catalog"
>   Include {
>     Options {
>       signature = MD5
>     }
>     File = "/var/lib/bareos/bareos.sql" # database dump
>     File = "/etc/bareos"                # configuration
>   }
> }
> 
> # schedule für Catalog
> Schedule {
>   Name = "WeeklyCycleAfterBackup"
>   Run = Full sun-sat at 23:10
> }
> 
> JobDefs {
>   Name = "rtpa-default"
>   Type = Backup
>   Level = Incremental
>   Client = rtpain-bareos-fd01
>   SpoolData = yes
>   Write Bootstrap = "/var/lib/bareos/bootstrapfiles/%n.bsr"
>   Messages = Standard # sends the bootstrapfiles to the OPS-Team
>   Pool = rtpa-full-tape
>   Full Backup Pool = rtpa-full-tape
>   Differential Backup Pool = rtpa-diff-tape
>   Incremental Backup Pool = rtpa-inc-disk
>   Maximum Bandwidth = 500mb/s
>   Schedule = rtpa-monthly-full
>   Priority = 9
> }
> 
> The Messages from the job:
> 
> *messages
> 27-Dec 11:11 rtpain-bareos-dir01-dir JobId 381: shell command: run BeforeJob 
> "/usr/lib/bareos/scripts/make_catalog_backup.pl rtcatalog"
> 27-Dec 11:14 rtpain-bareos-dir01-dir JobId 381: Start Backup JobId 381, 
> Job=BackupCatalog.2013-12-27_11.11.43_03
> 27-Dec 11:14 rtpain-bareos-dir01-dir JobId 381: Using Device "drive-0" to 
> write.
> 27-Dec 11:14 rtpain-bareos-sd01-sd JobId 381: Spooling data ...
> 27-Dec 11:14 rtpain-bareos-sd01-fd JobId 381:      Could not stat 
> "/var/lib/bareos/bareos.sql": ERR=No such file or directory
> 27-Dec 11:14 rtpain-bareos-sd01-sd JobId 381: Committing spooled data to 
> Volume "A00012". Despooling 6,505 bytes ...
> 27-Dec 11:14 rtpain-bareos-sd01-sd JobId 381: Despooling elapsed time = 
> 00:00:01, Transfer rate = 6.505 K Bytes/second
> 27-Dec 11:14 rtpain-bareos-sd01-sd JobId 381: Elapsed time=00:00:01, Transfer 
> rate=5.901 K Bytes/second
> 27-Dec 11:14 rtpain-bareos-sd01-sd JobId 381: Sending spooled attrs to the 
> Director. Despooling 1,292 bytes ...
> 27-Dec 11:14 rtpain-bareos-dir01-dir JobId 381: Bareos 
> rtpain-bareos-dir01-dir 13.2.2 (12Nov13):
>   Build OS:               x86_64-pc-linux-gnu ubuntu Ubuntu 12.04 LTS
>   JobId:                  381
>   Job:                    BackupCatalog.2013-12-27_11.11.43_03
>   Backup Level:           Full
>   Client:                 "rtpain-bareos-fd01" 13.2.2 (12Nov13) 
> x86_64-pc-linux-gnu,ubuntu,Ubuntu 12.04 LTS
>   FileSet:                "Catalog" 2013-10-28 23:10:00
>   Pool:                   "rtpa-full-tape" (From Job FullPool override)
>   Catalog:                "rtcatalog" (From Client resource)
>   Storage:                "rtpain-loader01" (From Pool resource)
>   Scheduled time:         27-Dec-2013 11:11:26
>   Start time:             27-Dec-2013 11:14:31
>   End time:               27-Dec-2013 11:14:37
>   Elapsed time:           6 secs
>   Priority:               11
>   FD Files Written:       5
>   SD Files Written:       5
>   FD Bytes Written:       5,392 (5.392 KB)
>   SD Bytes Written:       5,901 (5.901 KB)
>   Rate:                   0.9 KB/s
>   Software Compression:   None
>   VSS:                    no
>   Encryption:             no
>   Accurate:               no
>   Volume name(s):         A00012
>   Volume Session Id:      44
>   Volume Session Time:    1387788162
>   Last Volume Bytes:      645,120 (645.1 KB)
>   Non-fatal FD errors:    1
>   SD Errors:              0
>   FD termination status:  OK
>   SD termination status:  OK
>   Termination:            Backup OK -- with warnings
> 
> 27-Dec 11:14 rtpain-bareos-dir01-dir JobId 381: Begin pruning Jobs older than 
> 6 months .
> 27-Dec 11:14 rtpain-bareos-dir01-dir JobId 381: No Jobs found to prune.
> 27-Dec 11:14 rtpain-bareos-dir01-dir JobId 381: Begin pruning Files.
> 27-Dec 11:14 rtpain-bareos-dir01-dir JobId 381: No Files found to prune.
> 27-Dec 11:14 rtpain-bareos-dir01-dir JobId 381: End auto prune.
> 
> 27-Dec 11:14 rtpain-bareos-dir01-dir JobId 381: shell command: run AfterJob 
> "/usr/lib/bareos/scripts/delete_catalog_backup"
> 
> Some Ideas?

Hi Gerhard,
did you resolve this? I have the same problem here!

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to