Moving qB from Windows to Docker?
Posted: Fri Feb 28, 2020 2:40 am
I've been using qB on Windows for quite some time but now want to move it to a new system using a Docker container. I'm using unRAID and there are 2 Docker containers I’ve found that both seem to support qB with or without VPN. I’m OK with configuring the Docker to use my VPN but not sure of the best method to move when changing OS.
My main xquestion is how do I transfer my history/ratio/active/seeding torrents from my Win10 install to the Docker container? I did some web searches and looked through the Wiki but didn't find much. I suspect some of it will come when I migrate files from their Windows locations to their unRAID/Linux locations as per the FAQ:
Windows:
preferences:
%APPDATA%\qBittorrent = C:\Users\<username>\AppData\Roaming\qBittorrent
.torrent files, logs, etc:
%LOCALAPPDATA%\qBittorrent = C:\Users\<username>\AppData\Local\qBittorrent
GNU/Linux:
preferences:
~/.config/qBittorrent/
.torrent files, logs, etc (This is the standard XDG data folder):
~/.local/share/data/qBittorrent/
There will obviously be new paths to the incoming temp folder and the folder/drive(s) with completed/seeding torrents. There must be somewhere that I could edit the file locations to point to the new path(s) I mount in the Docker container. Moving the preferences/torrents/completed content is simple enough, but re-adding the torrents from the indexer(s) and specifying the new download location would be tedious.
Is there a way to batch edit the download location and change it from the old Windows path to the new mountpoint(s) in the Docker container? Or perhaps create some sort of alias or symbolic link so that paths like say 'E:\Complete' would be mapped to their replacement(s) in the Docker/unRAID environment?
It would be great if I could change the download location for all files in a particular drive/folder at once, but if I have to do it individually for each file, that's going to be just as tedious as re-adding the .torrent files from the indexer(s).
Any suggestions appreciated. Thanks!
My main xquestion is how do I transfer my history/ratio/active/seeding torrents from my Win10 install to the Docker container? I did some web searches and looked through the Wiki but didn't find much. I suspect some of it will come when I migrate files from their Windows locations to their unRAID/Linux locations as per the FAQ:
Windows:
preferences:
%APPDATA%\qBittorrent = C:\Users\<username>\AppData\Roaming\qBittorrent
.torrent files, logs, etc:
%LOCALAPPDATA%\qBittorrent = C:\Users\<username>\AppData\Local\qBittorrent
GNU/Linux:
preferences:
~/.config/qBittorrent/
.torrent files, logs, etc (This is the standard XDG data folder):
~/.local/share/data/qBittorrent/
There will obviously be new paths to the incoming temp folder and the folder/drive(s) with completed/seeding torrents. There must be somewhere that I could edit the file locations to point to the new path(s) I mount in the Docker container. Moving the preferences/torrents/completed content is simple enough, but re-adding the torrents from the indexer(s) and specifying the new download location would be tedious.
Is there a way to batch edit the download location and change it from the old Windows path to the new mountpoint(s) in the Docker container? Or perhaps create some sort of alias or symbolic link so that paths like say 'E:\Complete' would be mapped to their replacement(s) in the Docker/unRAID environment?
It would be great if I could change the download location for all files in a particular drive/folder at once, but if I have to do it individually for each file, that's going to be just as tedious as re-adding the .torrent files from the indexer(s).
Any suggestions appreciated. Thanks!