I run SABnzbd on a lot of different systems. Each time I have to type the newsserver settings into the newly setup SABnzbd. I found a work around:
On the system with all the newsserver settings:
Code: Select all
grep -i -A1000 '^\[servers\]$' sabnzbd.ini | grep -B1000 '^\[categories\]$' | grep -vi -e '^\[servers\]$' -e '\[categories\]' > sabnzbd.server-settings.ini
cat sabnzbd.server-settings.ini | grep username | wc -l
On the fresh system, start the SABnzbd with the wizard, and fill out one dummy server (for example "removethis.org"):
Code: Select all
sabnzbdplus -f sabnzbd-dummy.ini
Code: Select all
sed -i '/\[servers\]/r sabnzbd.server-settings.ini' sabnzbd-dummy.ini
HTH