Bacula-users

[Bacula-users] Incremental promoted to full - how to diagnose?

2008-05-27 18:32:07
Subject: [Bacula-users] Incremental promoted to full - how to diagnose?
From: Harik <harik.attar AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 27 May 2008 18:31:55 -0400
I started with the obvious - job 665 completed a full backup
successfully, client's name is still the same.
I do change the exclude list to get rid of large working directories,
so I have "Ignore FileSet Changes = yes"

27-May 14:59 fileserver-dir JobId 681: No prior Full backup Job record found.
27-May 14:59 fileserver-dir JobId 681: No prior or suitable Full
backup found in catalog. Doing FULL backup.

This probably has to be the most frequently asked question you guys
get - is there a way to
trace the promotion logic?

sqlquery:

+-------+---------------+---------------------+----------+------+-------+--------+
| JobId | Name          | StartTime           | ClientId | Type |
Level | JobStatus |
+-------+---------------+---------------------+----------+------+-------+--------+
| 665   | Fileserver    | 2008-05-21 21:58:03 | 1        | B    | F
 | T      |
| 668   | BackupCatalog | 2008-05-22 02:33:03 | 1        | B    | F
 | T      |
+-------+---------------+---------------------+----------+------+-------+--------+

query "Last 20 full backups for client = fileserver-fd"

+-----------+---------------+---------------------+----------+-------------+---------+--------------+
| Job.JobId | Client        | StartTime           | JobFiles |
JobBytes    | VolFile | VolumeName   |
+-----------+---------------+---------------------+----------+-------------+---------+--------------+
| 668       | fileserver-fd | 2008-05-22 02:33:03 | 1        |
180979721   | 0       | USBDisk-0016 |
| 665       | fileserver-fd | 2008-05-21 21:58:03 | 1030578  |
61203724176 | 0       | Full         |
| 665       | fileserver-fd | 2008-05-21 21:58:03 | 1030578  |
61203724176 | 0       | USBDisk-0003 |
.... list of volumes (fat32 4gb file restriction)


JobDefs {
  Name = "Defaults"
  Type = Backup
  Level = Incremental
  FileSet = "Full Set"
#  Schedule = "WeeklyCycle"
  Storage = USBDisk
  Messages = Standard
  Pool = USBDisk
  Priority = 10
}

Job {
  Name = "Fileserver"
  Client = fileserver-fd
  FileSet = "Fileserver - Full"
  JobDefs = "Defaults"
  Write Bootstrap = "/var/lib/bacula/Fileserver.bsr"
}

FileSet {
        Name = "Fileserver - Full"
        Ignore FileSet Changes = yes
        Include {
                Options {
                        signature = MD5
                        compression = GZIP
                        onefs = yes
                        sparse = yes
                        noatime = yes
                }
                File = /
                File = /home
        }
        Exclude {
               File = /dev
               .... large list of directories to ignore
        }
}

Client {
  Name = fileserver-fd
  Address = fileserver
  FDPort = 9102
  Catalog = MyCatalog
  Password = "xxxx"          # password for FileDaemon
  File Retention = 6 months            # 30 days
  Job Retention = 6 months            # six months
  AutoPrune = no                     # Prune expired Jobs/Files
}

Pool {
  Name = USBDisk
  LabelFormat = "USBDisk-"
  Pool Type = Backup
  Recycle = no                       # Bacula can automatically recycle Volumes
  Maximum Volumes = 40
  AutoPrune = no                     # Prune expired volumes
  Volume Retention = 2 Months
  Volume Use Duration = 1 day
  Recycle Oldest Volume = yes
}

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>