I found this line:
RegexDir = ".*"
In the exclude options to be the issue. I've removed it and have been
getting the exact backups required.
Patti Clark
Information International Associates, Inc.
Linux Administrator and subcontractor to:
Research and Development Systems Support Oak Ridge National Laboratory
On 7/25/12 8:34 AM, "Steve Thompson" <smt AT vgersoft DOT com> wrote:
>Bacula 5.0.2, CentOS 5.8 x86_64.
>
>I need a second pair of eyes on this.
>
>I have a large file system (/mnt/home, 60TB) whose backups are split into
>multiple jobs. Two jobs in particular: one to backup all directories
>whose
>names begin with "s" except for st123, and a second job to backup just
>st123:
>
>Job {
> Name = "home_s"
> JobDefs = "defjob"
> Pool = Pool_home_s
> Write Bootstrap = "/var/lib/bacula/home_s.bsr"
> Client = client-fd
> FileSet = "home_s"
> Schedule = "Saturday4"
>}
>
>Job {
> Name = "home_st123"
> JobDefs = "defjob"
> Pool = Pool_home_st123
> Write Bootstrap = "/var/lib/bacula/home_st123.bsr"
> Client = client-fd
> FileSet = "home_st123"
> Schedule = "Saturday1"
>}
>
>The file sets are as follows:
>
>FileSet {
> Name = "home_s"
> Include {
> Options {
> wilddir = "/mnt/home/s*"
> }
> Options {
> exclude = yes
> wilddir = "/mnt/home/st123"
> RegexDir = ".*"
> }
> Options {
> compression = GZIP4
> sparse = yes
> noatime = yes
> }
> File = /mnt/home
> }
>}
>
>FileSet {
> Name = "home_st123"
> Include {
> Options {
> compression = GZIP4
> sparse = yes
> noatime = yes
> }
> File = /mnt/home/st123
> }
>}
>
>All is well with the home_st123 job: it backups up only what is expected.
>However, the home_s job backups up only the directories whose name begins
>with "s", but it also backs up st123, which has been excluded. Presumably
>I have the Options clauses incorrectly defined?
>
>TIA,
>
>Steve
>--
>--------------------------------------------------------------------------
>--
>Steve Thompson E-mail: smt AT vgersoft DOT com
>Voyager Software LLC Web: http://www DOT vgersoft DOT
>com
>39 Smugglers Path VSW Support: support AT vgersoft DOT com
>Ithaca, NY 14850
> "186,282 miles per second: it's not just a good idea, it's the law"
>--------------------------------------------------------------------------
>--
>
>--------------------------------------------------------------------------
>----
>Live Security Virtual Conference
>Exclusive live event will cover all the ways today's security and
>threat landscape has changed and how IT managers can respond. Discussions
>will include endpoint security, mobile security and the latest in malware
>threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>_______________________________________________
>Bacula-users mailing list
>Bacula-users AT lists.sourceforge DOT net
>https://lists.sourceforge.net/lists/listinfo/bacula-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|