How to attach and manage Safetica ONE archives in new Safetica

Learn how to attach Safetica ONE database archives and manage them in the new Safetica console.

Archives are only available in Safetica hosted on-premises. In the cloud-hosted Safetica, the data is stored in Azure.

In this article, you will learn more about:

 

Required permissions

Only users with the Settings and configuration permission can access the Archives section.

 

How to attach an archive

archives1

When attaching an archive from a different location than the one used in Safetica ONE (e.g., if you copied the archive to a new location), begin by manually attaching it in SQL Server Management Studio. Afterward, follow the steps below to complete the attachment in Safetica console.

1. Go to Settings > Archives in Safetica.
2. Click the Attach archive button.
3. Fill in the path to the archive, which must be accessible by MS SQL server.

Safetica ONE archives will be automatically updated to the current Safetica version. Back up the archive before proceeding.

4. Click Attach archive.

5. The archive will appear in the list of archives and will start Initializing.

6. If you are attaching a Safetica ONE archive, it will be automatically updated to the current Safetica version. If you are attaching an archive from the new Safetica, it might need to be updated to the newest version.

6. When all necessary updates are complete, the archive’s state changes to Ready, and you can start browsing it. 

 

How to browse an attached archive

You can browse attached archives that are in the Ready state:

  1. Go to Settings > Archives in Safetica.
  2. Click Browse archive.
  3. A new browser tab with a new URL will open. There, you can browse the archive separately from the “live” data. 
  4. When browsing the archive, you will be informed that you are displaying archived data.

The archive can be browsed by multiple users at the same time. They can display records in the Dashboards and Behavior sections, but cannot access or change any settings.

 

How to update an outdated archive

After you update your Safetica server to a newer version, all Ready archives will become Outdated. Follow these steps to update them to an up-to-date version:

  1. Go to Settings > Archives in Safetica.
  2. Click the Update button. We recommend creating a backup of the archive.
  3. Click Update archive.
  4. Wait until the archive updates and is Ready again to be browsed.

 

How to detach an archive

To disconnect an archive from Safetica and remove it from the list of archives:

  1. Go to Settings > Archives in Safetica.
  2. Click the Detach button.
  3. Confirm that you really want to detach the archive.
  4. The archive will be removed from the list of archives.

Detaching will only remove the archive from the list, it will not delete the archive file.

 

 

Archive states


  • Failed: Something went wrong during initialization or update.
  • Initializing: Archive is being attached or updated to version 10.4., typically after the user clicks Attach.
  • Updating: Archive is being updated to the up-to-date version from version 10.4., typically after the user clicks Update or right after Initializing.
  • Ready: Archive is ready to be browsed by the user, buttons Browse archive and Detach are enabled.
  • Not accessible: Archive was Ready, but is currently not available for browsing. It is probably not attached or not accessible by MS SQL.
  • Outdated: After you update Safetica server, all attached archives in Ready state will become Outdated. Follow these steps to update them to an up-to-date version.