One thing that has always bothered me is that there has always been little way of getting data in and out of Bongo stores easily. Well, no longer (sort of): I’ve upgraded the storetool a bit to make this easier. Some examples are better than words:

$ ./sbin/bongo-storetool -u admin -s _system list /config
0000000000000011 4096 /config/aliases 0
0000000000000013 7 /config/queue 705
0000000000000014 7 /config/pop3 50
0000000000000015 7 /config/mailproxy 100
0000000000000016 7 /config/antivirus 155
0000000000000017 7 /config/global 76
0000000000000018 7 /config/smtp 512
0000000000000019 7 /config/manager 711
000000000000001a 7 /config/imap 70
000000000000001b 7 /config/antispam 61
$ ./sbin/bongo-storetool -u admin -s _system get /config/pop3 out
$ cat out
{
 "version": 1,
 "port": 110,
 "port_ssl": 995
}
$ # do some editing of out
$ ./sbin/bongo-storetool -u admin -s _system put /config/pop3 out

It’s not totally complete yet: we need some commands to remove, move documents, fiddle with types, flags and properties too – but it’s a start!