Assume the System Administrator role or any other role with the Media Restore rights profile.
Use one of the following methods:
/usr/lib/fs/ufs/ufsrestore for major restores
/usr/sbin/tar -T with other options for small restores
A script calling either of the above commands, such as Budtool.
Only these commands preserve security attributes and can restore multilevel and single-level directories correctly.