Unsolved
This post is more than 5 years old
65 Posts
0
411
June 26th, 2013 14:00
Restore ramification of using mtime for backup
If I change to using 'mtime' instead of 'ctime' for incrementals what happens when I try to use the indices for restores? I understand that if I move a directory then the mtime for that directory doesn't change. So this wouldn't be backed up. Now the directory is somewhere else. What happens when I try to restore? Am I screwed? Any other gotchas to using 'mtime'?
P.S.- the reason for this question is that collaborative groups sometimes run 'find's or recursive chmod's to set permissions. We could ask them to use a script that only changes the permissions if necessary, but this problem will probably continue to happen.
No Events found!


bingo.1
2.4K Posts
0
June 26th, 2013 15:00
I think the client option Backup renamed directories (General tab) is what you want to use here.
From the online help:
avhays
65 Posts
0
June 26th, 2013 18:00
Well this is interesting. "Backup renamed directories" is on by default. The documentation is a little unclear. If you don't set it can you still recover files under the old directory name if you look there?
Suppose I rename a directory and this isn't checked. Then later I modify a file in that directory. Will the modified file still be backed up on an incremental? Where will it appear when browsing?
In any case my question is what are the ramifications of using 'mtime' which means I don't want to back things up that have had owner, permission or name changes. I just want to make sure there is some way to browse and recover them.