Re: [Bacula-users] Unchanged files still saved in incremental backup

2009-10-06 Thread Guillaume_h
Cedric Tefft a écrit :

 Run stat on one of those older files.  Look at the ctime.  Is it 
 very recent -- perhaps a day or less?  By default, bacula uses both 
 the mtime and ctime of a file to determine if it has been changed.  If 
 EITHER one of those is newer than the last backup, bacula will include 
 the file in an incremental.


That's it ! I have the change time updated. Thanks.



--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Unchanged files still saved in incremental backup

2009-10-05 Thread le dahut
The problem occurred after a while, here's an history that illustrates 
what's happening :

09/14:
Backup Level:   Full
FD Files Written:   6,489

on 09/15 and 09/16:
Backup Level:   Incremental, since=2009-09-15 23:00:15
FD Files Written:   50

09/17:
Backup Level:   Incremental, since=2009-09-16 23:00:19
FD Files Written:   6,403



le dahut wrote :
 Hello,
 
 I have some unchanged files that are saved in incremental backup.
 
 I've joined a screenshot of BAT where :
 * all backup are selected
 * a file is selected
 as you can see the file has been saved by a Full backup and then by all 
 the Incremental backups while its HASH didn't change.
 
 
 Any idea about this ?
 
 
 Klaas
 
 
 

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Unchanged files still saved in incremental backup

2009-10-05 Thread Guillaume_h




le dahut a crit:

  The problem occurred after a while, here's an history that illustrates 
what's happening :

09/14:
Backup Level:   Full
FD Files Written:   6,489

on 09/15 and 09/16:
Backup Level:   Incremental, since=2009-09-15 23:00:15
FD Files Written:   50

09/17:
Backup Level:   Incremental, since=2009-09-16 23:00:19
FD Files Written:   6,403


  

Hello, 

The history posted by "Le dahut" is from one of my servers.

Up to job 158, all is ok, but from job 159 to now, all incremental job
save all files form the server. I don't remember of any change made on
this server. Could you please help me pointing out what causes this
behaviour ?

