TSF – Giải pháp IT toàn diện cho doanh nghiệp SMB | HCM

Snipe-IT Backup & Restore on Windows XAMPP | Manual + Scheduled Tasks

This guide shows you how to perform a full Snipe-IT backup and restore on Windows using XAMPP.
We explain how to create a manual backup for Snipe-IT files and MySQL database step by step.
You will also learn how to automate backups using Windows Task Scheduler for better data protection.
The tutorial covers best practices for backup folders, permissions, and retention policies.
We demonstrate how to restore Snipe-IT data quickly in case of system failure or data loss.
This guide is suitable for Windows 10, Windows Server, and XAMPP environments.
Whether you are running Snipe-IT for production or internal IT asset tracking, this tutorial is practical and easy to follow.By the end of this tutorial, you’ll be confident in managing Snipe-IT backups on Windows safely and efficiently.

#1. Backup manual

Step 1: Edit fle .env

C:\xampp\htdocs\snipe-it edit the line
DB_DUMP_PATH=’C:\xampp\MySQL\bin’

Step 2: Open cmd with admin rights and run the commands in turn


cd C:\xampp\htdocs\snipe-it
php artisan config:clear
php artisan config:cache

Step 3: Restart service xampp


Stop apache and mysql in xampp control and run again.

Step 4: Gui snipeIT  Admin  Backup  General Backup

When clicking General Backup, the system automatically generates a backup file in the path /app/backups
C:\xampp\htdocs\snipe-it\storage\app\backups

Click directly on the file to download the backup or copy it in app/backup.

#2. Backup schedule


Step 1: Create a folder in drive C named Script.

In here, create a bat file named snipebackup.bat with the following content:
cd C:\xampp\htdocs\snipe-it
php artisan snipeit:backup

Step 2: Create a Task

Schedule to run the bat file periodically according to the request.

#3. Restore

In case we need to restore snipe, access
<IP Snipe>/phpMyAdmin
192.168.16.134/phpmyadmin

Step 1: Prepare the backup.zip file

Step 2: Import


Select database snipeit => Import => Point to the backup.zip file

Step 3: Restart service xampp


Stop and restart Apache/MySQL of xampp control.