On Fri, 2002-08-16 at 12:48, Greg Freemyer wrote:
> Hi,
>
> I have a an xfs test machine, so the data is not critical, but I want to
> understand better how restore works.
>
> I have been making xfsdump backups on a daily basis.
>
> Levels (Sun - Sat.): 0, 1, 2, 3, 1, 2, 3, 4
>
> Today, I came across the "zero filled files" error, so I want to restore the
> most current backup of that file (ie /config/myscript).
>
> How do I do that?
>
> I can see that I can manually search backward by level, but that involves
> possibly reading 4 backups.
>
> I'm hoping that the xvsdump inventory has the name of the files backed up in
> there, so I can simply ask "which backup session has the latest copy of
> /config/myscript?".
>
> Then restore the file from that one backup.
>
I am not a dump expert, but take a look at xfsinvutil and xfsdump -I,
I think the latter is what you want. It has filtering options, and
you can probably combine them with grep to do what you want.
Steve
--
Steve Lord voice: +1-651-683-3511
Principal Engineer, Filesystem Software email: lord@xxxxxxx
|