Here is output from list jobs :
+---+---+-+--+---+--++---+
| JobId | Name | StartTime | Type | Level | JobFiles
| JobBytes | JobStatus |
+---+---+-+--+---+--++---+
| 145 | Complet | 2009-09-09 23:00:18 | B | I | 38
| 482736927 | T |
| 146 | BackupCatalog | 2009-09-09 23:03:14 | B | I | 1
| 2122452 | T |
| 147 | Complet | 2009-09-10 23:00:14 | B | I | 35
| 495902190 | T |
| 148 | BackupCatalog | 2009-09-10 23:03:18 | B | I | 1
| 2127364 | T |
| 149 | Complet | 2009-09-11 23:00:18 | B | I | 30
| 509068387 | T |
| 150 | BackupCatalog | 2009-09-11 23:03:06 | B | I | 1
| 2131224 | T |
| 151 | Complet | 2009-09-12 23:00:15 | B | I | 4
| 119612 | T |
| 152 | BackupCatalog | 2009-09-12 23:00:26 | B | I | 1
| 2132278 | T |
| 153 | Complet | 2009-09-14 23:00:19 | B | F | 6489
| 1697721788 | T |
| 154 | BackupCatalog | 2009-09-14 23:09:25 | B | F | 1
| 3030589 | T |
| 155 | Complet | 2009-09-15 23:00:15 | B | I | 40
| 535440246 | T |
| 156 | BackupCatalog | 2009-09-15 23:03:10 | B | I | 1
| 3035675 | T |
| 157 | Complet | 2009-09-16 23:00:19 | B | I | 50
| 548589398 | T |
| 158 | BackupCatalog | 2009-09-16 23:03:38 | B | I | 1
| 3040256 | T |
| 159 | Complet | 2009-09-17 23:00:18 | B | I | 6403
| 1741831107 | T |
| 160 | BackupCatalog | 2009-09-17 23:07:26 | B | I | 1
| 3932193 | T |
| 161 | Complet | 2009-09-18 23:00:16 | B | I | 6404
| 1754962885 | T |
| 162 | BackupCatalog | 2009-09-18 23:09:46 | B | I | 1
| 4822642 | T |
| 163 | Complet | 2009-09-19 23:00:15 | B | I | 6392
| 1754962241 | T |
| 164 | BackupCatalog | 2009-09-19 23:07:21 | B | I | 1
| 5712462 | T |
| 165 | Complet | 2009-09-21 23:00:17 | B | F | 6495
| 1768194861 | T |
| 166 | BackupCatalog | 2009-09-21 23:07:35 | B | F | 1
| 6613785 | T |
| 167 | Complet | 2009-09-22 23:00:17 | B | I | 6420
| 1781428592 | T |
| 168 | BackupCatalog | 2009-09-22 23:07:41 | B | I | 1
| 7507620 | T |
| 169 | Complet | 2009-09-23 23:00:15 | B | I | 6422
| 1781498512 | T |
| 170 | BackupCatalog | 2009-09-23 23:09:53 | B | I | 1
| 8404378 | T |
| 171 | Complet | 2009-09-24 23:00:16 | B | I | 6414
| 1794000219 | T |
| 172 | BackupCatalog | 2009-09-24 23:10:23 | B | I | 1
| 9303727 | T |
| 173 | Complet | 2009-09-25 23:00:18 | B | I | 6426
| 1807203607 | T |
| 174 | BackupCatalog | 2009-09-25 23:10:12 | B | I | 1
| 10204850 | T |
| 175 | Complet | 2009-09-26 23:00:15 | B | I | 6412
| 1807202849 | T |
| 176 | BackupCatalog | 2009-09-26 23:10:22 | B | I | 1
| 11103760 | T |
| 177 | Complet | 2009-09-28 23:00:19 | B | F | 6518
| 1820408191 | T |
| 178 | BackupCatalog | 2009-09-28 23:10:26 | B | F | 1
| 12014707 | T |
| 179 | Complet | 2009-09-29 23:00:14 | B | I | 6447
| 1833600210 | T |
| 180 | BackupCatalog | 2009-09-29 23:10:32 | B | I | 1
| 12028842 | T |
| 181 | Complet | 2009-09-30 23:00:15 | B | I | 6449
| 1846846346 | T |
| 182 | BackupCatalog | 2009-09-30 23:10:52 | B | I | 1
| 12931769 | T |
| 183 | Complet | 2009-10-01 23:00:17 | B | I | 6464
| 1860085451 | T |
| 184 | BackupCatalog | 2009-10-01 23:09:59 | B | I | 0
| 0 | E |
| 185 | Complet | 2009-10-02 23:00:16 | B | I | 6764
| 1888696137 | T |
| 186 | BackupCatalog | 2009-10-02 23:09:37 | B | I | 0
| 0 | E |
| 187 | Complet | 2009-10-03 23:00:17 | B | I | 6750
| 1888695390 | T |
| 188 | BackupCatalog | 2009-10-03 23:10:50 | B | I | 1
| 14841233 | T |
+---+---+-+--+---+--++---+






-- 

   Guillaume Hnin
: guillaume.he...@ac-rouen.fr
Rectorat de Rouen - Division Informatique
25 rue de Fontenelle 76000 ROUEN
Fax : 02.32.08.94.12
Mail assistance : accueil.mi...@ac-rouen.fr
Site assistance : http://ecare.ac-rouen.fr
  




--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net

Re: [Bacula-users] Unchanged files still saved in incremental backup

2009-10-05 Thread Kevin Keane
Bacula uses the file date to determine which files have changed. So a 
file with a future file date would be backed up by each incremental backup.

