Bacula-users

Re: [Bacula-users] force backup of unchanged file in incremental backup

2011-04-14 07:57:47
Subject: Re: [Bacula-users] force backup of unchanged file in incremental backup
From: "James Harper" <james.harper AT bendigoit.com DOT au>
To: "Christian Manal" <moenoel AT informatik.uni-bremen DOT de>, <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 14 Apr 2011 21:53:58 +1000
> 
> Am 14.04.2011 08:33, schrieb James Harper:
> > The "last modified" datestamp on MSSQL database files doesn't get
> > changed unless the actual file dimensions change (eg it 'grows') or
when
> > the file is closed. This means that an incremental backup won't
> > necessarily back up the database files unless they have changed.
> > Accurate won't catch this either as the metadata it uses will be
> > identical.
> >
> > Is there a way to force the backup of specific unchanged files
during an
> > incremental or differential backup? Eg:
> >
> > Option {
> >   File = "C:/database/mydb.mdf"
> >   Always Back Up = Yes
> > }
> >
> > Thanks
> >
> > James
> 
> Hi,
> 
> does the file change at all? If so, you can just adjust the metadata
> that Accurate uses to compare checksums. That is done in the fileset:
> 
>
http://bacula.org/5.0.x-manuals/en/main/main/Configuring_Director.html#8
553
> 

Yes the file changes, so an md5 hash will be sufficient. The databases
are only a few hundred MB so the cost of calculating the hash shouldn't
be an issue. Unless bacula can use the archive bit, which does get set
correctly, this might be the only way.

The file _always_ changes between backups, so a fast way to do what I
want would be to add a flag to accurate that says "assume this file has
always changed". I'll post that request on the dev list.

Thanks

James


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users