You can use ndmpcopy from the filerhead CLI, granted you have a new enough DOT version. This creates a snapshot then copy's all the data and ACL's from source to target. First make sure that the ndmp option is turned on: ndmpd.enable on
Then below will work: ndmpcopy /vol/sourcevol /vol/destvol
You can copy at any level, not just the vol level. If the source and dest's vols are on a seperate filer just preceed the dir with "filename:" so "ndmpcopy sourcefiler:/vol/sourcevol destfiler:/vol/destvol". After the copy you can remove the temp file created at the destination end which is used for incremental updates (I forgot the name but it will be a huge file with an obviously generated name). Man page and NOW has good ndmp info. Thanks, Jeff
Jim Davis jdavis@cs.arizona.edu Sent by: owner-toasters@mathworks.com 03/13/2003 01:47 PM
To: toasters@mathworks.com cc: Subject: Moving files but not .snapshots?
I want to move two big directories from an old volume to a new volume, but just the files -- not the snapshot subdirectories. So far I've tried
find . -type d -name '.snapshot' -prune -o -print | cpio -pdm /newvol
from the adminhost, which works but isn't blazingly fast. Are there any other ways people can suggest?