Announce: prerelease hdup2.0.0
Miek Gieben <[email protected]> Wed, 3 Nov 2004 14:12:11 +0100
| Newsgroups | gmane.comp.sysutils.backup.hdup.general |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I've made a prerelease available on
http://miek.nl/hdup-2.0.0.tar.gz
http://miek.nl/hdup-2.0.0.tar.bz2
Now you need glib to compile hdup. Futher more the include/exlude
stuff now takes regular expressions. See below.
Also a new keyword was added: nobackup. It takes a filename as an
argument, if the file is found in a directory, that directory is
excluded from the backup.
Please test and let me know if there are any issues! Thanks.
Known stuff:
- configure does not yet check for glib
The changelog:
- major overhaul and new build depencies -
[Features]
* Moved to Glib for lowlevel C function
- lots of changes to the source
- g_strdup_printf and g_strconcat are now used a lot
* #define LEN gone
* Moved to subversion for development
* Dependency on find was removed. We use our own routine now.
* Support for .nobackup files (see nobackup keyword)
* Updated documentation
* Public repository accessible (TODO)
* Makefile.in made smaller
* Totally reworked the include/exclude mechanism. It is now
POSIX regexp based.
* hdup will now always make to passes over the harddisk - one
to determine what to backup and then the actual backup. Yes I
know; this is a race.
[Bugs]
* Bug #12 fixed; removed -a in GPG encryption/decryption
* Bug #16 fixed: the non-tweaked hdup.conf.distr is installed
as the default hdup.conf
* Bug fixed: the include and exclude lists are not copied to
other host when they define their own lists.
> * patterns: (stole the first two from rsync) > - if the pattern
> starts with a /
This is not implemented.
> - if the pattern ends with a / then it will only match a directory,
> not a file, link, or device.
This is. Thus if it ends with '/' the pattern is applied to the FULL
pathname of directory. If not it is applied to the FULL pathname of
the file.
> - man 3 regcomp. That is, POSIX compliant regular expressions.
I use the flags: REG_EXTENDED | REG_NOSUB
> - include preceeds exclude
This is not always enforceble. If you include a file, but exclude a
higher directory, the file is not included. Example: include =
/home/miekg/tmp/blabla.tgz exclude = /home/miekg/tmp/
blabla.tgz will not end up in the archive. I have no intent on fixing
this as this involves a lot more coding.
> nobackup = .nobackup
This also works.
grtz,
--Miek
--
today's fortune:
Q: What's tiny and yellow and very, very, dangerous?
A: A canary with the super-user password.