migrate deluge config between OS

xaeiou
New User
New User
Posts: 4
Joined: Thu Jun 13, 2013 2:50 am

migrate deluge config between OS

Postby xaeiou » Mon Feb 18, 2019 3:36 am

Hi,

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:

viewtopic.php?f=10&t=14635
viewtopic.php?t=54146

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 :)

xaeiou
New User
New User
Posts: 4
Joined: Thu Jun 13, 2013 2:50 am

Re: migrate deluge config between OS

Postby xaeiou » Sat Feb 23, 2019 12:45 am

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:

https://libtorrent.org/manual-ref.html#fast-resume

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.

shamael
Super Seeder
Super Seeder
Posts: 474
Joined: Sat Oct 08, 2016 9:28 am

Re: migrate deluge config between OS

Postby shamael » Mon Feb 25, 2019 8:48 am

Thank you for the feedback :)


Return to “Off-topic Discussion”

Who is online

Users browsing this forum: No registered users and 0 guests