Re: [BackupPC-users] Question about attrib file structure
Jeffrey, Sorry about the delay in replying. I've been really busy lately. > > 1. If a directory is *empty*, is there any reason for it to have an > >attrib file? > > > >Because in playing around with creating and deleting directory > contents, I > >found that sometimes even after emptying directory contents, the > >subsequent incremental backups may sometimes still have (empty) > >attrib files. I believe there is always an attrib file created. It would be a minor optimization not to write empty attrib files. > > 2. If not, can I safely erase any (empty) attrib file that has no files > >associated with it? Yes. If there is no attrib file the necessary meta-data is created by reading the directory. If it is empty then the effect will be the same as an empty attrib file. > > 3. Other than type=10 (delete), is there *any* reason for an attrib > >file to contain an entry for a file that is not present in the > directory? No other files should be in the attrib file: files that are there plus type=10 (delete). >Because, I have found some attrib files on my system in past backups that > >have file entries with type 0 (i.e *not* type 10) yet there is no > >file present in the directory. After your file system corruption problem was fixed? > > 4. If not, can I safely *remove* any non type=10 attrib entry if the > >corresponding file is not in the directory? Yes. But this shouldn't happen. > One more question to add: > 5. Are 'attrib' files also linked into the pool/cpool? If so, are they > done the same way as regular data files? Yes, they are pooled in the same way as regular files. Craig - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Question about attrib file structure - Help needed
Was hoping to get answers to these question to confirm the algorithm I am using on my BackupPC_deleteFile script. I just want to make sure I am not missing any subtleties here with the attrib files. Jeffrey J. Kosowsky wrote at about 22:51:22 -0500 on Monday, November 17, 2008: Is the following true: 1. If a directory is *empty*, is there any reason for it to have an attrib file? Because in playing around with creating and deleting directory contents, I found that sometimes even after emptying directory contents, the subsequent incremental backups may sometimes still have (empty) attrib files. 2. If not, can I safely erase any (empty) attrib file that has no files associated with it? 3. Other than type=10 (delete), is there *any* reason for an attrib file to contain an entry for a file that is not present in the directory? Because, I have found some attrib files on my system in past backups that have file entries with type 0 (i.e *not* type 10) yet there is no file present in the directory. 4. If not, can I safely *remove* any non type=10 attrib entry if the corresponding file is not in the directory? Thanks - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Question about attrib file structure
Jeffrey J. Kosowsky wrote at about 22:51:22 -0500 on Monday, November 17, 2008: > Is the following true: > 1. If a directory is *empty*, is there any reason for it to have an >attrib file? > >Because in playing around with creating and deleting directory contents, I >found that sometimes even after emptying directory contents, the >subsequent incremental backups may sometimes still have (empty) >attrib files. > > 2. If not, can I safely erase any (empty) attrib file that has no files >associated with it? > > 3. Other than type=10 (delete), is there *any* reason for an attrib >file to contain an entry for a file that is not present in the directory? > >Because, I have found some attrib files on my system in past backups that >have file entries with type 0 (i.e *not* type 10) yet there is no >file present in the directory. > > 4. If not, can I safely *remove* any non type=10 attrib entry if the >corresponding file is not in the directory? > One more question to add: 5. Are 'attrib' files also linked into the pool/cpool? If so, are they done the same way as regular data files? Thanks - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Question about attrib file structure
Is the following true: 1. If a directory is *empty*, is there any reason for it to have an attrib file? Because in playing around with creating and deleting directory contents, I found that sometimes even after emptying directory contents, the subsequent incremental backups may sometimes still have (empty) attrib files. 2. If not, can I safely erase any (empty) attrib file that has no files associated with it? 3. Other than type=10 (delete), is there *any* reason for an attrib file to contain an entry for a file that is not present in the directory? Because, I have found some attrib files on my system in past backups that have file entries with type 0 (i.e *not* type 10) yet there is no file present in the directory. 4. If not, can I safely *remove* any non type=10 attrib entry if the corresponding file is not in the directory? Thanks - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/