Just setup my new WNDR3800 and am _really_ committed to do proper documentation&backups from the very beginning.
Unfortunately I do not have enough developer-fu to port bacula-client to OpenWRT. So I need another way to backup my changes.
I really like the LUCI backup utility. I can easily add files and folders there. Which might at some time become a Bacula fileset.
In commandlinefu I found http://www.commandlinefu.com/commands/v … ole-system which can be easily updated to the new luci application:
cleartextpassword=`cat /root/rootpassword.txt`; curl -d "username=root&password=${cleartextpassword}" "http://localhost/cgi-bin/luci/admin/system/flashops?backup=backup" > /mnt/sda3/foobar.tgz
I already have an visudo-enabled user on that router, I will expand this small snippet once it's proven its usefulness. I think I will create a backup-user, I could even sudo-passwd set a random password before each invocation and enable/disable login before/after a cron-called script.
Another way to backup is arokh's way https://forum.openwrt.org/viewtopic.php … 87#p132887 to backup /overlay. I did not use that because of my intention to document-backup my system -- I really like the "fileset"-approach.