Page 1 of 1

migrate deluge config between OS

Posted: Mon Feb 18, 2019 3:36 am
by xaeiou

I'm trying to migrate deluge configs between different OS, mainly windows and linux.

There have already been some threads about this which I've read, specifically:


The conclusions seem to be:

1. You can edit storage paths in torrents.state (plaintext) to match the new OS, and delete torrents.fastresume. Then your torrents will need to be rechecked when you start deluge.

2. You can try to edit paths in torrents.fastresume (binary) but the torrent will still need to be rechecked anyway.

The reason to do step 2 relates to my question, which is: what happens if you've made changes to filenames of the torrent data? eg, if I've changed "S01E01-blahblah.mkv" to simply "S01E01.mkv". I think this is not stored in torrent.state, but in torrents.fastresume (by "mapped_files" in that file). Just wondering if anyone else has done this kind of move and can confirm this is the case?

Anyway, I'll test myself and report back :)

Re: migrate deluge config between OS

Posted: Sat Feb 23, 2019 12:45 am
by xaeiou
I completed my migration, and can confirm mapped_files is storage in the torrents.fastresume, as are a number of other things as described here:

I managed to edit both torrents.state and torrents.fastresume with notepad++ (even tho the latter file is binary) and change paths to reflect the new server/OS configuration.

It seems if you are careful this can be done cleanly.

Re: migrate deluge config between OS

Posted: Mon Feb 25, 2019 8:48 am
by shamael
Thank you for the feedback :)