---
updatedAt: 2026-04-14T18:10:58.000Z
agentTools:
  projectIndex: https://snipe-it.readme.io/llms.txt
---

# Backup & Restore

Snipe-IT comes with GUI-based and command line based backup and restore utilities. You can generate or download a backup in `Admin > Backups` through the web interface:

<Image align="center" width="100%" src="https://files.readme.io/c05a63e-Screen_Shot_2022-08-24_at_1.04.44_PM.png" />

... or you can use the command line tool:

```shell
php artisan snipeit:backup
```

The Snipe-IT Backup utility will create a **SQL dump of your database** along with **any images or file attachments** you have uploaded, and zip them up with a timestamp.

For information on automating these backups to run periodically, see the [documentation on configuring alerts and backups](https://snipe-it.readme.io/docs/configuring-alerts-backups).

The restore utility will take an existing backup that was generated through Snipe-IT and will restore it to that point in time. This can be helpful if you made a mistake in importing and need to roll back to a previous known-good state, and can also be helpful if you're migrating Snipe-IT from one server to another.

> 🚧 NOTE:
>
> The restore utility will NOT modify an existing `.env` file. If there are settings in your old system that you need applied to the restored version, you will need to manually apply those changes in the `.env`.

> ❗️ Important!
>
> As mentioned in the Backup & Restore screen, restoring will log you **and everyone else out of the system**.

## Assembling a Snipe-IT Compatible Backup File

If for some reason you can't get the Snipe-IT-generated backup to work (and for example have to do a manual database dump, etc), the file structure Snipe-IT is expecting in the .zip file you can assemble it yourself:

* SQL file should be at the top level. It can be named anything, but must end in `.sql` and there must only be one.
* You should have a `public/uploads` directory (with subdirectories) and a `storage/private_uploads` directory (with subdirectories).
* Anything else in the zip file will be skipped.

![](https://files.readme.io/e859c19-Screen_Shot_2022-09-27_at_3.34.43_PM.png "Screen Shot 2022-09-27 at 3.34.43 PM.png")

![](https://files.readme.io/353f37b-Screen_Shot_2022-09-27_at_3.34.27_PM.png "Screen Shot 2022-09-27 at 3.34.27 PM.png")

Then you should be able to upload the newly created backup file and use the web-based GUI restore tool.