Rahul Jain wrote:
> On Sat, Apr 21, 2001 at 03:31:21PM +0200, Olaf Fr?czyk wrote:
>> Oh, and it would be nice to have some tool which gets all acls
recursive
>> from directory tree, saves them in a file, and applies from that file
to a
>> directory tree. It would make it possible, to use tar command to make
>> archives for backup, if there were some tool to backup acls.
>
> xfsdump/xfsrestore should do this nicely.
I know, that I can use it. But using tar archives gives ability to restore
archives on any other system I want: e.g. WinNT, linux without xfs
support.
If my system crashes, I will be able to restore data on another system
and give users access to them (I know, there will be no ACLs, but this is
better than nothing). And after my system is back I can untar the data
and apply ACLs back.
Of course, I could make two backups: one with tar command, second using
xfsdump. But I think, this is not the right way ;)
Regards,
Olaf Fraczyk
|