You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 26 Next »


DataSync Snapshot reliably, comprehensively backs up ServiceNow objects and data without impacting performance, and all from within the Perspectium DataSync application.  

Once you have created and executed a backup, you will have the option to restore the records in the selected table(s) in your ServiceNow instance or another ServiceNow instance.  

(info) NOTE: You will need to have MBS 3.0 to properly run backup and restore. For more information, contact Perspectium Support.

Contents


Prerequisites


(warning) You will need the following information from Perspectium Support:

  • Perspectium Integration Mesh (MBS) server URL 
  • Integration Mesh (MBS) vhost
  • Integration Mesh (MBS) username
  • Integration Mesh (MBS) password

(warning) Then, you will first need to install the Perspectium application into your ServiceNow instance by installing update sets in the following order::

  1. Perspectium Core update set
  2. Perspectium Snapshot update set 

Follow the link to Get Started with DataSync for ServiceNow


Initial Setup


Before you begin, you will need set up the initial configurations in Perspectium's General Settings:

Set up general settings

Log into your  ServiceNow instance and navigate to Perspectium > Control and Configuration > Properties or simply type Control and Configuration in the Filter Navigator on the upper left-hand side of the screen. and then click Properties.

Then, click General Settings.

Type your Perspectium Integration Mesh username, password, and server URL in the appropriate fields.

(info) NOTE: In the username field, you will need to prepend the username with your vhost name, i.e. vhost/user.

Then, scroll down to the bottom of the page and click Save.

If you will be restoring table(s) into another ServiceNow instance, repeat steps 1 and 2 with the same Integration Mesh (MBS) credentials in the other instance. 


Upgrading a ServiceNow application

Learn how to setup and execute backup to prepare your ServiceNow instance for an upgrade. 


Before you upgrade your application, you will need to back up the tables in your ServiceNow instance. 

Create a backup

Log into your ServiceNow instance and navigate to Perspectium > DataSync > Snapshot

Next to the Backup Status header, click + New Backup.

 

Fill all required fields:

Fill the Name field with the desired name of the backup. 

Within the Select an application section, and choose the tables needed for the application upgrade. 

(Optionally) If you manually chose tables, you can save those selected tables as a custom application template with the + button next to the dropdown.

Enable Include table components to backup all the related components needed for the selected table(s), such as:

  • Custom fields in the dictionary entry (sys_dictionary)
  • Business rule (sys_script)
  • Access control (sys_security_acl)
  • UI action (sys_ui_action)
  • List (sys_ui_list)
  • List element (sys_ui_list_element)
  • Module (sys_ui_module)
  • Form section (sys_ui_section)

After configuring all the required fields, click Execute Now

Once the tables are backed up, you can upgrade the application. Let’s say something went wrong or the upgrade removed a core functionality, time to restore that backup!

Restore the completed backup

(warning) WARNING: Restoring a backup will overwrite existing records.

Log into your ServiceNow instance and navigate to Perspectium > Snapshot > Snapshot.

Select the completed back up you want to restore. Then, click Restore. You will be prompted to continue and click Ok

Once restore is complete, your ServiceNow instance will start receiving inbound messages (Perspectium > Messages > Inbound) and the restored records in the selected table(s) will appear in your instance.


Upgrading across different instances

Learn how to backup and restore table(s) when upgrading your application across different instances.

(info) NOTE: Before you begin, validate that you have the same Integration Mesh credentials across the different instances.


In cases where you have two instances, i.e. one test environment and one developer environment, and you want to upgrade the test environment, you will need to execute a backup. 

Create a backup in the test environment

Log into your ServiceNow instance and navigate to Perspectium > DataSync > Snapshot

Next to the Backup Status header, click + New Backup.

Fill the required fields: 

Fill the Name field with the desired name of the backup. 

Within the Select an application section, and choose the tables needed for the application upgrade. 

(Optionally) If you manually chose tables, you can save those selected tables as a custom application template with the + button next to the dropdown.

After configuring all the required fields, click Execute Now

Let's say you decided you wanted to upgrade developer environment as well, but mid-upgrade, you decided not to do so. You can restore the backup from the test environment to the developer environment.

Restore a completed backup

(warning) WARNING: Restoring a backup will overwrite existing records.

Log into your ServiceNow instance and navigate to Perspectium > Snapshot > Snapshot.

Select the completed back up you want to restore. Then, click Restore. You will be prompted to continue and click Ok

Once restore is complete, your ServiceNow instance will start receiving inbound messages (Perspectium > Messages > Inbound) and the restored records in the selected table(s) will appear in your instance.


Scheduling backups

Learn how to schedule a backup in your ServiceNow instance.


To prepare for cases where you are experiencing technical difficulties in your ServiceNow instance, i.e. environment breaks, you can set a scheduled backup. 

