Choose language

Portal Home > Knowledgebase > How-to > Hosting > Other software > autodl-irssi backup and migration


autodl-irssi backup and migration




Please log in to your rutorrent from where you want to make autodl-irssi configuration migration and go to the autodl-irssi tab, then click on the backup button. Download the autodl.cfg file and save it on your device. Now log in to rutorrent where you want to import configuration, go to the autodl-irssi tab and use the browse button. Now point to the autodl.cfg file downloaded and click on the restore button. The configuration from the old server should be imported to the new one.
If you have restored your autodl-irssi from a backup file and you are getting the following error
Error downloading files. Make sure autodl-irssi is started and configured properly (eg. password, port number): Error getting files listing: Error: Could not read from socket: (104) Connection reset by peer
you need to fix the config to get it running because your backup file contains the old port and password while the new installation has them different. These 2 commands will fix it:

irssipass=$(awk "NR==3" ~/www/$(whoami).$(hostname)/$(whoami)/rutorrent/plugins/autodl-irssi/conf.php | awk -F "\"" '{print $2}');sed -i "s/gui-server-password.*/gui-server-password = $irssipass/" .autodl/autodl.cfg

 

irssiport=$(awk "NR==2" ~/www/$(whoami).$(hostname)/$(whoami)/rutorrent/plugins/autodl-irssi/conf.php | grep -o [0-9]*);sed -i "s/gui-server-port.*/gui-server-port = $irssiport/" .autodl/autodl.cfg


Restart your autodl-irssi and everything should be OK.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read

Powered by WHMCompleteSolution