Problems with restore

"Miikka Koskinen,,," <arcatan-/[email protected]> Wed, 5 Oct 2005 19:22:15 +0300
Newsgroups gmane.comp.sysutils.backup.hdup.general
Message-ID <[email protected]>
Hello!

I found hdup yesterday and it seems to be just what I need - I don't want
some obscure "enterprise-grade" stuff but just a simple, small program
to handle my backups. Well, that's fine then. Too bad that I have a little
problem with restoring backups.

I'm using hdup 2.0.12. I created backup (hdup -c hdup.conf monthly kaste) and
it worked just fine, but when trying to restore backups, this is what I get:

  root@kaste:~# hdup -c hdup.conf restore kaste today /tmp/test
  hdup: Running without -P and probably a non patched tar.
  hdup: This will lead to incomplete backups.
  hdup: kaste: STARTING RESTORE.
  Segmentation fault
  root@kaste:~#
  gzip: stdin: unexpected end of file
  /bin/tar: Child returned status 1
  /bin/tar: Error exit delayed from previous errors

And as you can guess, nothing is restored to /tmp/test. I tried to extract manually
he generated tarball (/backups/kaste/2005-10-05/kaste.2005-10-05.monthly.tar.gz)
and there was no problems, but of course it would be nicer to be able to use
hdup for restoring also.

my hdup.conf:

[global]
archive dir = /backups
date spec = iso

[kaste]
dir = /etc, /home

I'm using hdup (which I compiled and installed manually) on Source Mage. Some
version information: 

  Linux 2.6.8.1
  tar 1.15.1
  gzip 1.3.5
  glib 2.6.4

And then another question. I'm going to encrypt the backups, so which one should
I use, gpg or mcrypt? And if mcrypt, which cipher? I not too paranoid, but I want
something more secure than just plain files. Performance should be reasonable, too,
as I've got some low end hardware :)

Well, anyway, thank you for your time!

-- 
Miikka Koskinen