xfsrestore restoring MANY more files/dirs than expected, why?
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?
Sincerely,
Signature · 8 lines
Michael Lueck Lueck Data Systems http://www.lueckdatasystems.com/ _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
Quoted 116 lines · Michael Lueck
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
---------------------------------
Quoted 6 lines
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
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 6 lines · Bill Kendall
Quoted 1 line
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.
Great catch Bill!
I updated my sample syntax to use -i and -s mutually exclusive.
Now, since I had to Ctrl-Break the previous xfsrestore, I do not seem to know how to correctly clear out the previous session it is remembering.
How do I correctly invoke the -Q switch of xfsrestore? Various things I have tried xfsrestore does not like the syntax of.
Thanks!
Signature · 8 lines
Michael Lueck Lueck Data Systems http://www.lueckdatasystems.com/ _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
Quoted 2 lines · Michael Lueck
How do I correctly invoke the -Q switch of xfsrestore? Various things I have tried xfsrestore does not like the syntax of.
From the sound of it, you could just wipe out the old state directory ("xfsrestorehousekeepingdir") and start a fresh restore.
Bill
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 2 lines · Bill Kendall
From the sound of it, you could just wipe out the old state directory ("xfsrestorehousekeepingdir") and start a fresh restore.
Greetings Bill-
Yes indeed. I finally found it. As /srv is its own partition, it was in that directory. "rm -rf" quickly took care of it, and xfsrestore was able to work once again.
Thanks very much! A productive day of learning in xfs-land! :-)
Signature · 8 lines
Michael Lueck Lueck Data Systems http://www.lueckdatasystems.com/ _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs