JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 16.07.2017, 19:17
marko117 marko117 is offline
Baby Loader
 
Join Date: Jul 2017
Posts: 6
Default Restore download list from .backup file

Hello. I would have a big problem. In practice I normally closed jdownloader but when I reopened my incomplete download list appeared, indeed, updated two months ago, missing all the links I've added in the last two months. I noticed that they were created in the cfg folder, five downloadlistxxxxx.zip files all created at the same time and all containing the same incomplete download list. I noticed that in the same folder there are files and downloadlistxxxxx.zip.backup with an older number and bigger size bigger than those that have just been created, and I assume that they contain the full list. I tried to rename the following by removing .backup by getting a .zip file but without result, and I even tried to create a new .zip file by extracting the .backup content but the list is left blank. The existence of these .backup files is useful for restoring my download list without missing links? And if they are useful, how can I retrieve the list before this problem occurs?
Thanks
Reply With Quote
  #2  
Old 17.07.2017, 19:05
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 68,457
Default

Is the .backup file error free? Can you open it with Archive tool? How big is it?
The creation date of the file tells you how old the .backup file is.
In case it's not too old/big, you can send me the file to support@jdownloader.org and I can try to rescue the data
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 18.07.2017, 01:40
marko117 marko117 is offline
Baby Loader
 
Join Date: Jul 2017
Posts: 6
Default

Quote:
Originally Posted by Jiaz View Post
Is the .backup file error free? Can you open it with Archive tool? How big is it?
The creation date of the file tells you how old the .backup file is.
In case it's not too old/big, you can send me the file to support@jdownloader.org and I can try to rescue the data
it is error free. i open it with 7zip. the size is 500mb. Contains many many links:P. it is too big for your proposal xD.
How can i do something? what would you do?

ps. I did the same thing with other smaller .backup files with few links but I get the same results

Last edited by marko117; 18.07.2017 at 01:53.
Reply With Quote
  #4  
Old 18.07.2017, 09:47
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 68,457
Default

You have to rename the .backup file to one without .backup and also give it the highest number.
For such a large list, it is very likely that your JDownloader goes out of memory and that's why it fails to load the list.
You should increase max memory in .vmoptions file.
Open it with texteditor and remove any -Xms line
and add a new line with -Xmx2g or -Xmx4g for 2 or 4gb memory.
500MB zip means 10k of 100k of links?!
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 18.07.2017, 09:59
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 68,457
Default

If you need help with that, please let us know
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 18.07.2017, 17:30
marko117 marko117 is offline
Baby Loader
 
Join Date: Jul 2017
Posts: 6
Default

I tried this method and it works with small .backup files of 20mb or 50mb but not bigger. But in this way I retrieve an old list a year ago. With those bigger than 70 mb and up to what i need for 500 mb (about 100k link.xD) after i open jdownloader the bar of loading of new links normally appears and at the end of the loading nothing appears. At the same time as this file bar disappears, the file I rename .zip returns to be a .backup file. I noticed that after I close jdownloader, a new file of the list that follows the numbering of the .backup file that I renamed is created, and the size is 1kb, most likely because it does not contain anything. The strange thing about the file about 330mb I mentioned in the first post dating back to months ago works and loads everything. So I think the problem is tied to the .backup file than the heap memory, but it's just theories.
ps. I have reinstalled everything (keeping the cfg folder) by also updating java but i get the same results
Reply With Quote
  #7  
Old 18.07.2017, 19:06
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 68,457
Default

Did you increase memory? It is important to provide enough memory
How much memory does your system have?
For 500mb zips I suggest to provide 4 or more GB of memory
-Xmx4g
or
-Xmx6g
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 18.07.2017, 23:47
marko117 marko117 is offline
Baby Loader
 
Join Date: Jul 2017
Posts: 6
Default

i have 12gb ram.
I tried to set -Xmx with different values ​​to grow even more than 6gb but I get the same result: the .zip file returns to be a .backup file after loading new links at jdownloader startup. Setting with 6g and starting jdownloader the cpu used is about 20% and memory used is 47%.
I noticed that using low-Xmx (-Xmx1g or -Xmx2g) values ​​the loading time for the new links increases drastically, along with the use of the cpu and ram; The time the loading time decreases with values ​​above -Xmx3g.
I'm crazy I do not understand where the problem
Reply With Quote
  #9  
Old 19.07.2017, 10:38
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 68,457
Default

The problem is that your List is too heavy to load for not enough memory.
Less memory = more CPU required for memory management.

Try to use -Xmx10g, if that does not work, the zip file might be broken.
I can take a look via Temviewer if you like, just contact us via support@jdownloader.org
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 19.07.2017, 15:38
marko117 marko117 is offline
Baby Loader
 
Join Date: Jul 2017
Posts: 6
Default

I solved! After opening .backup, I ordered the files in CRC order through 7zip and I noticed some files with CRC equal to 000000 (I assume they are corrupted files). By deleting these .backup files renamed in .zip jdownloader loads the list but contains missing file deleted file listing hangs up to that point. I need to see if retrieving deleted files from other backups resumes the listing properly. In any case, the loading .zip file .zip has been resolved. Thank you for your help and patience. I'll tell you if I can see the entire list by replacing the deleted files.
Reply With Quote
  #11  
Old 19.07.2017, 15:44
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 68,457
Default

I will add better support to load .backup files that are broken and import as much as possible.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #12  
Old 19.07.2017, 15:46
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 68,457
Default

__________________
JD-Dev & Server-Admin
Reply With Quote
  #13  
Old 20.07.2017, 00:34
marko117 marko117 is offline
Baby Loader
 
Join Date: Jul 2017
Posts: 6
Default


Last edited by raztoki; 20.07.2017 at 04:26.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 23:29.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.