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

General support for problems installing or using Deluge
Post Reply
wsw70
Member
Member
Posts: 11
Joined: Sat May 14, 2011 8:46 pm

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

Post 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.
Last edited by wsw70 on Sat May 21, 2011 11:51 am, edited 1 time in total.
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

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

Post 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
wsw70
Member
Member
Posts: 11
Joined: Sat May 14, 2011 8:46 pm

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

Post 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.
Post Reply