Set up a monthly backup

Log into your ServiceNow instance and navigate to Perspectium > DataSync > Snapshot

Next to the Backup Status header, click + New Backup.

 

Fill the required fields: 

Fill the Name field with the desired name of the backup. 

Within the Select an application section, you can either select a table template with the dropdown that will auto populate the list of tables to be shared or manually choose tables with the slushbucket. 

(info) NOTE: These templates are tables available in the global scope. 

(Optionally) If you manually chose tables, you can save those selected tables as a custom application template with the + button next to the dropdown.

Enable backup on related tables: 

To backup attachments (sys_attachment) along with the tables selected, enable Include attachments

Enable Include table components to backup all the related components needed for the selected table(s), such as:

  • Custom fields in the dictionary entry (sys_dictionary)
  • Business rule (sys_script)
  • Access control (sys_security_acl)
  • UI action (sys_ui_action)
  • List (sys_ui_list)
  • List element (sys_ui_list_element)
  • Module (sys_ui_module)
  • Form section (sys_ui_section)

To backup journal fields (sys_journal_field) records related to the tables selected, enable Include journal fields.

Check Set a schedule.

Once activated, you can choose when to run the schedule, in this case, choose Monthly in the Run dropdown.

Click Save

Once you experience an issue, i.e. environment breaks, and you feel the need to restore previous table(s), you can restore the latest backup.

Restore the latest backup

(warning) WARNING: Restoring a backup will overwrite existing records.

Log into your ServiceNow instance and navigate to Perspectium > Snapshot > Snapshot.

Select the most recent backup, then click Restore. You will be prompted to continue and click Ok

Once restore is complete, your ServiceNow instance will start receiving inbound messages (Perspectium > Messages > Inbound) and the restored records in the selected table(s) will appear in your instance.


General Configurations 


Create a backup

Log into your ServiceNow instance and navigate to Perspectium > DataSync > Snapshot

Next to the Backup Status header, click + New Backup.

 

Fill the required fields: 

Fill the Name field with the desired name of the backup. 

Within the Select an application section, you can either select a table template with the dropdown that will auto populate the list of tables to be shared or manually choose tables with the slushbucket. 

(info) NOTE: These templates are tables available in the global scope. 

(Optionally) If you manually chose tables, you can save those selected tables as a custom application template with the + button next to the dropdown.

(Optional)

After selecting tables to backup, you have an option to apply conditions to tables that you want to back up. Without setting conditions, the entire tables will be backed up.

To apply conditions, click Set Filters below the Tables to set up your desired conditions. 

Then, select the table you want to filter and set the conditions with the condition builder. 

Enable backup on related tables: 

To backup attachments (sys_attachment) along with the tables selected, enable Include attachments

Enable Include table components to backup all the related components needed for the selected table(s), such as:

  • Custom fields in the dictionary entry (sys_dictionary)
  • Business rule (sys_script)
  • Access control (sys_security_acl)
  • UI action (sys_ui_action)
  • List (sys_ui_list)
  • List element (sys_ui_list_element)
  • Module (sys_ui_module)
  • Form section (sys_ui_section)

To backup journal fields (sys_journal_field) records related to the tables selected, enable Include journal fields.

To enable notification for when backups are completed, check Enable notifications. Then, chose which users will receive the notifications or enter an email. 

(info) NOTEPerspectium notifications are created as ServiceNow email notifications in order to send emails natively through the instance and some notifications use notification email scripts for the email's subject and body content. See email notifications and notification email scripts for more information.


Instead of executing the backup right away, you can set a up a scheduled back up by enabling Set a schedule. Once activated, you can choose when to run the schedule.

After configuring all the required fields, click Save

If you did not set a schedule and want to execute the backup right away, click Execute Now

Execute a backup

Log into your ServiceNow instance and navigate to Perspectium > Snapshot > Snapshot.

Under Pending Backups, select the backup you want to execute. Then, click Edit.

On the bottom of the page, click Execute Now.

(Optional) Navigate back to Snapshot. Under the Backup Status section, monitor the status of your backup. 

Restore a completed backup

(warning) WARNING: Restoring a backup will overwrite existing records.

Log into your ServiceNow instance and navigate to Perspectium > Snapshot > Snapshot.

Whether you are restoring in your own instance or another instance, select the completed back up you want to restore. Then, click Restore. You will be prompted to continue and click Ok

(info) NOTE: If you are restoring the table(s) in another instance, validate that you have the same Integration Mesh credentials. See set up initial configurations for Snapshot.

Once restore is complete, your ServiceNow instance will start receiving inbound messages (Perspectium > Messages > Inbound) and the restored records in the selected table(s) will appear in your instance.