Re: [Bacula-users] Incremental promoted to full - how to diagnose?
2008-05-28 03:34:42
Hi,
28.05.2008 00:31, Harik wrote:
> 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"
If you just added the "Ignore Fileset Changes" setting, that's the
reason... this is considered a fileset change, and thus the next
backup will be upgraded.
Later backups won't.
> 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?
Sure... just run the DIR with debug output and tracing to file. You'll
get lots of cryptic stuff - I recommend against that for your purpose.
If, on the other hand, the "Ignore Fileset Changes" option was present
before and a fileset change still triggered a job level upgrade, you
can verify which fileset is expected by using an SQL query.
Arno
> 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
>
--
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de
-------------------------------------------------------------------------
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
|
|
|