Hello Michel,
In order to do that, you have one thing to make sure, are your Application group set up for that?
I mean, you have in the application group, in the tab "Storage Management" -> "Advanced" -> Section "Migrate Data from Cache".
This section, allows you to archive document in TSM and the Cache in a synchronous or asynchronous mode.
In you case, you must use the option "Next Cache Migration" for all the application group that you want to archive, but not yet archive in TSM.
Then, when this is done, you do whatever you need to do with TSM/CMOD....
Once TSM is back from its upgrade, then you can use the command
arsmaint -h Instance -m
and it will automagically archive all the documents that are only in the case, back to TSM.
Then you can remove the option "Next Cache Migration" to "When Data is loaded" to have the cache / tsm synchronous archiving.
and then do again a
arsmaint -m
Hope that helps a little bit!