prototype-cjdns-pi
prototype-cjdns-pi copied to clipboard
Add backup option
Idea - Add a "Backup" feature to create file(s) that can be placed on a USB drive, them the SD-Card re-build with the latest prototype build and then data restored to it to allow for easy-er upgrades
What should get backed up
- [x] /etc/cjdroute.conf
- [x] /etc/yggdrasil.conf
- [x] /home/pi/.ssb
- [x] /home/pi/.ipfs
Though + what to add
I like this idea a lot, although I wonder about if it distracts from the upgrade idea of deb pkgs.
I would also suggest providing the option to back up the home folder entirely.
I like this idea a lot, although I wonder about if it distracts from the upgrade idea of deb pkgs.
its good if you want to blow up your node and rebuild or even move nodes and as we all know sd cards fail
sudo tar uvf /tmp/backup.tar /etc/cjdroute.conf
sudo tar uvf /tmp/backup.tar /etc/yggdrasil.conf
sudo tar uvf /tmp/backup.tar /etc/cjdns.iptunnel.client
sudo tar uvf /tmp/backup.tar /etc/cjdns.iptunnel.server
sudo tar uvf /tmp/backup.tar /home/pi/.ssb
sudo tar uvf /tmp/backup.tar /home/pi/.ipfs
How's that?