prototype-cjdns-pi icon indicating copy to clipboard operation
prototype-cjdns-pi copied to clipboard

Add backup option

Open darkdrgn2k opened this issue 6 years ago • 4 comments

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

darkdrgn2k avatar Jan 20 '19 18:01 darkdrgn2k

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.

makew0rld avatar Jan 21 '19 02:01 makew0rld

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

darkdrgn2k avatar Jan 31 '19 01:01 darkdrgn2k

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

darkdrgn2k avatar Jan 31 '19 01:01 darkdrgn2k

sudo tar uvf /tmp/backup.tar /home/pi/.ssb
sudo tar uvf /tmp/backup.tar /home/pi/.ipfs

How's that?

makew0rld avatar Jan 31 '19 23:01 makew0rld