Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
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 motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: LZX version, arguments to backup, and backing up over SMB
« Reply #1 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 motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: LZX version, arguments to backup, and backing up over SMB
« Reply #2 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 all replies
Re: LZX version, arguments to backup, and backing up over SMB
« Reply #3 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 motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: LZX version, arguments to backup, and backing up over SMB
« Reply #4 on: December 31, 2007, 05:44:35 PM »
Quote
A4000_Mad wrote:
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 did, but I stopped it since it didn't seem to be doing anything.

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

Does DOpus give any idea of progress, or at least that it's doing something?

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

According to the LHA usage, options (-a -e -r -x) come before commands (a). I don't think it matters though.

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

Unfortunately this will only work for my system partition. My main data partition won't fit in my RAM disk, which is why I need to sort an alternative solution. SMB would be good if it works, but still looking for some feedback there.

--
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 all replies
Re: LZX version, arguments to backup, and backing up over SMB
« Reply #5 on: December 31, 2007, 06:16:00 PM »
Quote
A4000_Mad wrote:
Well mine most certainly does! It display "Frozen" and the % of compression as it does the task.

That's great - thanks. I'll use DOpus to create my backup.

Cheers mate!

--
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 all replies
Re: LZX version, arguments to backup, and backing up over SMB
« Reply #6 on: January 01, 2008, 02:21:55 PM »
Just created an archive of my system partition using DOpus and it seemed to work fine, and much faster than from the command line which seemed to just thrash the disk for hours with no visible progress. I then noticed that the command I'm DOpus only had the -x option. I added some more and now it looks like this:

lha -a -e -x a {d}{RsEnter LHA archive name}" {O}

Kicked off another archive. Fingers crossed the backup is good enough for a format and re-copy!

--
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