I just ran it again after doing a 3.8gb backup job and I see lots of zeros.

:(

=============
messages
31-Oct 14:55 dell6430-001-dir JobId 6: Start Backup JobId 6,
Job=BackupCatalog.2017-10-31_14.55.51_05
31-Oct 14:55 dell6430-001-dir JobId 6: Using Device "FileStorage" to write.
31-Oct 14:55 dell6430-001-sd JobId 6: Volume "vol001" previously written,
moving to end of data.
31-Oct 14:55 dell6430-001-sd JobId 6: Ready to append to end of Volume
"vol001" size=3,879,947,721
31-Oct 14:55 dell6430-001-fd JobId 6:      Could not stat
"/var/lib/bacula/XXX_DBNAME_XXX.sql": ERR=No such file or directory
31-Oct 14:55 dell6430-001-sd JobId 6: Elapsed time=00:00:01, Transfer
rate=0  Bytes/second
31-Oct 14:55 dell6430-001-sd JobId 6: Sending spooled attrs to the
Director. Despooling 0 bytes ...
31-Oct 14:55 dell6430-001-dir JobId 6: Bacula dell6430-001-dir 7.4.4
(202Sep16):
  Build OS:               x86_64-pc-linux-gnu debian 9.0
  JobId:                  6
  Job:                    BackupCatalog.2017-10-31_14.55.51_05
  Backup Level:           Full
  Client:                 "dell6430-001-fd" 7.4.4 (202Sep16)
x86_64-pc-linux-gnu,debian,9.0
  FileSet:                "Catalog" 2017-10-31 14:04:47
  Pool:                   "File" (From Job resource)
  Catalog:                "MyCatalog" (From Client resource)
  Storage:                "File" (From Job resource)
  Scheduled time:         31-Oct-2017 14:55:48
  Start time:             31-Oct-2017 14:55:55
  End time:               31-Oct-2017 14:55:55
  Elapsed time:           0 secs
  Priority:               11
  FD Files Written:       0
  SD Files Written:       0
  FD Bytes Written:       0 (0 B)
  SD Bytes Written:       0 (0 B)
  Rate:                   0.0 KB/s
  Software Compression:   None
  Snapshot/VSS:           no
  Encryption:             no
  Accurate:               no
  Volume name(s):
  Volume Session Id:      2
  Volume Session Time:    1509414263
  Last Volume Bytes:      3,879,948,131 (3.879 GB)
  Non-fatal FD errors:    1
  SD Errors:              0
  FD termination status:  OK
  SD termination status:  OK
  Termination:            Backup OK -- with warnings

31-Oct 14:55 dell6430-001-dir JobId 6: Begin pruning Jobs older than 2
years 11 months 20 days .
31-Oct 14:55 dell6430-001-dir JobId 6: No Jobs found to prune.
31-Oct 14:55 dell6430-001-dir JobId 6: Begin pruning Files.
31-Oct 14:55 dell6430-001-dir JobId 6: No Files found to prune.
31-Oct 14:55 dell6430-001-dir JobId 6: End auto prune.

31-Oct 14:55 dell6430-001-dir JobId 6: shell command: run AfterJob
"/etc/bacula/scripts/delete_catalog_backup"
*
=========

I think I have something wrong   :(


This is the catalouge bit,
========
# 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
  # Arguments to make_catalog_backup.pl are:
  #  make_catalog_backup.pl <catalog-name>
  RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog"
  # This deletes the copy of the catalog
  RunAfterJob  = "/etc/bacula/scripts/delete_catalog_backup"
  Write Bootstrap = "/var/lib/bacula/%n.bsr"
  Priority = 11                   # run after main backup
}

======




On 31 October 2017 at 14:15, Thing <thing.th...@gmail.com> wrote:

> I just setup a bacual instance on Debian9 and it was messy/painful for
> some reason, I had to do a lot of config by hand which I didnt expect.
>
>  Anyway how can I verify that the system is backing up the catalouge?
>
> The reason I am saying this I did the default backup and restore and I can
> see the restored files which proves the backup seems to be working.
> However in bconsole when I look at the status of the director I see the
> backupcatalouge is 0 bytes insize.  Surely there should be some small
> amount even if I have only done one small backup?
>
>
> ========
> 8><------
> *status
> Status available for:
>      1: Director
>      2: Storage
>      3: Client
>      4: Scheduled
>      5: All
> Select daemon type for status (1-5): 1
> dell6430-001-dir Version: 7.4.4 (20 September 2016) x86_64-pc-linux-gnu
> debian 9.0
> Daemon started 31-Oct-17 13:50, conf reloaded 31-Oct-2017 13:50:06
>  Jobs: run=4, running=0 mode=0
>  Heap: heap=163,840 smbytes=90,915 max_bytes=1,236,172 bufs=273
> max_bufs=300
>
> Scheduled Jobs:
> Level          Type     Pri  Scheduled          Job Name           Volume
> ============================================================
> =======================
> Incremental    Backup    10  31-Oct-17 23:05    BackupLocalFiles   vol001
> Full           Backup    11  31-Oct-17 23:10    BackupCatalog      vol001
> ====
>
> Running Jobs:
> Console connected at 31-Oct-17 13:59
> No Jobs running.
> ====
>
> Terminated Jobs:
>  JobId  Level    Files      Bytes   Status   Finished        Name
> ====================================================================
> 8><----(ignore errors while setting up)
>      1  Full        282    17.76 M  OK       31-Oct-17 13:58
> BackupLocalFiles
> 8><----(ignore I made an error)
>      3  Restore      282    44.98 M  OK       31-Oct-17 14:02
> RestoreLocalFiles
>      4  Full          0         0   OK       31-Oct-17 14:04 BackupCatalog
>
> ====
> You have messages.
> *messages
> 31-Oct 14:04 dell6430-001-dir JobId 4: Begin pruning Jobs older than 2
> years 11 months 20 days .
> 31-Oct 14:04 dell6430-001-dir JobId 4: No Jobs found to prune.
> 31-Oct 14:04 dell6430-001-dir JobId 4: Begin pruning Files.
> 31-Oct 14:04 dell6430-001-dir JobId 4: No Files found to prune.
> 31-Oct 14:04 dell6430-001-dir JobId 4: End auto prune.
>
> 31-Oct 14:04 dell6430-001-dir JobId 4: shell command: run AfterJob
> "/etc/bacula/scripts/delete_catalog_backup"
> *
> ====================================================================
>
> So is there a way to verify the catalouge is OK?
>
> or is what I am seeing expected?
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to