Sujet : Re: NAS Backup solution?
De : deloptes (at) *nospam* gmail.com (Deloptes)
Groupes : comp.sys.raspberry-piDate : 26. Jun 2025, 09:07:36
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <103iv49$3bpki$1@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : KNode/0.10.9
Chris Elvidge wrote:
Example?
Example for what?
I already explained.
I backup all systems on a borg backup server.
I boot from a usb stick and let borg restore from the backup server.
Do you mean example how to do it?
1. I do lvm snapshots of the running system and mount them to a directory
(/backup)
2. I do the borg backup
3. umount and remove snapshots
I scripted this, so it is done automatically. Snapshots solve issue with
changing files while system is running.
To restore (full restore - for example replacing disk after failure or
whatever reason)
1. I boot from usb
2. I create the lvms and mount them (/backup)
3. restore from backup
4. (optional if disk is new) chroot, fix disk ids and install grub etc.
Deduplication and compression which are featured by borg make huge
difference in the disk size side. It is about 1:10 or even higher ratio.