How to backup all the masking views?
symaccess -sid 1234 -f Total_views backup
This command will backup all the Masking Views information for array 1234 to file Total_views.
You may also interested to know..
symaccess -sid 1234 list view -name Host1_Allocation -detailProvides detailed infomation about the masking view .This output is same as 'symmaccess show view'.
symaccess -sid 1234 delete view -name Host1_Allocation -unmapDelete view Host1_Allocation and also unmap all the device in associated storage group.
symaccess -sid 1234 view -name Host1_Allocation rename -new_name Host2_AllocationRename name of view Host1_Allocation as Host2_Allocation
symaccess -sid 1234 list viewList masking views Created for Array 1234 with related groups details
symaccess -sid 1234 show view Server_A_B_View -ig Server_B_IGDisplays the content of view 'Server_A_B_View' with the WWN details of child-Initiator group 'Server_B_IG'.