# Backup in another place

**URL:** <https://dietpi.com/forum/t/backup-in-another-place/5241>\
**Category:** General Discussion\
**Created:** [25 April 2021 19:56 UTC](https://dietpi.com/forum/t/backup-in-another-place/5241 "2021-04-25T19:56:34Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [25 April 2021 21:23 UTC](https://dietpi.com/forum/t/backup-in-another-place/5241/4 "2021-04-25T21:23:02Z")

</div>

It basically quite simple,

1. plug the USB stick in your SBC
2. run dietpi-drive\_manager and mount your USB stick to something like /mnt/usb
3. leave dietpi-drive\_manager
4. run dietpi-backup
5. select Location \> Manual and enter /mnt/usb/dietpi-backup
6. go back to main menu and run the Backup
7. as well a backup can be created from CLI via dietpi-backup 1
8. that’s it. On next Backup the USB stick will be mounted automatically

If needed the backup can be restored on the current system or on a fresh install. If you like to restore the backup on a fresh install, just do following

1. download a new image
2. flash the image to SD card
3. once done place the SD card back to your computer
4. open dietpi.txt in the bootFS
5. ensure restore value set AUTO\_SETUP\_BACKUP\_RESTORE=1

```nohighlight
# Restore a DietPi-Backup on first boot: 0 => disable | 1 => interactive restore (show list of found backups) | 2 => non-interactive restore (restore first found backup)
# - Simply attach the drive/disk/stick with contains the backup. All attached drives will be mounted temporarily and searched automatically.
AUTO_SETUP_BACKUP_RESTORE=1

```

1. this will scan your USB drives on first boot and provide a list of backups found
2. just select you backup, wait a moment and reboot your system afterwards

thats it. 🕶

---

_[View the full topic](https://dietpi.com/forum/t/backup-in-another-place/5241)._
