Hey,
I would like to store a backup of the DietPi configuration on the micro SD card with DietPi in a different place than on the card itself. How should I proceed?
Thank you very much.
Hey,
I would like to store a backup of the DietPi configuration on the micro SD card with DietPi in a different place than on the card itself. How should I proceed?
Thank you very much.
Hi,
you can use an USB stick (as I do) or use a NFS share. Just change the location inside dietpi-backup to your attached storage.
@Joulinar:
Is the USB stick mounted automatically or do I have to mount it manually? Will the then new location be mounted automatically?
So, as I understand it, this means that in case of a system restore I have to recreate an SD card with DietPi, then plug in the USB stick with the backup and restore the system from it?
Please: I am not a Linux expert, but would still like to understand how it works.
Kind regards.
It basically quite simple,
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
# 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
thats it.