StifleR
2.10
2.10
  • Start Here - StifleR 2.10
  • Introduction
    • StifleR Overview
      • The StifleR Solution
      • Managing Microsoft Data Transfer Services
    • Technical Overview
      • 2Pint BranchCache Administrator Guide
    • Features Overview
      • Control
      • Monitor
      • Automate
      • Other Features
      • StifleR Feature Details
    • Release Notes
  • Proof of Concept
    • Objectives and Prerequisites
    • Configure Microsoft Peer-to-Peer Components
    • Install and Configure StifleR
    • Testing and Validation
    • StifleR POC Quick Checklist
  • Planning
    • StifleR Server Considerations
    • StifleR Client Considerations
    • Firewall Ports
    • Permissions
    • Antivirus Exclusions
    • Network Topology
    • StifleR Generic Concepts
      • Client Leader Roles
        • Red Leader
        • Blue Leader
        • Green Leader
        • Examples of Leader Selection
      • Templates
      • Beacons
  • Installation
    • Overview
    • Server
      • StifleR Server Installation
      • StifleR Dashboard Installation
      • StifleR Beacon Installation
    • Client
      • StifleR Client Installation
      • Post Installation Checks
  • Configuration
    • Configuration Files
      • StifleR Server Configuration File
        • Using the AppSettings Override File
      • StifleR Client Configuration File
      • StifleR Dashboard Configuration File
    • Configuring BranchCache on Windows Server
    • Configuring Delivery Optimization
    • Configuring LEDBAT on CM DPs
    • Configuring a Beacon Server
    • Configuring StifleR SQL History
    • StifleR Network Locations
      • Automatic linking of Location, Network Groups and Networks
      • Network Topology Automation
      • Location Fields
        • Network Group Fields
          • Network Fields
    • StifleRulez.xml Configuration Guide
      • The Match – TypeData
        • When the Job Title Isn’t Suitable
        • ConfigMgr Specific Rules
      • The Setting - DownloadTypes
        • Delivery Optimization Jobs
      • Sample StifleRulez.xml
    • Securing StifleR Operations with SSL
      • Prerequisites
      • Using a Web Server Certificate
        • Requesting a Web Server Certificate
      • Using a Self-Signed Certificate
      • Preparing the StifleR Dashboard Web Site for SSL
      • Configuring StifleR to Use SSL
      • Finding the Certificate Thumbprint
    • StifleR Client Access Control Options
  • Operations
    • Dashboard
      • Overview & Navigation
        • Home Page
        • Traffic & Downloads
          • Transfers & Downloads
            • How to use query hosts search?
          • Running Sequences
          • Weekly Downloads Activity
          • History
        • Devices
          • Clients
            • Client Details
              • How to use an extended search?
          • Servers
          • StifleR Server
            • Templates Detail
        • Cache Management
        • System Resource Usage
        • Network Topology
          • Maps
          • Countries
          • Locations
            • Bandwidth Allocations and Locations
          • Network Groups
          • Networks
        • Reporting & Diagrams
    • Client Management & Remote Tools
      • Remote PowerShell Session
      • Remote Performance Counter
      • Remote WMI Browsing
      • Remote Event Log Viewer
      • Remote Netmon Session
    • Monitoring
      • StifleR server health
      • StifleR client health
      • BranchCache Testing and Monitoring
    • Maintenance tasks
    • Bandwidth Management and Allocation
      • Bandwidth Tuning Monitoring and Control
    • Backup and Recovery
      • Moving the StifleR Server Databases to a New Drive on the Same Server
    • Troubleshooting
      • StifleR Client Command Line Options
      • BranchCache across Subnets
    • StifleR WMI Provider
Powered by GitBook
On this page
  • Backup Operations
  • StifleR Databases
  • StifleR Configuration File
  • StifleR Rules File
  • Extra Scripts
  • Backup Maintenance Task
  • Backup Archiving
  • Client Behavior during Backup and Recovery
  • Recovery Operations
  1. Operations

