26 October 2019, 10:57 | #1 |
Registered User
Join Date: Oct 2019
Location: UK
Posts: 107
|
Question about lha and large archives
im currently in the middle of using lha on dopus to create an archive on my pcmcia cf card
im creating an archive rather than just copying the files because lha will probably preserve amiga file permissions and any strange formatted files, whereas just copying to a fat32 cf wouldnt first, how long is it going to take on a stock a1200 to lha 2gigs worth of data? days?? second, the memory usage seems very large. after 30minutes lha has already used up all 4mb of my fast ram third, lha in dopus doesnt seem to produce any output onscreen as to what its currently doing. is that normal? i know the file is being created as ive checked the cf card fourth, how do i stop the archive process if its taking too long? |
26 October 2019, 11:33 | #2 |
Registered User
Join Date: Feb 2018
Location: London / UK
Posts: 112
|
For backups I'd recommend trying something like ABackup:
http://aminet.net/package/disk/bakup/abackup If you don't want to risk rebooting the system it will probably stop at some point after running out of memory. |
26 October 2019, 12:17 | #3 |
Registered User
Join Date: Oct 2019
Location: UK
Posts: 107
|
yeah i think it must haqve ran out of memory.
i looked at my amiga after an hour and there was only a black screen and no keys worked. the lha idea is out. ill lookup that abackup |
26 October 2019, 12:25 | #4 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 4,911
|
I am using the following in the startup-sequence :
Code:
setenv lhaopts -2D3arex Never had a 'stuck' like you described and I also archive my system like this. Just give another try |
26 October 2019, 12:31 | #5 | |
Registered User
Join Date: Oct 2012
Location: South Shields
Posts: 812
|
Quote:
I prefer to make zip archives using WinUAE rather than lha, it seems much better suited to huge files. Last edited by -Acid-; 26 October 2019 at 15:41. |
|
26 October 2019, 13:17 | #6 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,304
|
I guess using LHA on an A1200 to archive GB of data is not a good idea. For small archives <=10MB it is ok. For LHA options read the lha.guide. For DOpus output you can activate it where you define the LHA command line. Both LHA and DOpus have output options. CTRL + C should break LHA. In a shell you can type "status" to get the process number and with "break" you can break it. Scout/XOpa can break/kill tasks too.
If you are not fixed to fat32 for the CF card I would use the same filesystem that is used on the source device. Then use a backup tool like http://aminet.net/package/disk/bakup/BackUp |
27 October 2019, 01:04 | #7 |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,340
|
LhA will use a lot of RAM creating an archive. To prevent this, you need to temporarily reassign T: to some disk with enough memory.
|
27 October 2019, 16:18 | #8 |
Zone Friend
Join Date: Sep 2001
Location: Germany
Posts: 812
|
I wouldn't backup 2 gig of data at once, that's pretty much asking for trouble. Depending on your setup, your file system might not be able to handle files that big, you might run out of memory, LhA might have a bug...
I did use LhA for backup purposes in the past, for the very same reasons you do. You can disable compression, that's what I'd recommend - it speeds up the process a lot and reduces the risk of failure. And don't backup everything into one file, make several smaller backups ("SYS:", "Games/" etc.). Code:
lha -aezrx a <BACKUP.LHA> #? Using DOpus introduces new problems. E.g., you can have either Lha recurse into directories ("-r" option) or DOpus ("recursive directories" flag) - if you do the latter, DOpus will try to collect all filenames in all directories and then hand them over to LhA in one giant command line that exceeds the actual length limit. Also note that "output window" needs to be checked if you want to see LhA's progress. Can you post the exact configuration of your LhA menu or button? The command line, all the flags, stack size... |
27 October 2019, 17:00 | #9 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,304
|
With -r you have already -x. With a you have already -a. So you don't need -xa.
Maybe you can use -Qq (quick add) to speed up archiving lot of files. See lha.guide for what it does. |
27 October 2019, 17:18 | #10 |
Registered User
Join Date: Oct 2019
Location: UK
Posts: 107
|
ive given up on lha or any sort of backup solution.
in the end i settled for opening my amiga, taking out the sd card and copying all the data i needed to my pc. then making a disk image of my sd card |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need to extract batch of .lha archives into folders | Foebane | support.Apps | 78 | 14 September 2018 16:53 |
Using Xdftool with LHA archives.. | bugsymalone666 | support.Other | 6 | 25 June 2017 02:27 |
LHA - Splitting a large file into 2 archives | DamienD | support.Other | 18 | 31 January 2017 09:54 |
Some issues when mounting ADFs and large archives | Leffmann | support.WinUAE | 2 | 24 August 2015 20:46 |
Self Extracting LHA Archives | hipoonios | support.Apps | 7 | 16 January 2015 23:15 |
|
|