Navigate to the ArchiveMaster plugin from your WordPress dashboard.
Navigate to ArchiveSettings
Enable Auto-Archiving by toggling the switch to turn on automatic archiving.
Choose the date range for the old orders you want to archive automatically.
Check out ArchiveMaster