Backup and Recovery

PreviousBandwidth Tuning Monitoring and ControlNextMoving the StifleR Server Databases to a New Drive on the Same Server

Last updated 10 months ago

This document guides you through a backup and recovery of a StifleR Server.

Backup Operations

StifleR have several components that needs to be backed up in order to do a successful recovery if something happens to the server. The components are:

  • StifleR Databases

  • StifleR Configuration File

  • StifleR License File

  • StifleR Rules File

  • Extra scripts

StifleR Databases

Backup of the five StifleR databases can be done either online or offline. The benefit of the online method is that you don’t have to stop the StifleR Server service during backup, but the downside is that it forces you to run a repair job of the database before they can be used in a restore. The offline backup method means stopping the StifleR service during backup, and then start it again after backup has completed. Benefits with this method is that you don’t have to repair the database before a restore.

The StifleR databases are using the Extensible Storage Engine (ESE) runtime in Windows (ESENT), and as such are often called ESENT databases. In addition to the core database files, the EDB files, ESE is also using recovery logs which are in the same folder as each database file.

By default, the databases are stored in C:\ProgramData\2Pint Software\StifleR\Server\Databases , and while the StifleR databases are not very big, we recommend storing them on data volume rather than the OS volume.

Note: The StifleR databases can be migrated to another drive using this process.

StifleR Configuration File

The StifleR Configuration File (StifleR.Service.exe.config) is located in the StifleR Server installation directory.

StifleR Rules File

The StifleR Rules File is often added to the C:\ProgramData\2Pint Software\StifleR\Rules folder, but can be in any folder as long as the IIS virtual directory knows where it is.

Extra Scripts

Additional custom scripts, like maintenance scripts, utility scripts, and generate location scripts should also be included in the daily backup.

Backup Maintenance Task

We recommend that you automate the StifleR backup by scheduling our backup script to run at least once per day. In the 2Pint GitHub repository, we provide a sample script that can be run in either online or offline mode, and if you select the offline mode, the script takes care of stopping and starting the StifleR Server service before and after the backup. The sample scripts also have sections for backing up additional files, like the rules file, that may be stored outside the normal StifleR installation directories. If that’s the case, simply modify the script to reflect your environment.

Backup Archiving

In addition to daily snapshots of the StifleR VM, or traditional daily file-level backup via your regular backup software, we recommend archiving at least a week worth of backup sets on a different server. The StifleR backups sets are quite small, rarely over 10 GB even in larger environments.

Client Behavior during Backup and Recovery

If the client cannot connect to server, due to networking roaming or other issues, the client will try to connect to the next server in the list. Failing to connect to a valid server eventually causes the client go into a disconnected state during which the bandwidth configure for disconnected mode will be applied. Once the StifleR Server has been restored, clients will automatically check in again, and go back to normal operations.

Recovery Operations

Restoring a StifleR Server is straight forward. If you have been using the offline backup, the restore process is a follow:

  1. Make sure to install a new VM with the same server name, disk layout, and OS version

  2. Install the version of StifleR you had before.

  3. Stop the StifleR service, delete the empty databases, and restore the ones you have in your backup.

  4. Restore the Configuration File

  5. Restore the Rules file, and recreate the IIS virtual directory

  6. Restore any additional scripts, and re-create scheduled tasks etc.

  7. Start the StifleR service

For an online backup the process is quite similar

  1. Make sure to install a new VM with the same server name, disk layout, and OS version

  2. Install the version of StifleR you had before.

  3. Stop the StifleR service, delete the empty databases, and restore the ones you have in your backup.

  4. Repair the StifleR databases using esentutl /p

  5. Restore the Configuration File

  6. Restore the Rules file, and recreate the IIS virtual directory

  7. Restore any additional scripts, and re-create scheduled tasks etc.

  8. Start the StifleR service

The five database files in their default location.
A database file and its recovery log files.