Re: [Bacula-users] Incremental Backup / Moved File doesn't get stored in the backup

2010-11-24 Thread Paulo Martinez
Am 23.11.2010 um 17:39 schrieb Martin Simmons:

 i started using bacula a couple of weeks ago and i am very satisfied.

 Today i noticed on doing an incremental backup that a file that was
 moved
 from one directory to another doesn't get stored in the backup?

 After doing a touch on the file - it got saved into the backup
 (incremental).

 For my sense of a backup this should be done without touching the
 file, because
 the director content changed ...

 Do i miss here something?

 Thanks

 PM

 PS: bacula-fd on osx/hfs, atime is enabled

 That is because hfs doesn't change the ctime when you move a file,  
 so bacula
 ignores the file.


Confirmed.



 You could try using accurate mode, which should fix this.
 http://www.bacula.org/5.0.x-manuals/en/main/main/New_Features_in_3_0_0.html#SECTION0081

 __Martin



Thank you for this hint, it resolved this issue.

Like the manual stated, the backup process consumes much more memory.

For my files (1368334) the bacula-fd allocated 200MB of memory.


One thing that i found interesting: the moved files respectively
the old locations are listed in the bacula job file list. Restoring
corresponding locations shows correct behavior (moved file vanished).

I wonder how bacula distinguishes between moved/deleted files. Is it
because the file entry in the database has the MD5 field set to 0?

Best

PM



--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Incremental Backup / Moved File doesn't get stored in the backup

2010-11-24 Thread Martin Simmons
 On Wed, 24 Nov 2010 11:15:11 +0100, Paulo Martinez said:
 
 One thing that i found interesting: the moved files respectively
 the old locations are listed in the bacula job file list. Restoring
 corresponding locations shows correct behavior (moved file vanished).

Yes, it records the moved/deleted files using a special marker.


 I wonder how bacula distinguishes between moved/deleted files. Is it
 because the file entry in the database has the MD5 field set to 0?

I think it is when FileIndex is set to 0.

__Martin

--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Incremental Backup / Moved File doesn't get stored in the backup

2010-11-24 Thread Ralf Gross
Paulo Martinez schrieb:
 One thing that i found interesting: the moved files respectively
 the old locations are listed in the bacula job file list. Restoring
 corresponding locations shows correct behavior (moved file vanished).
 ...

http://bugs.bacula.org/view.php?id=1651

The developers consider this not a bug...

 
Ralf

--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Incremental Backup / Moved File doesn't get stored in the backup

2010-11-24 Thread Paulo Martinez
Am 24.11.2010 um 13:54 schrieb Ralf Gross:
 Paulo Martinez schrieb:
 One thing that i found interesting: the moved files respectively
 the old locations are listed in the bacula job file list. Restoring
 corresponding locations shows correct behavior (moved file vanished).
 ...

 http://bugs.bacula.org/view.php?id=1651

 The developers consider this not a bug...

... by design, anyway it should be easy to construct
your needed query. As Martin stated before FileIndex
is the key field ...

Best
PM






--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Incremental Backup / Moved File doesn't get stored in the backup

2010-11-24 Thread Kleber Leal
See accurate option on job properties.
http://www.bacula.org/manuals/en/concepts/concepts/New_Features.html#SECTION0031

Kleber

2010/11/24 Paulo Martinez martinez...@googlemail.com

 Am 24.11.2010 um 13:54 schrieb Ralf Gross:
  Paulo Martinez schrieb:
  One thing that i found interesting: the moved files respectively
  the old locations are listed in the bacula job file list. Restoring
  corresponding locations shows correct behavior (moved file vanished).
  ...
 
  http://bugs.bacula.org/view.php?id=1651
 
  The developers consider this not a bug...

 ... by design, anyway it should be easy to construct
 your needed query. As Martin stated before FileIndex
 is the key field ...

 Best
 PM







 --
 Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
 Tap into the largest installed PC base  get more eyes on your game by
 optimizing for Intel(R) Graphics Technology. Get started today with the
 Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
 http://p.sf.net/sfu/intelisp-dev2dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Incremental Backup / Moved File doesn't get stored in the backup

2010-11-23 Thread Martin Simmons
 On Mon, 22 Nov 2010 16:15:17 +0100, martinezino  said:
 
 Dear List,
 
 i started using bacula a couple of weeks ago and i am very satisfied.
 
 Today i noticed on doing an incremental backup that a file that was  
 moved
 from one directory to another doesn't get stored in the backup?
 
 After doing a touch on the file - it got saved into the backup  
 (incremental).
 
 For my sense of a backup this should be done without touching the  
 file, because
 the director content changed ...
 
 Do i miss here something?
 
 Thanks
 
 PM
 
 PS: bacula-fd on osx/hfs, atime is enabled

That is because hfs doesn't change the ctime when you move a file, so bacula
ignores the file.  You could try using accurate mode, which should fix this.

http://www.bacula.org/5.0.x-manuals/en/main/main/New_Features_in_3_0_0.html#SECTION0081

__Martin

--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users