Bacula-users

Re: [Bacula-users] No files being backed up

2011-09-28 12:13:29
Subject: Re: [Bacula-users] No files being backed up
From: John Drescher <drescherjm AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 28 Sep 2011 12:10:42 -0400
On Wed, Sep 28, 2011 at 10:30 AM, glynd <bacula-forum AT backupcentral DOT com> 
wrote:
> I have upgraded to Bacula 5.0.3 from 3 on Ubuntu 11.04 server with mysql.
>
> I don't get any errors but only the directories are backed up but none of the 
> files. The client is Win 7 pro.
>
> AFAIK everything in the confs is still used successfully on Bacula 3.
>
> I am not sure where else to look. Here is the snipped bacula-dir.conf and the 
> backup text file called by the fileset.
>
> If anyone would help me I would appreciate it
>
> Cheer and TIA
> Glyn
>
>
> JobDefs {
>  Name = "GlynJob"
>  Type = Backup
>  # Level = incremental
>  Client = glyn-laptop-fd
>  FileSet = "Glyn Set"
>  Messages = Standard
>  Priority = 10
>  Reschedule on error = yes
>  Reschedule interval = 2 hour
>  Reschedule times = 3
>  Cancel Lower Level Duplicates = no
>  Cancel Queued Duplicates = yes
>  Cancel Running Duplicates = no
> }
>
> Job {
>  Name = "GlynA"
>  JobDefs = "GlynJob"
>  Schedule = "DayTimeA"
>  Pool = Full-Pool-A
>  Full Backup Pool = Full-Pool-A
>  Incremental Backup Pool = Incr-Pool-A
>  Write Bootstrap = "/var/lib/bacula/%n.bsr"
> }
>
> Job {
>  Name = "GlynB"
>  JobDefs = "GlynJob"
>  Schedule = "DayTimeB"
>  Pool = Full-Pool-B
>  Full Backup Pool = Full-Pool-B
>  Incremental Backup Pool = Incr-Pool-B
>  Write Bootstrap = "/var/lib/bacula/%n.bsr"
> }
>
> Job {
>  Name = "DayTimeBackupCatalogA"
>  JobDefs = "SugarJob"
> #  Level = Full
>  FileSet="Catalog"
>  Schedule = "DayTimeAfterBackupA"
>  Pool = Full-Pool-A
>  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
> }
>
> Job {
>  Name = "DayTimeBackupCatalogB"
>  JobDefs = "SugarJob"
> #  Level = Full
>  FileSet="Catalog"
>  Schedule = "DayTimeAfterBackupB"
>  Pool = Full-Pool-B
>  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
> }
>
> FileSet {
>  Name = "Glyn Set"
>  Enable VSS = yes
>  Include {
>    Options {
>        Exclude = yes
>    }
> #       File = "</etc/bacula/glynexclude.txt"
>
>    Options {
>        Compression = GZIP
>        ignore case = yes
>        verify = pnugsi
>    }
>
>        File = "</etc/bacula/Glynbup.txt"
>  }
> }
>
> Client {
>  Name = glyn-laptop-fd
>  Address = Glyn-Laptop.domain.co.za
>  FDPort = 9102
>  Catalog = MyCatalog
>  Password = "password"         # password for FileDaemon 2
>  File Retention = 30 days            # 30 days
>  Job Retention = 1 months            # six months
>  AutoPrune = yes                     # Prune expired Jobs/Files
> }
>
> Storage {
>  Name = HDDA
> # Do not use "localhost" here
>  Address = host.domain.co.za               # N.B. Use a fully qualified name 
> here
>  SDPort = 9103
>  Password = "password"
>  Device = usb-drive-a
>  Media Type = Filea
> }
>
> Storage {
>  Name = HDDB
> # Do not use "localhost" here
>  Address = host.domain.co.za               # N.B. Use a fully qualified name 
> here
>  SDPort = 9103
>  Password = "password"
>  Device = usb-drive-b
>  Media Type = Fileb
> }
>
> Pool {
>  Name = Full-Pool-A
>  Storage = HDDA
>  Pool Type = Backup
>  Recycle = yes                       # Bacula can automatically recycle 
> Volumes
>  RecyclePool = Full-Pool-A
>  AutoPrune = yes                     # Prune expired volumes
>  Volume Retention = 7 weeks          # 7 weeks (3 volumes at 2 week intervals 
> + 1 week grace)
>  Maximum Volume Jobs = 10                 # 1 instance 2 full per week plus 2 
> catalogs per day
>  Maximum Volumes = 2
>  LabelFormat = "hdda-full-"
>  Purge oldest Volume = yes
> }
>
> Pool {
>  Name = Incr-Pool-A
>  Storage = HDDA
>  Pool Type = Backup
>  Recycle = yes                       # Bacula can automatically recycle 
> Volumes
>  RecyclePool = Incr-Pool-A
>  AutoPrune = yes                     # Prune expired volumes
>  Volume Retention = 6 days           # 6 days (1 volume with 5 jobs + 1 day 
> grace)
>  Maximum Volume Jobs = 25                 # 5 instances of 5 jobs
>  Maximum Volumes = 1
>  LabelFormat = "hdda-incr-"
>  Purge oldest Volume = yes
> }
>
> Pool {
>  Name = Full-Pool-B
>  Storage = HDDB
>  Pool Type = Backup
>  Recycle = yes                       # Bacula can automatically recycle 
> Volumes
>  RecyclePool = Full-Pool-B
>  AutoPrune = yes                     # Prune expired volumes
>  Volume Retention = 7 weeks          # 7 weeks (3 volumes at 2 week intervals 
> + 1 week grace)
>  Maximum Volume Jobs = 10
>  Maximum Volumes = 2
>  LabelFormat = "hddb-full-"
>  Purge oldest Volume = yes
> }
>
> Pool {
>  Name = Incr-Pool-B
>  Storage = HDDB
>  Pool Type = Backup
>  Recycle = yes                       # Bacula can automatically recycle 
> Volumes
>  RecyclePool = Incr-Pool-B
>  AutoPrune = yes                     # Prune expired volumes
>  Volume Retention = 6 days           # 6 days (1 volume with 5 jobs + 1 day 
> grace)
>  Maximum Volume Jobs = 25
>  Maximum Volumes = 1
>  LabelFormat = "hddb-incr-"
>  Purge oldest Volume = yes
> }
>
> Glynbup.txt
>
> c:/users/Glyn
> c:/chqdata
> c:/Garmin
> c:/Mail
>
> +----------------------------------------------------------------------
> |This was sent by glyn AT cirrus.co DOT za via Backup Central.
> |Forward SPAM to abuse AT backupcentral DOT com.
> +----------------------------------------------------------------------

I believe this because you commented out the File= part after

>    Options {
>        Exclude = yes
>    }
> #       File = "</etc/bacula/glynexclude.txt"
>

So then I beleve the next File= is taken as the exclude you only have
excludes in your file set with nothing to include.

John

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
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>