# Backup

## Leapwork Export/Import Flows using PowerShell Script through API

Introduction: Leapwork allows us to easily test the endpoints in the API and explore the results. The below article will enable us to Export & Import flows from the Leapwork using PowerShell Script using API . Prerequisites: We will need to know the following information before proceeding: Step 1. Controller Hostname - Go to the machine...

## Leapwork Platform/SME/Commercial - Database Backup steps

While working on Leapwork Platform edition, the Leapwork Controller holds all data, such as flows, sub-flows, images, schedules, and locators, etc., in the form of multiple .sqlite database files. The Controller also holds automation runs containing test flow execution artifacts, similar to automation run video and screenshots. If we...

## Leapwork Enterprise - SQL Database Backup steps

To take a backup of your database using SQL Server Management Studio, follow steps mentioned below: You must follow the below prerequisites before taking the backup: Pre-requisites: Export all the flows and save them. Stop the Leapwork Controller service from windows services. Take a backup of the C:\Program Files\Leapwork\Assets folder,...

## Steps to Restore SQL Database via SQL Server Manager

To restore your database, follow these steps: Launch SQL Server Management Studio (SSMS) and connect to your SQL Server instance. Right-click the Databases node in Object Explorer and select Restore Database. Select Device radio button from Source then click on three dots. Click on Add and select the Assets and Report DB from the machine....
