Re: Re: Perfomance problem backupscript (more details and tests)
Joerg Schilling <[email protected]>
| Newsgroups | gmane.comp.archivers.star.user |
|---|---|
| Message-ID | <43490F77.nail1LQ11IM8V@burner> |
Les Mikesell <[email protected]> wrote: > > I am sorry, but "tar" does not support incremental backups. > > > > star does and star currently supports backups of filesystems. > > If you are going to be this pedantic, please be equally > pedantic in reference to star and mention exactly which > version number has a working incremental mode. Trying to be exact is different from being pedantic. What people understand by "tar" is what appeared on UNIX around 1977 and what is SUSv2 specifies. Check out both, the SUSv2 standard and any UNIX variant and you will find out what "tar" really supports. As you should know, I am always referring to the most recent star version. If you like to know when a specific feature has been introduced, please check the change logs.... > > > Do you > > > have a concise and exact description of the requirements > > > for incremental mode to work properly - including the > > > fact that the restore must also be to a single filesystem? > > > > ----> man star > > Please be more specific. On one machine 'man star' says nothing > about incremental modes, on another it is there but mentions > nothing about being unable to restore them onto a dissimilar > mount structure (which I'm guessing is the case...). I am sorry, but if you did not install a recent star on your machine this is your fault. > > > Actually one filesystem I'd like to archive has millions of > > > hardlinks and nothing else I've tried can copy it in > > > a reasonable length of time. Does star handle the > > > matching efficiently? > > > > It should do as star (from what I know) is the only tar implementation > > that uses a hashed list instead of a simple linear list. > > Thanks - I'll try it when I get a chance. Well, star did introduce this 8 years ago, it is one of many reasons why star is much faster than other tar implementations. > > > > I never tried to completely understand the GNU tar method > > > > and it is unclear whether this method may work correctly at all. > > > > > > It does work correctly as long as the inode numbers are > > > consistent between runs. And as you expect with tar, > > > > I demanstrated yesterday that this is not true.... > > Sorry, I haven't had time to reconstruct your description. Do you > have a scripted version to demonstrate the issue? I though we had > this same conversation a year or so ago and the only problem I > could reproduce was if a normal file exists in a full and is > replaced by a directory of the same name by incremental run time. > And I was able to recover the data even in that case. As I did the test with the most recent GNU tar, it is obvious that it is still reproduceable.... And I did mention that you will not be able to manually recover from the problems once they appear thounsands of times. > > And please try not to confuse tar with GNU tar. > > > > GNU tar is not tar and before GNU tar 1.15.1 was out, GNU tar > > was not even be able to read/write tar compliant archives :-( > > I'll make this distinction if you'll start referring to star > by the version descriptions that can restore the incremental > mode archives. Or will my star that doesn't mention incrementals > in the man page accept the incrementals from the one that does? ??? I am always as exact as possible. If you install/use an outdated version of star, it's your fault. > > > it does not depend on any particular filesystem boundaries > > > for the run or subsequent restore or any restrictions on > > > > Please do not confuse a true incremental backup (which is done > > on a whole filesystem and includes _all_ file metadata) > > with a simple tar driectory tree archive. > > I think I understand the concept, but only because I sort-of know > how dump does it. I'm afraid that someone who doesn't know > much about dump would be confused and expect star to be > more tar-like in regard to volumes and mount points. This would only apply to people who don't read manual pages - sorry. As you cannot use the incremental features without understanding them (which means reading the man page), people who use the feature should know how it works. > > GNU tar could absolutely not be called rubust - it fails miserably > > even with simple backup test cases. > > Scripted example, please? Just follow the test case in the mail I send a few days ago. > > Before we start to compare star's method with another method, > > please let us first check whether the other method has been implemented > > in a correct way before. GNU tar's incrementals doe not work correctly > > so it does not make sense to compare them to useable programs > > like ufsdump/ufsrestore or star. > > GNUtar does work and has for over a decade. There may be some > bugs, but it is very usable, and still the only choice if you > intend to restore onto a different partition layout than the > source or modify a directory into a mount point between runs. Please do not continue to repeat claims that have been provem to be wrong. > Star may very well be better, but it has only been a possible > option for a year or less and I'm not sure the version being > included in popular distributions is the robust one. And it > requires a different way of thinking about backups than > tar, with it's one-filesystem and whole-filesystem requirement. If you run a OS distribution that does not check for newer versions and that does not update programs if apropriate, you either know this and do it yourself or you need to avoid this distribution because it is not doing a good job. Jörg -- EMail:[email protected] (home) Jörg Schilling D-13353 Berlin [email protected] (uni) [email protected] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily