It’s not a standard feature in Confluence. But there is a very good add-on, the Archiving Plugin for Confluence:
If you have any questions about the configuration of the add-on, we would be happy to help you with that. In case of interest, just let us know and get in touch with us again and we could make you a non binding offer. Also, of course, for the purchase of the plugin.
By the way: //SEIBERT/MEDIA offers a discount of 10% for the purchase of Atlassian licenses, that are more than USD 10. This credit may be used toward services and consulting by //SEIBERT/MEDIA (not hosting or third party services). Click here to find more information on our natural discount.