Hi, recently I was forced to flash a medkit on my Omnia (btrfs self-destructed itself), so I was curious about how the cloud backups work. My experience follows. But generally, a big thumbs up for that! A lot of things worked out of the box after reboot (however, the user is not told in Foris he should reboot!).
works
- wifi config (2 private nets + 2 guest nets)
- custom rainbow
- LAN settings (including static leases)
- updater settings
- notification settings
- data collection settings
- netmetr
- pptp client and VPN server installed and configured (just autostart of the server was forgotten)
- sending of ucollect data
- sending of firewall logs
- firewall settings
- qos settings
- hd-idle
- samba
- minidlna (except it has a procd bug that prevents it being autostarted)
- mountpoints
doesn’t work
- openvpn (no CA) (/etc/ssl/ca missing)
- log says:
.
err openvpn(server_turris)[6361]: Cannot load certificate file /etc/ssl/ca/openvpn/01.crt
notice openvpn(server_turris)[6361]: Exiting due to fatal error
- tor relay (it got autoinstalled, but the checkbox in Foris is unchecked, config was missing)
- for some reason, it installed some German localizations
- storage: page shows sda1 selected, but "Device currently in use is mmcblk0p1 (internal flash). " and /srv is really on the flash
- this was a tough one, but I assume it’s because of my “weird” configuration where I also mount the storage drive using the fstab config to one more location… probably the storage plugin doesn’t play well with that and refused mounting an already mounted drive to /srv… adding manual entry for srv to the fstab config solved it
- authorized_keys (whole $HOME/.ssh missing)
- ddns - luci says the service is not set to autostart (but configs are there)
- custom shell (I had bash before, now ash)
- cron jobs
- nothing from $HOME (/root/)
- syslog-ng.conf
- mising git, screen
So, basically, I’d say that most of the stuff that didn’t work was because of:
- some config files are outside /etc/config and the plugin should backup also these
- the autostart flag was forgotten
- custom programs installed via opkg were not restored
Here are my suggestions for improvement:
- Tell the user explicitly in Foris, which data are backed up. I know foris is meant also for unexperienced users, but I can imagine having some “expert options” where you’d actually see what’s backed up and what’s not
- Include really all needed config files to the backup
- create a hook for opkg that would inform the user that the installed programs are not permament, and what he should do if he wants them to be permanent
One more thing - I noticed there’s a config in /etc/config/backups
which looks like a configuration for the backup utlility. Is there some documentation for it?