Configure database backup and restoration

If your organization requires you to change the default paths and retention policies for database backup and restoration, you need to specify
BackupDirectory
,
RestoreDirectory
,
MaxBackupDays
, and
MaxBackupCount
in
appSettings.json
.
To configure database backup and restoration
  1. Go to
    C:\Program Files\Rockwell Software\FactoryTalk Historian\Historian WebTrend\WebTrendBE
    , and then open
    appSettings.json
    .
  2. In the
    BackupSettings
    section, specify the following parameters, and then save the file.
    • Set
      BackupDirectory
      to the relative path for backing up databases, such as
      Databases\Backups
      .
    • Set
      RestoreDirectory
      to the relative path for restoring databases, such as
      Databases\Restores
      .
    • Set
      MaxBackupDays
      to the maximum number of days to keep the backup files, such as
      30
      .
    • Set
      MaxBackupCount
      to the maximum number of the backup files to keep, such as
      10
      .
  3. Open
    Internet Information Services (IIS) Manager
    .
  4. Expand
    Server
    Sites
    . Select
    FTHWebTrendSite
    , and then select
    Restart
    .
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal