Re: Fwd: Hdup feature suggestion
Miek Gieben <[email protected]> Thu, 30 Sep 2004 20:32:23 +0200
| Newsgroups | gmane.comp.sysutils.backup.hdup.general |
|---|---|
| Message-ID | <[email protected]> |
[On 30 Sep, @ 19:02, Robert wrote in "Re: [hdup-user] Fwd: Hdup feat ..."] > Thanks for the pointer. Indeed, a quick peruse of the man pages for star > would indicate what you propose just might be a solution to the > "exclude" problem. > > An issue I see is the fact that some of the options to gnu-tar are hard > coded in the hdup program. So unless star is command line compatible > with the hard coded options in hdup, then we'll have to make hdup code > changes. If star is command line compatible with gnu-tar, then we > shouldn't have a problem! > > I'll play around with it and reply back to the list with my results. > Thanks for the idea! maybe the easiest thing is to make a wrapper around star which will be called from hdup (tar = /usr/bin/tar.wrapper). And let that parse the options. The code that handles the tar option in hdup isn't exactly the most beautifull (and/or clean) code in the world. My short term plan is to fix the include/exclude stuff and add some .nobackup option (this is planned for 1.6.37). I do welcome any star patches, but I doubt if it can be done in a clean way without redesigning this core (and old) part of hdup, (also the "protocol" for remote backups, actually sends a cpf/cpfz/ cpfj or cpfl option on the wire - to signal what the tar file looks like.... yes I know - ugly :) ) grtz Miek