xfs
[Top] [All Lists]

Re: xfsdump and tar on same tape

To: Bill Kendall <wkendall@xxxxxxx>
Subject: Re: xfsdump and tar on same tape
From: Xavier Poirier <xpoirier@xxxxxxxxxxxxx>
Date: Wed, 28 Sep 2005 13:43:53 +0200 (CEST)
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <433969BB.9050207@sgi.com>
References: <1127738813.4337edbd27a25@hermesadm.chb.fr> <4337FB0E.8090302@sgi.com> <1127745384.4338076895826@hermesadm.chb.fr> <433969BB.9050207@sgi.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: IMP/PHP IMAP webmail program 2.2.3
This seems to work for me, look:

# mt -f /dev/nst0 setblk 0
# mt -f /dev/nst0 rewind
# xfsdump -f /dev/nst0 /home
# mt -f /dev/nst0 status|grep "File number"|cut -d "," -f 1|cut -d "="
-f 2      (to get next session number)
# tar cvf /dev/nst0 /boot
 
 And to restore:
 
# mt -f /dev/nst0 rewind
# mt -f /dev/nst0 fsf X (where X is session number I've get before)
# tar tvf /dev/nst0

I read my tar session and xfsdump session !
Good

Xavier

--------------------------------------------------------------------
Ce courriel est envoyé au travers de l' interface IMP: ch-bourg01.fr
Ce message a été passé automatiquement à l' antivirus 
This email have been sent through   Imap Mail Program: ch-bourg01.fr
This message have been scanned with an antivirus scanner



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