We are looking to archive and purge all attachment files that are older than 3 years in our internal hosted Jira Data Center on Azure. The attachments are taking up most of the disk space on Jira hosted servers.
As attachments are stored as a combination of files on the server's file system and metadata in the database. Can anyone share the best and safe recommended practices for bulk archive/delete attachments in detailed steps?