Move Database to archive Database


  • Archive database already created

Tip You can copy the database to already have all the data in the archive.


Run Move to Archive

  1. Request the "MoveToArchive" script from the support desk
  2. Login to a machine / server with "Microsoft SQL Server Management Studio"
  3. Connect to the Database engine, where the databases are located
  4. Open the "MoveToArchive" script
  5. Enable SQLCMD mode. (Menu > Query > SQLCMD Mode)
  6. Change the variables
    1. DatabaseName = Name of the current database
    2. ArchiveDatabaseName = Name of the archive database
  7. Change the Parameter
    1. DaysRetension = The number of days you would like to keep data in the current database
  8. Execute the script