Create archivemode.sql

Reference for archiving