Easy2Patch v4.0
Easy2Patch v4.0
  • Infrastructure Documents
  • Overview
    • What is Easy2Patch?
    • Request a new 3rd Party Applications
    • FAQs
    • Road Map
    • Release Notes
    • Version Compare
    • Licensing
  • Planning
    • POC Requirements for Easy2Patch 3.1
    • POC Requirements for Easy2Patch 4.0 Web Edition
    • Supported Configurations
    • Windows Operating System Requirements
    • SQL Server Requirements
    • Other Requirements
    • Network Considerations
    • Antivirus Exclusion List for Easy2PatchV3
    • Design
      • Update & Application & Intune (Server Deployment)
      • Standalone WSUS Deployment
      • Standalone Intune Deployment
  • Deployment
    • Installing WSUS Console
    • Installing SCCM Admin Console
    • Installing IIS Component for Easy2Patch 4.0
    • Configuring Intune Application Registration
    • Getting Code-Signing Certificate
    • Installing Easy2Patch 3.1
      • Upgrading to Easy2Patch 3.1.10
      • Licensing Easy2Patch 3.1
    • Installing Easy2Patch 4.0
      • Upgrading Easy2Patch 4.0
      • Easy2Patch Backup & Restore
      • Licensing Easy2Patch 4.0
  • Configuring
    • SSL Configuration in WSUS for 3rd Party Update
    • Configuring ConfigMgr for 3rd Party Updates
    • Easy2Patch 3.1 Settings
      • General
        • Certificate Management
        • Backup Settings
          • Restore Easy2Patch 3.x
        • General Settings
        • Application Deployment
        • Intune Deployment
        • Maintenance
      • Notification
        • E-Mail
        • Telegram
          • Creating a Telegram Bot
          • Telegram Chat ID
      • SCCM / WSUS / INTUNE
        • WSUS Settings
        • SCCM Settings
        • Database Settings
        • Intune Settings
      • Proxy
    • Easy2Patch 4.0 Settings
      • Migrate from Easy2Patch 3.x
      • General Settings
        • General
        • Identity
          • Active Directory
          • EntraID
            • Required Permissions for EntraID
        • Proxy
        • Log
        • Maintenance
        • Login
      • Deployment Settings
        • Process Conflict
        • Update
        • Application Deployment
        • Intune Deployment
        • Defender
      • Connection Settings
        • Database
        • SCCM
        • WSUS
        • Intune
      • Managements
        • Role
        • License
        • Certificate Management
      • Alert Settings
        • Notification
          • E-Mail
          • Telegram
            • Creating a Telegram Bot
            • Telegram Chat ID
            • Telegram Setting
        • Alerts
        • Recipients
  • Managing Easy2Patch
    • Easy2Patch 3.1
      • Update
      • Application Deployment
      • Intune Update
      • Intune Application
      • License Management
    • Easy2Patch 4.0
      • Dashboard
        • WSUS
        • SCCM
        • Intune
      • Update
        • Application Custom Settings
        • WSUS Maintenance
        • Side Menu
      • Application
        • Application Deployment Right Click Menu
        • Application Custom Settings
        • SCCM Maintenance
        • Side Menu
      • Intune Update
        • Intune Update Right Click Menu
        • Application Custom Settings
        • Intune Maintenance
        • Side Menu
      • Intune Application
        • Intune Application Right Click Menu
        • Application Custom Settings
        • Intune Maintenance
        • Side Menu
      • CVE List
      • Schedule
      • Reporting
        • Update Status
  • Troubleshooting
    • Schema files not found!
    • Failed to sign package
    • Fixing 500.19 web.config error
    • Securing Windows Server
Powered by GitBook
On this page
  • Backup Easy2Patch 4.0
  • Backup Downloaded Files
  • Backup Code Signing Certificate
  • Backup Database
  • Restore Easy2Patch 4.0
  • Installing Easy2Patch 4.0 on a New Machine
  • Restore Downloaded Files
  • Restore Easy2Patch Database
  • Restore Code Signing Certificate

Was this helpful?

  1. Deployment
  2. Installing Easy2Patch 4.0

Easy2Patch Backup & Restore

Scope: Easy2Patch 4.0

