There has been a change in Domino 10.0.1 FP2 how the -ZU switch in the compact task behaves.
SPR# GRHEB8YG4K – Fixed a problem where compact -c -ZU and -ZD failed when attempting to recompress DAOS objects.
-ZU lets you enable LZ1 compression on a database. Prior to the change, you could do a compact -c -ods -upgrade -* -n -v -ZU on all databases and templates on the server.
The -ZU switch did not work on DAOS enabled applications, but those applications were upgraded to the latest ODS using the above command.
As of Domino 10.0.1 FP2, -ZU will pull all attachments of a DAOS enabled application back into the application!