Welcome, Guest. Please login or register.

Author Topic: LZX version, arguments to backup, and backing up over SMB  (Read 4709 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
LZX version, arguments to backup, and backing up over SMB
« on: December 28, 2007, 07:56:06 PM »
What is the most stable/reliable/safe version of LZX to use when backing up a lot of files (i.e. a whole partition)? I know that some versions of LHA have been a bit buggy and not recommended for use so want to check on the status of LXZ.

Also, since I'm having some SFS errors I'm planning to use LZX to do a complete backup of my A4000 before formatting the partitions and replacing the backed up files. Would somebody who has backed up like this before mind checking my planned arguments to LZX to backup the entire contents of a partition?

lzx
a add
-a preserve file attributes
-e archive empty directories
-r recurse in to subdirectories
-x preserve path names
-9 maximum compression
partition:

Not sure if I have to put #? after partition: or whether it is enough to specify the name of the partition to get it to recurse in to the subdirectories as well as pick up all of the files in the root directory.

Finally, since my SFS partition has become unstable, I would prefer not to write the backup on to it and then copy it somewhere else. Does anyone have any experience creating large (well, huge) archives directly on to an SMB server using SMBFS? Does it work reliably? Can I expect any problems? I know it will be slow, but I don't care as long as my backup is 100%.

Thanks in advance

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: LZX version, arguments to backup, and backing up over SMB
« Reply #1 on: December 28, 2007, 08:17:01 PM »
There are NO 100% versions of lzx in existence anywhere. I and others in Team Chaos have done many many tests with lzx and lost tons of data.  You should never use lzx to backup important data.  You have been warned.

Use lha.
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline orange

  • Hero Member
  • *****
  • Join Date: Dec 2003
  • Posts: 2799
  • Country: 00
    • Show only replies by orange
Re: LZX version, arguments to backup, and backing up over SMB
« Reply #2 on: December 28, 2007, 08:25:15 PM »
if you, by any chance, want 1:1 copy, you could use dcp
but, I don't know how would you restore from backup..

when I want to archive something important with lha, I use
-a -r -e -x

and if you're short on RAM, redirect work directory to HDD
“Giving up is always an option, but not always a failure.”
 

Offline nOw2

  • Full Member
  • ***
  • Join Date: Jul 2002
  • Posts: 194
    • Show only replies by nOw2
Re: LZX version, arguments to backup, and backing up over SMB
« Reply #3 on: December 28, 2007, 08:51:54 PM »
I learned the hard way in 1996 about this, so I'll tell you now before you go too far: don't use LZX for backups. If you must use an archiver, use LhA.

The big issue (which affected me) is a 255 character path limit. See here:
http://xavprods.free.fr/lzx/limitations.html

This lost half my work partition with 32 character file names, it'll be a file massacre with SFS and 127 char files.
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: LZX version, arguments to backup, and backing up over SMB
« Reply #4 on: December 28, 2007, 09:00:35 PM »
Thanks for the warnings about LZX. I was recommended to use LZX in a different thread. Glad I know better now! Which version of LHA is the best to use? ISTR some of the later versions were buggy. And as for syntax, do the -a -r -e and -x options do the same things as they do in LZX?

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: LZX version, arguments to backup, and backing up over SMB
« Reply #5 on: December 28, 2007, 09:29:11 PM »
@now2

Wow, I totally forgot about that path limit!

I never tried to backup a whole partition with lzx.  I was only trying to archive 1 single game for Aminet (Total Chaos).  This was way back in the 90's when the game was much smaller, probably 20 MB or less.  And lzx just couldn't make a proper archive.  It always corrupted some files.  It is a bug that is triggered by having a dir with many files which are very very similar, maybe even a few that are identical.  This always triggered the "corrupt archive" bug for me.

lha 1.x is highly reliable.  You can't go wrong with it.

And be sure to install TLSFmem unless you want to wait 2 weeks for the backup to complete.  I assume you are backing up 4 gigs or more?
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: LZX version, arguments to backup, and backing up over SMB
« Reply #6 on: December 28, 2007, 09:40:43 PM »
More info about many lzx bugs Click here.

Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline LoadWB

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 2901
  • Country: 00
    • Show only replies by LoadWB
Re: LZX version, arguments to backup, and backing up over SMB
« Reply #7 on: December 28, 2007, 10:03:09 PM »
I sent moto down the path of LZX.  I've used it exclusively in the past for backups and never lost a byte of data.  ::shrugs::

Also, the page shows v1.21... I'm pretty sure I'm using v1.22 or something like that... I'll double-check tonight when I get home.
 

Offline Im>bE

  • Sr. Member
  • ****
  • Join Date: May 2003
  • Posts: 315
    • Show only replies by Im>bE
    • http://www.youtube.com/user/TotalChaosTheGame
Re: LZX version, arguments to backup, and backing up over SMB
« Reply #8 on: December 28, 2007, 11:03:55 PM »

Have you boys been doing LZX?

Drugs are bad, m'kay..
Hopelessly addicted to the world\'s best strategy game.
Total Chaos on YouTube
 

Offline jasper

  • Newbie
  • *
  • Join Date: Aug 2005
  • Posts: 42
    • Show only replies by jasper
Re: LZX version, arguments to backup, and backing up over SMB
« Reply #9 on: December 29, 2007, 12:53:34 AM »
Have you considered using Quarterback instead?

I've always used it for backing up my workbench partition

Desktop A1200
Blizzard 1230 Accelerator with 32megs ram
2.5\\" 4.85 Gig HDD
Teac 32x CDRom Drive
2 External Floppy Drives
 

Offline rkauer

  • Hero Member
  • *****
  • Join Date: May 2006
  • Posts: 3263
    • Show only replies by rkauer
Re: LZX version, arguments to backup, and backing up over SMB
« Reply #10 on: December 29, 2007, 03:19:29 AM »
 Every version of lha after 1.38 is buggy (except for 1.5 - registered). But lzx is worse.

 My own experience!

 For backups I use Quarterback & lha (1.5...).
Goodbye people.

I\'ll pop on from time to time, RL is acting up.
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: LZX version, arguments to backup, and backing up over SMB
« Reply #11 on: December 29, 2007, 03:53:00 AM »
I use lha 1.38 for all my archiving needs.  :-)
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: LZX version, arguments to backup, and backing up over SMB
« Reply #12 on: December 29, 2007, 11:00:07 AM »
Ok, already on 1.38 as it happens. Just kicked off an archive using this command:

lha -a -r -e -x a RAM:OS3.9.lha OS3.9:

Will that do the trick? As for using QuarterBack, well ideally I would like my backup to be accessible from non-Amiga systems (without having to set up UAE and install QB). So I'd prefer to stick with LHA.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: LZX version, arguments to backup, and backing up over SMB
« Reply #13 on: December 31, 2007, 01:41:22 PM »
Still hoping for confirmation of the LHA command above, and any advice on backing up over SMB.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline A4000_Mad

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 1392
    • Show only replies by A4000_Mad
Re: LZX version, arguments to backup, and backing up over SMB
« Reply #14 on: December 31, 2007, 05:32:38 PM »
Quote

moto wrote:
Just kicked off an archive using this command


Ooooooh! This made my brain cell think you had actually started the process mate ;-)

I am unable to confirm it for you as I would just highlight everything and use the 'Lha ADD' function of Dopus 4 myself.

However, after comparing it to another command line it looks like you have an "a" in the wrong place.

This is the command for backing up your existing icons before installing Kens Icons:-

Lha a -a -e -r -x  Icon_Backup Sys:#?.info

(This will put an archive called 'Icon_Backup' in your System partition)


I think you are very wise to your Ram Disk as the initial destination mate :-)


A4000 Mad