BackupPC-users

Re: [BackupPC-users] Question about attrib file structure - Help needed

2008-11-21 02:55:27
Subject: Re: [BackupPC-users] Question about attrib file structure - Help needed
From: "Jeffrey J. Kosowsky" <backuppc AT kosowsky DOT org>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Fri, 21 Nov 2008 02:53:37 -0500
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 AT lists.sourceforge DOT 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 AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>