A. Database backup on windows
The databases from the source BrowserStack Code Quality machine is backed up using the following steps:
- Get the batch file at C:\ProgramData\Gamma\gamma_ui\dbscripts\scripts
\backup_restore.bat . - Execute the file. A command prompt will be displayed. Follow the inquiries to backup the database.
![](https://docs.embold.io/wp-content/uploads/2019/11/WindDBBackup.png)
B. Files backup on windows
The source files from the source BrowserStack Code Quality machine are backed up using the following steps:
- Get the batch file at
C:\ProgramData\Gamma\gamma_ui\dbscripts\scripts\backup_restore.bat . - Execute the file. The command prompt will be displayed. Follow the inquiries to back up the source and logs.
- To back up the logs, provide the destination directory as shown in the below screens.