Reading a snapshot with the policy engine
You can use the policy engine to read the contents of a snapshot
for backup purposes. The mmapplypolicy command
provides the -S option to specify the snapshot
during a policy run. Instead of matching rules to the active file
system, the policy engine matches the rules against files in the snapshot.
Notes:
- Snapshots are read-only. Policy rules such as MIGRATE or DELETE that make changes or delete files cannot be used with a snapshot.
- An instance of mmapplypolicy can only scan one snapshot. Directing it at the .snapshots directory itself will result in a failure.
For complete usage information, see mmapplypolicy command.