1 |
Karl Zander wrote: |
2 |
> I have a partition with ReiserFS. Its backed up to DLT tape. If I ever |
3 |
> have to restore those files from tape, could they be restored to |
4 |
> different type of file system like ext3? I have another server up but |
5 |
|
6 |
You don't mention the software that you are using but, unless you are |
7 |
using dump (or a variant), the answer is almost certainly yes. |
8 |
|
9 |
> it does not use ReiserFS. In a pinch I could restore files to that |
10 |
> server. I am not sure if there is anything special about the file |
11 |
> system on the server and the files written to tape that makes the files |
12 |
> dependent on the file system. |
13 |
|
14 |
Not really, unless you are using POSIX ACLs. Programs such as GNU tar |
15 |
and AMANDA (which uses tar in any case) will not backup ACL metadata. |
16 |
The only program that I know of which will backup and restore ACL |
17 |
metadata is star, which is available in portage. If you do not use |
18 |
star then one could engineer a workaround - namely, dumping the ACL |
19 |
information using getfacl into a plain text file which is backed up |
20 |
also. It should be relatively simple then to reapply the ACL attributes |
21 |
using setfacl in conjuction with that file after a restore operation. |
22 |
|
23 |
Even in that scenario, the filesystem should not matter provided that it |
24 |
supports POSIX ACLs. That includes ext3, xfs and - since the addition in |
25 |
2.6.6 of Chris Mason's reiserfs patches - reiserfs. That is to say, the |
26 |
ACL information will be restored correctly no matter which filesystem is |
27 |
used. |
28 |
|
29 |
None of that is pertinent as far as conventional POISX permissions are |
30 |
concerned. Those will be covered adequately by any tool you should care |
31 |
to use although, in the case of GNU tar, you need to remember to use the |
32 |
-p parameter. Star will do that automatically, but the -acl paramter |
33 |
must be specified in order to deal with POSIX ACLs. |
34 |
|
35 |
Regards, |
36 |
|
37 |
--Kerin Francis Millar |