From: Bill Kendall <wkendall@sgi.com>
To: mlueck@lueckdatasystems.com
Cc: linux-xfs@oss.sgi.com
Subject: Re: xfsrestore restoring MANY more files/dirs than expected, why?
Date: Tue, 27 Oct 2009 10:54:55 -0500 [thread overview]
Message-ID: <4AE717CF.5020308@sgi.com> (raw)
In-Reply-To: <hc724t$tcn$1@ger.gmane.org>
On 10/27/2009 10:03 AM, Michael Lueck wrote:
> Greetings-
>
> I recall last time I needed to restore A FILE from a XFS backup, MANY
> MORE files/dirs got restored than expected. This time the same thing is
> happening.
>
> Screen dump of what I did:
>
> =====================
> :/mnt/ext_backup/cirlnx01/20090510$ sudo xfsrestore -J -E -f
> /mnt/ext_backup/cirlnx01/20090510/data -s shares/data -i -v verbose /srv
> [sudo] password for mdlueck:
> xfsrestore: using file dump (drive_simple) strategy
> xfsrestore: version 2.2.48 (dump format 3.0) - Running single-threaded
> xfsrestore: searching media for dump
> xfsrestore: examining media file 0
> xfsrestore: dump description:
> xfsrestore: hostname: cirlnx01
> xfsrestore: mount point: /srv
> xfsrestore: volume: /dev/sda9
> xfsrestore: session time: Sun May 10 18:07:35 2009
> xfsrestore: level: 0
> xfsrestore: session label: "data"
> xfsrestore: media label: ""
> xfsrestore: file system id: a43ad1fc-d88f-4d07-9f79-febffb48b9cb
> xfsrestore: session id: 13077fc1-21a4-4c14-8d95-cce194ef4f46
> xfsrestore: media id: c6a9ecb1-e776-4bf9-9537-bf1d61df5ac3
> xfsrestore: searching media for directory dump
> xfsrestore: reading directories
> xfsrestore: 7699 directories and 136729 entries processed
> xfsrestore: directory post-processing
>
> ========================== subtree selection dialog
> ==========================
>
> the following commands are available:
> pwd
> ls [ <path> ]
> cd [ <path> ]
> add [ <path> ]
> delete [ <path> ]
> extract
> quit
> help
>
> -> ls
> 472894529 kernel
> 939819197 orexx
> 805598566 3ware
> * 67108992 shares/
> 131 samba
>
> -> cd shares
>
> -> ls
> 208673909 print
> 271069020 mdldist
> 402653312 stage
> 335544448 pdoxdata
> 268435584 netlogon
> * 201326720 data/
> 134217856 apps
>
> -> cd data
>
> -> ls
> * 738334798 RoadRunner/
> * 6595075 .Trash-lobonca/
> * 671534768 OldAbel/
> * 337771329 AppData/
> * 67679396 P/
> * 604312789 AdamDesktop/
> * 338912225 OldAdam2K/
> * 609390639 OldAdam/
> * 471772160 ME/
> * 554166854 Icons/
> * 201326742 W2KBoot-Build58.ISO
> * 471986055 x-4Obie/
> * 479802373 x-4Michael/
> * 202289900 emobilereg.txt
> * 201333984 Fla-to-Canada.txt
> * 810634869 OldLazarus/
> * 898326271 Reload/
> * 336461836 Proj/
> * 206164605 Photos/
> * 135586077 Music/
> * 471452033 Download/
>
> -> cd OldAbel
>
> -> ls
> * 748264372 c/
>
> -> cd c
>
> -> ls
> * 810634921 Documents and Settings/
>
> -> cd "Documents and Settings"
>
> -> ls
> * 898287525 iserve/
>
> -> cd iserve
>
> -> ls
> * 898339263 Thunderbird.zip
> * 898339261 Firefox.zip
> * 898339260 Mozilla.cmd
> * 898339257 Thunderbird.cmd
> * 898339256 Firefox.cmd
>
> -> add Thunderbird.zip
>
> -> extract
>
> --------------------------------- end dialog
> ---------------------------------
>
> xfsrestore: restoring non-directory files
> =====================
>
> I am seeing the ENTIRE "data" backup restored, not just the one file I
> specified to add.
>
> Why is this? What am I doing incorrectly?
"-s shares/data" is the problem. See -i in the xfsrestore man page:
Initially nothing is selected, except for those subtrees specified
with -s command line options.
Bill
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2009-10-27 15:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-27 15:03 xfsrestore restoring MANY more files/dirs than expected, why? Michael Lueck
2009-10-27 15:54 ` Bill Kendall [this message]
2009-10-27 17:16 ` Michael Lueck
2009-10-27 17:52 ` Bill Kendall
2009-10-27 18:16 ` Michael Lueck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AE717CF.5020308@sgi.com \
--to=wkendall@sgi.com \
--cc=linux-xfs@oss.sgi.com \
--cc=mlueck@lueckdatasystems.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.