No Results
Partial Backup

A Partial Backup saves the relevant configuration for a set of pages. Partial Backups are typically used to migrate content from one system to another. When creating a Partial Backup, the server will discover all the requisite configuration needed to produce the Visualizations on the selected set of pages, and then package it up in an .ESB file. The .ESB file includes a variety of different objects:

  • All Visualization instances on the page.
  • All Actions associated with Visualization instances on the page.
  • The Data Pipeline for all datasets being displayed on the page.
    • All Node Variables used inside of Feeds and Transforms in the relevant Pipeline nodes.
    • All Variable Constraints used to restrict input for Node Variables in the relevant Pipeline nodes.
    • All rule sets used inside of a Visualization’s renderer.
    • All Color Palettes and Icons used inside of rule sets.

Creating a Partial Backup

To create a partial backup:

  1. Go to the Backup & Restore page and click + Create Backup.
    A pop-up for configuring a backup is displayed.
  2. In the pop-up, do the following:
    a) In File Name, specify a name for the backup.
    If you leave the name blank, the system will include the date and time in the backup name for reference.
    b) In Backup Type, select Partial Backup.
    This saves all the associated configuration and assets for selected pages. This is a good way to share content across systems.
    c) (Optional) Enable or disable the Include Log Files toggle switch to specify whether log files should be included with the archive.
    This option is mainly used when working with Edge Support.
    d) (Optional) Enable or disable the Include Offline Data toggle switch to specify whether offline data should be included with the archive.
  3. Select one or more pages by clicking the checkbox next to them.
  4. Click Backup Now.
    The archive is created, and a dialog appears showing a summary of its contents. The summary enables you to validate the contents of a backup. The same preview will appear prior to restoring a backup.
    Additionally, clicking on the pie chart will show a list of the individual files for the selected category.
  5. Click Download Now to download the archive.
  6. Close the window.

Restoring a Partial Backup

To restore a partial backup:

  1. Click Upload.
    A pop-up is displayed.
  2.  Click + Add Files to choose the file (partial backup) to upload to the server.
  3. Once the file is displayed in the queue on the right, click Upload.
    The status of the file is changed to Uploaded.
  4. Close the pop-up.
    The uploaded file is displayed on the Backup & Restore page.
  5. Click on the uploaded file to select it.
    The Restore button becomes active.
  6. Click Restore.
    A new window is displayed.
  7. In Restore Options, the following options are displayed:
    – Restore Profile
    A restore profile saves the decisions made for each conflict in a partial backup. edgeCore will use those saved decisions as defaults for subsequent restore iterations, helping to streamline the restore process.
    – Update Page Locations
    This option applies to menu items in the archive that have previously been imported.
    – Collision Strategy
    Collision represents a pending change to something that already exists in the system. The collision strategy sets a default behavior for handling conflicts when processing a partial backup.
    a) Overwrite: This option will replace the existing content on the server with content in the backup.
    b) Ignore: This option will keep all existing content on the server as is. It will ignore any duplicates or changes, and only add NEW content that is in the backup.
    – Restore Suffix
    This suffix is applied to the names of elements when a conflict is detected. It helps with the versioning of content when partial backups are iteratively applied.
  8. Click Next.
  9. In Conflict Resolution, if there are no conflicts with the content on the system, then the following message will be displayed: There were no collisions with existing content on the server. If conflicts are detected, a list of conflicts will be displayed.
    – Conflict Strategy:
    When restoring a Partial Backup, the server can encounter conflicts. This typically happens when making changes to an existing archive and then sharing those changes with someone else. When attempting to merge content into an existing system, the IDs of objects in the Partial Backup could conflict with IDs already in the target system. This typically indicates different “versions” of that element. edgeCore offers an itemized list of these conflicts and provides options for how to handle them.

    • Overwrite – Keep what is in the backup. Overwrite what is currently on the server with content from the backup.
    • Ignore – Keep what is on the server. Ignore what is in the backup.

    – Custom Icons and Partial Backups:
    In partial backups, only icons used in Visualizations are backed up. This means that only custom icons used on the selected page(s) are exported, along with the associated custom.csv file. A Partial Backup will include the entire custom.csv, which can contain references to icons that are not included on the selected pages in the partial backup. This means some icons might not be copied over, and this can result in broken images appearing in the icon chooser. The broken images in the icon chooser will not affect any of the Visualizations.

  10. Click Next.
  11.  In Summary, the restore summary shows the end result of all the conflict resolution decisions that have been made in the wizard. This is a validation step that summarizes what will be brought into the system prior to performing a restore.

    As a safety measure, the system will automatically perform a full backup prior to a restore. These automatic backups can be used to revert back to the system’s state prior to performing the restore. They are available through the Recovery tab in the Backup & Restore UI. See Backup and Restore for more information.
  12. Click Restore Archive.
    A Restore in Progress pop-up is displayed. Once done, a confirmation message is displayed, and you will need to refresh the client.

 

Advanced Options: Restore Profile

Partial restore can be somewhat automatically controlled through the use of a Restore Profile.
A typical profile for the purpose of migrating development content to a production system might look like this:

{
  "name" : "dev-to-prod",
  "restoreType" : "ALL",
  "collisionStrategy" : "OVERWRITE",
  "useSrcPaths" : true,
  "dropUnchangedEntities" : false,
  "restoreRules" : [ {
    "archiveMatchString" : "ConnectionDO",
    "archiveMatchType" : "ENTITY_CLASS",
    "matchAction" : "DROP",
    "doClass" : "RestoreRuleDO"
  } ],
  "restoreSuffix" : "",
  "entityActions" : [ ],
  "doClass" : "RestoreProfileDO"
}

The profile above specifies that all Connections in the archive should be ignored in preference to those in the current (production) system. All other entities in the archive will be applied in the normal way (for example Feeds and Transforms, Visualization configuration, and Pages).

The restoreRules the field is a list of matching rules that allow you to specify what attribute to match against, a matching pattern, and then a default action to perform for configuration entities that match. The current attributes that can be matched against are:

  • ENTITY_CLASS – match against the Java class implementing the entity. Common classes include:
    • ConnectionDO – all connection types
    • DataFeedDO – all feeds that are not Web Content feeds
    • ProxyFeedDO – Web Content feeds
    • TabularTransformDO
    • RelationalTransformDO
    • DataVisualizationDO
    • SecurityParameterDO – Secured Variables and Credentials
  • ENTITY_TYPE – match against the entity’s type (for example "Web Content Connection" or "Web.*")
  • ENTITY_NAME – match against the admin-specified name of the entity

When importing an entity from an archive, the restore rules are applied in the order they appear in the profile – the first one that matches is used. The matchAction provides a default action to perform for the entity. This can be overridden in the Restore Wizard in the Conflict Resolution step. Supported values for matchAction are:

  • DROP (ignore the entity from the archive)
  • OVERWRITE (use the values of the entity from the archive to replace those of the corresponding existing entity in the system)

Every edgeCore instance has a Default restore profile, and new restore profiles can be found in [INSTALL_HOME]/exports/profiles/.

 

Permission to Create and Restore Partial Backups

As explained on the Overview page, in order for users to be able to create and restore partial backups, you need to assign security permissions to them.

Deleting Partial Backups

To learn how to delete partial backups and what permissions you need to assign to users, refer to the Overview page.


Terms | Privacy