Re: [Bacula-users] Unchanged files still saved in incremental backup
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 | Compl
Re: [Bacula-users] Unchanged files still saved in incremental backup
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 BlackBerry® 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-12, 2009. Register now! 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
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 BlackBerry® 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-12, 2009. Register now! http://p.sf.net/sfu/devconf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] problem restoring with bat
Hi, I'm having problem restoring files with bat I select a file, then, click restore select where I want to restore (I don't specify a bootstrap file name) then I click ok. On console I can see a bootstrap file is created in /var/lib/bacula/127.0.0.1-dir.restore.xx.bsr (xx increments on each restore) but restore job ends with fatal error can't open bootstrap file (ERR= no such file) When restoring files with bconsole there is no problem. How may I force bat to use automagically the bootstrap file it created ? thanks -- Come build with us! The BlackBerry(R) 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 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users