Page 1 of 1

[SOLVED] conf rewritten at restart & how to recover torrents

Posted: Sat May 21, 2011 9:13 am
by wsw70
Hello,

I restarted today my debian box running deluge 1.3.1 and all the deluge config files got rewritten :cry: . I lost all my settings (which is bad but recoverable) but also all my torrent currently downloading and seeding.

Question 1: would there be a reason for deluge to overwrite config files at restart (for an otherwise perfectly working install)?

Question 2: is there a way to either recover my torrents or somehow download a new torrent which would take into account the existing files (including large, but uncompleted ones)?

Thank you in advance for any hint.

Re: config partle rewritten at restart & how to recover torr

Posted: Sat May 21, 2011 9:46 am
by johnnyg
Most likely deluge didn't have enough time to save everything before it was killed.
To prevent this from happening again, manually shutdown deluge before restarting.

The actual files (partial or complete) you downloaded should still be on disk.
This means that if you add the same torrent again to deluge and tell it to download where the partial/complete files exists, then deluge will check it and either resume downloading it or start seeding it.
Check the FAQ: http://dev.deluge-torrent.org/wiki/Faq# ... nttodeluge

[SOLVED]config partly rewritten at restart & how to recover

Posted: Sat May 21, 2011 11:46 am
by wsw70
johnnyg wrote:Most likely deluge didn't have enough time to save everything before it was killed.
To prevent this from happening again, manually shutdown deluge before restarting.

The actual files (partial or complete) you downloaded should still be on disk.
This means that if you add the same torrent again to deluge and tell it to download where the partial/complete files exists, then deluge will check it and either resume downloading it or start seeding it.
Check the FAQ: http://dev.deluge-torrent.org/wiki/Faq# ... nttodeluge
Thank you for the information. This is a good opportunity now to set up reliable backup :)

I have reloaded the torrent and it caught up as you predicted. I guess it is a good idea to keep the .torrent files (though the "copy torrent file" option I believe). I will have to review the shutdown script as it should have waited upon proper shutdown of deluge.