This should work, the difference between doing that and doing ndmpcopy is that by doing dump|restore via rsh, you are actually pumping the data through the client.
That's fine..as long as you have a beefy client and a big pipe between the filer and the client. The nice thing about ndmpcopy is that it keeps the traffic within the filer (on the loopback interface).
So either way works, take your pick. Just know the differences up front.
-- Adam Fox NetApp Professional Services, NC adamfox@netapp.com
-----Original Message----- From: Jeffrey Krueger [mailto:jkrueger@qualcomm.com] Sent: Monday, April 16, 2001 8:57 PM To: Fox, Adam Cc: 'Coder, James (STP)'; toasters@mathworks.com Subject: Re: dump / restore to the filer
You actually can run dump and restore through a pipe, but the pipe must be on an external admin host (not the NetApp). It would look something like this:
adminhost% su adminhost# rsh filer1 dump 0uf - /vol/vol0/stuff | rsh filer2 restore rfD - /vol/vol3/new_stuff
Don't quote me on the exact options, but it does work. A little playing around with it should yeild the correct formula.
If you're using this to move changing data, don't forget to make the source read-only (or unaccessible) during the dump. =)
-- Jeff
On Mon, Apr 16, 2001 at 03:32:12PM -0700, Fox, Adam wrote:
Not exactly. You can't do it on the command line, but the ndmpcopy utility does what you are looking for. You take a client and run ndmpcopy with the source and destination being the same filer. This effectively does a dump | restore on the same filer (it acutally uses the loopback interface, which is effectively the same thing). Since the data doesn't go through the client, it doesn't really matter what the client is or the network connectivity to the filer. I've done this with a SPARC 10 with a 10BT connection to the filer. The only traffic that comes back to the client are occasional status packets so that ndmpcopy can update you every 5 minutes.
So the functionality is possible, just not exactly how you would expect to execute it.
ndmpcopy is available at ndmp.org or from the NOW site.
Hope this helps
-- Adam Fox NetApp Professional Services, NC adamfox@netapp.com
-----Original Message----- From: Coder, James (STP) [mailto:james.coder@guidant.com] Sent: Monday, April 16, 2001 5:38 PM To: toasters@mathworks.com Subject: dump / restore to the filer
Is it possible to do a dump / restore on the same command line like in Unix? (similar to dumping to standard out then reading from standard in ). I want to dump some files from one volume to new volume, then move the remaining files to a 2nd new volume (all on the same filer). NetApp documentation says to vol copy the complete volume then blow the files I don't want away. This seems like doubling my work. Any ideas / help?
thx in advance - jc
James C. Coder Guidant CRM email: james.coder@guidant.com Phone: 651-582-4797