From: Mantis B. T. <no...@bu...> - 2013-04-22 13:48:20
|
The following issue has been SUBMITTED. ====================================================================== http://bugs.bacula.org/view.php?id=1991 ====================================================================== Reported By: dh-lin Assigned To: ====================================================================== Project: bacula Issue ID: 1991 Category: File Daemon Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2013-03-04 15:40 UTC Last Modified: 2013-03-04 15:40 UTC ====================================================================== Summary: Accurate fails on backup from harlinks Description: We backup casandra servers with cassandra snapshots. Cassandra snapshot create snapshot directory in each database and hardlinks to tablespaces. We only backup this subfolder, but on accurate=yes bacula backup all files because it use wron filename. Example. File rollups60-hc-12368-Data.db is old and shall not be backed up in incremental level With accurate=no it will not be backed up. With accurate=yes we can see on clent: accurate.c:236-0 add fname=</var/lib/cassandra/data/OpsCenter/snapshots/rollups60-hc-12368-Data.db> lstat=P0E gAAK2 IGk C Bt Bx A KyC2e BAA BWQY BRLg53 BRLi4Q BRM/K1 A A e delta_seq=0 chksum= accurate.c:82-0 lookup </var/lib/cassandra/data/OpsCenter/snapshots/rollups60-hc-12368-Data.db> ok accurate.c:367-0 /var/lib/cassandra/data/OpsCenter/snapshots/rollups60-hc-12368-Data.db st_ctime differs accurate.c:277-0 accurate /var/lib/cassandra/data/OpsCenter/rollups60-hc-12368-Data.db (not found) Have a look a last line. Here it look at file in wrong directory Steps to Reproduce: create subdirectory with hardlinks and try to backup only this subdirectory with accurate=yes Additional Information: Our fileset: FileSet { Name = "cassandra_data" Ignore FileSet Changes = yes Include { File = /var/lib/cassandra/data Options { mtimeonly=yes compression = LZO sparse=yes hardlinks=yes Wild = "/var/lib/cassandra/data/*/snapshots/*" WildDir = "/var/lib/cassandra/data/*/snapshots" } Options { Exclude = yes WildFile = "/var/lib/cassandra/data/*" } } } ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2013-03-04 15:40 dh-lin New Issue ====================================================================== |