PreviousUpgrading Easy2Patch 4.0NextLicensing Easy2Patch 4.0

Last updated 7 months ago

Was this helpful?

Backup Easy2Patch 4.0

It is important to back up the Easy2Patch software periodically. This backup will allow the failed server to be restored. With backup, all configurations, certificates, and software inventories sent to the ConfigMgr/WSUS/Intune system are protected. The data that needs to be backed up and how to back them up are explained below.

There are 3 backup parts: These backups will be taken under a single folder and this folder will be backed up by the central backup system. If the backup of the server used is taken apart from manual backup, all components can be recovered at once. The backup steps and files to be backed up with manual or specially created jobs are explained below. The order of operations is not important. Although it is not necessary to stop the service, it is recommended to stop the service so that the data does not change.

  1. Download folder containing downloaded 3rd Party software.

  2. Code signing certificate

  3. Database

Backup Downloaded Files

The 3rd Party installation files downloaded by Easy2Patch are located in the address specified by Download Path under General Settings. There is a folder named Download in the root directory of the selected drive. This folder should be backed up.

Backup Code Signing Certificate

The Code Signing certificate used by WSUS must be backed up in case it needs to be signed again after rollback. This certificate is located in the LocalMachine\TrustedPublishers container and must be backed up with the private key.

Backup Database

Easy2Patch 4.0 stores all configuration data in the SQL Server database. Important data such as information about deployed applications and superseded relationships between resubmitted applications are stored in the database. Database backup can be taken with a job you define on the SQL Server agent, manually or with backup software. The backup file with the bak extension should be stored in a separate location with other backups. The following SQL script can be used to take backups. You should change the C:\SQL\BACKUP path to a folder path in your environment.

BACKUP DATABASE [Easy2Patch] TO  DISK = N'C:\SQL\BACKUP\Easy2Patch.bak' 
WITH NOFORMAT, INIT,  NAME = N'Easy2Patch-Full Database Backup', 
SKIP, NOREWIND, NOUNLOAD,  STATS = 5

Restore Easy2Patch 4.0

After reinstalling Easy2Patch for various reasons, it is necessary to restore old data. When you restore the data, the system will continue where it left off. For this purpose, you need to perform a normal Easy2Patch installation before the restore. It should be noted that if Easy2Patch is installed on a newly installed operating system (different from the server it is licensed for), the license will not come with the restore. In order for the license to be activated, sales@easy2patch.com or support@easy2patch.com must be contacted. The following backups should be restored in order. As in the backup, the service should be stopped during the restore. The service should be restarted after the operations are completed.

  • Download folder containing downloaded 3rd Party software.

  • Code signing certificate

  • Database

Installing Easy2Patch 4.0 on a New Machine

Install Easy2Patch 4.0 software as if you were doing a new installation. If the database is already installed on SQL Server, you should delete it. Complete all your configurations with the FTW wizard that will be run after the installation. For installation procedures, see. Installing Easy2Patch 4.0.

Restore Downloaded Files

The backed up download folder is copied to the root directory of the drive selected on the settings screen. For example: D:\Download.

Restore Easy2Patch Database

Easy2Patch database must be restored from SQL management interface. The following T-SQL can be used for restore. If a backup was taken with a backup software, the restore process must be done through this software.

The T-SQL script that can be used for Manual Restore will be as follows. Change the path of the backup (bak) file according to your system.

The SQL Server version must be equal to or higher than the version of the backup system. Otherwise, you cannot restore the database.

USE [master]
ALTER DATABASE [Easy2Patch] SET SINGLE_USER WITH ROLLBACK IMMEDIATE
RESTORE DATABASE [Easy2Patch] FROM  DISK = N'C:\SQL\BACKUP\Easy2Patch.bak' WITH  FILE = 1,  NOUNLOAD,  REPLACE,  STATS = 5
ALTER DATABASE [Easy2Patch] SET MULTI_USER
GO

After the database restoration process is completed, you can complete the licensing process.

Restore Code Signing Certificate

Finally, the code signing certificate must be imported. Click the import button under Settings\Management\Certificate, select the backed up code signing pfx file, and enter the certificate's password to complete the process.

Stop service from Schedule Pane
C:\ Drive used for downloaded files
Export Selected Certificate