Since you say that your file was NOT backed up on 9/15 and 9/16, my 
guess is that some application may be opening the file for writing 
without actually making a change. Whatever application is responsible 
for that probably wasn't running on 9/15 and 9/16.

le dahut wrote:
 The problem occurred after a while, here's an history that illustrates 
 what's happening :

 09/14:
 Backup Level:   Full
 FD Files Written:   6,489

 on 09/15 and 09/16:
 Backup Level:   Incremental, since=2009-09-15 23:00:15
 FD Files Written:   50

 09/17:
 Backup Level:   Incremental, since=2009-09-16 23:00:19
 FD Files Written:   6,403



 le dahut wrote :
   
 Hello,

 I have some unchanged files that are saved in incremental backup.

 I've joined a screenshot of BAT where :
 * all backup are selected
 * a file is selected
 as you can see the file has been saved by a Full backup and then by all 
 the Incremental backups while its HASH didn't change.


 Any idea about this ?


 Klaas
 


-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information herein is 
intended only for use by the intended recipient(s) named above. If you have 
received this transmission in error, please notify the sender immediately and 
permanently delete the e-mail and any copies, printouts or attachments thereof.


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Unchanged files still saved in incremental backup

2009-10-05 Thread Guillaume_h
Kevin Keane a écrit :
 Bacula uses the file date to determine which files have changed. So a 
 file with a future file date would be backed up by each incremental backup.

 Since you say that your file was NOT backed up on 9/15 and 9/16, my 
 guess is that some application may be opening the file for writing 
 without actually making a change. Whatever application is responsible 
 for that probably wasn't running on 9/15 and 9/16.

   
No. The history posted by Le Dahut does not end on 9/17. Beginning 
from 17/09, all files are backed up every day with incremental backup 
whatever the mod date is (I have some files that has not been modified 
since 2k8 and bacula backup these files every day).

My problem is :

- Everything worked fine until 9/16
- Bacula saves every files on incrmental since 9/17  (see list jobs in 
my previous mail)
- Files have not been modified between backups
- bacula calculate identical hashes on each backup
- Incremental backup are real incremental, bacula doesn't upgrade to a 
full (more precisely, bacula doesn't report an upgrade).


I don't know how I can see what makes bacula think files have been 
modified. Maybe it is possible to log more to see what triggers backup 
of my files ?




--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Unchanged files still saved in incremental backup

2009-10-05 Thread Cedric Tefft


Guillaume_h wrote:
 Kevin Keane a écrit :
   
 Bacula uses the file date to determine which files have changed. So a 
 file with a future file date would be backed up by each incremental backup.

 Since you say that your file was NOT backed up on 9/15 and 9/16, my 
 guess is that some application may be opening the file for writing 
 without actually making a change. Whatever application is responsible 
 for that probably wasn't running on 9/15 and 9/16.

   
 
 No. The history posted by Le Dahut does not end on 9/17. Beginning 
 from 17/09, all files are backed up every day with incremental backup 
 whatever the mod date is (I have some files that has not been modified 
 since 2k8 and bacula backup these files every day).

   
Run stat on one of those older files.  Look at the ctime.  Is it very 
recent -- perhaps a day or less?  By default, bacula uses both the mtime 
and ctime of a file to determine if it has been changed.  If EITHER one 
of those is newer than the last backup, bacula will include the file in 
an incremental.

For example:

lithium:/data/temp  dir testfile
-rwxr-xr-x 1 cedric cedric 2.1K 2004-06-24 08:01 testfile


lithium:/data/temp  stat testfile
  File: `testfile'
  Size: 2137Blocks: 8  IO Block: 4096   regular file
Device: fe03h/65027dInode: 2899Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (  500/  cedric)   Gid: (  500/  cedric)
Access: 2009-09-30 22:02:46.005409891 -0700
Modify: 2004-06-24 08:01:58.0 -0700
Change: 2009-10-05 19:10:58.90135 -0700



- Cedric

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users