I would like to know where is the Stream configuration stored and also want to do a backup for the configuration.
Configuration from Splunk App for Stream is stored inside kvstore.
If you want to make a backup, you can run below command.
cd $SPLUNK_HOME/bin
./splunk cmd python ../etc/apps/splunk_app_stream/bin/kvstore_debug.py