27 February 2021, 16:08 | #1 |
Registered User
Join Date: May 2017
Location: AmigaLand
Posts: 459
|
LHA backup HD to Disquette
Hi all,
Too tired to make backup copy by hand using Diskmaster. So, do you know the command line for copying a folder from a HD to DF1 using LHA ? The folder is far too big for one disquette. Thanks. Edit : Could you please also give me the reverse command, ie for restoring from disquettes to HD ? Edit bis: No necessarely need to pack files, just a simple copy could be fine also. In order to gain time. Last edited by LeCaravage; 27 February 2021 at 16:16. |
27 February 2021, 17:41 | #2 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
Do you want to know how the copy command works or how lha works? Check the docs or "copy ?" and "lha" to get usage info. With a filemanager you usually just have to select source, target and files/dirs and click a button. A floppy disk is just storage medium with a given size like HD. Access to it is the same.
|
27 February 2021, 17:49 | #3 |
Registered User
Join Date: May 2017
Location: AmigaLand
Posts: 459
|
It's for safety backup purpose.
I'd like to save a "big" folder to several 880K disqs. Diskmaster doesn't take in account multi disqs, I have to calcultate 880K chunks before copy. I didn't find a proper exemple of the use of LHA in this case. I saw someone proposing to make a big archive and then split it to disqs. That's would be a good compromise I guess. |
27 February 2021, 18:44 | #4 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
In lha.guide there is a part "Multi-volume archives". I think that is what you are looking for. There are examples how to use it.
|
27 February 2021, 20:34 | #5 |
Registered User
Join Date: May 2017
Location: AmigaLand
Posts: 459
|
Thank you daxb.
I just noticed that the LHA I own is only working upper KS2.0 (I own KS1.3). I seached LHA on Aminet but didn't find it. Does someone know where to dl it ? |
27 February 2021, 20:54 | #6 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
I guess that v 1.38 works with Kick 1.3: http://aminet.net/search?name=lha+138&path[]=util/arc
|
27 February 2021, 20:57 | #7 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
|
|
27 February 2021, 20:59 | #8 |
Registered User
Join Date: Nov 2014
Location: The Ford Galaxy
Posts: 214
|
I didn't come up with this - someone on here that's smart did, but I keep the procedure in a file. This is tried and true! I backup to a PCMCIA CF - maybe someone can modify to copy across multiple 3.5" floppies. You'll also have to change the DH1 to DF1.
Just open a CLI and type: Code: 1> DH0: 1> lha -aezrx a DH1:backup.lha #? That will create a file called "backup.lha" under partition DH1 (assuming the partition you want to backup is partition DH0) maintaining all protection bits etc. The archive is not compressed so it will be rather large. If you want to make it compressed also just replace "z" with "Z" in lha options of the command provided. Then of course you can transfer the one lha file via FTP or any other way anywhere To restore the archive anytime just use the following command: Code: 1> DH0: 1> lha x DH1:backup.lha LHA on Aminet https://aminet.net/package/util/arc/lha |
27 February 2021, 21:07 | #9 |
Registered User
Join Date: May 2017
Location: AmigaLand
Posts: 459
|
@all : Great ! Thank you all.
|
28 February 2021, 17:18 | #10 |
Registered User
Join Date: May 2017
Location: AmigaLand
Posts: 459
|
Back again
The lha v1.38 can't split archive into volumes. Is there any other solution to split a big archive ? (on KS1.3). Edit : That's fine, just found a splitter on Aminet. So make big archive and then split it. And to retrieve archive, need to join and depack. That's laborious. Last edited by LeCaravage; 28 February 2021 at 18:21. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Trying to archive an lha file inside a new lha file | Foebane | support.Apps | 6 | 11 December 2019 21:08 |
Always keep a backup | trixster | support.Hardware | 5 | 29 May 2016 18:08 |
How can I backup my CF? | stu232 | support.Hardware | 8 | 03 October 2013 13:56 |
Best Backup Strategy | chinnyhill10 | New to Emulation or Amiga scene | 18 | 21 July 2012 02:00 |
HDD backup | JackTheKnife | support.Other | 5 | 08 September 2009 22:31 |
|
|