Re: Problems with restore

Ondra Kudlik <[email protected]> Fri, 7 Oct 2005 10:01:02 +0200
Newsgroups gmane.comp.sysutils.backup.hdup.general
Message-ID <20051007080102.GA13760@bender>
Wed, Oct 05, 2005 ve 07:22:15PM +0300, Miikka Koskinen,,, napsal:
> 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 :)

Here is also my question. I'm encrypting with gpg for now, but my
backups are about 11GB and more and when I want to restore some
file, it is very very very slow :)

I'm paranoid :) so I need some strong encryption, main reason is
that if I put my backups on some disks and somebody steal them, I
don't want him to encrypt it...

But paranoid is one side and speed of recovery second :) So is there
any good compromise? Are there some benchmarks?

Thanks

-- 
 .''`. Ondra 'Kepi' Kudlik
: :' : Debian GNU/Linux User
`. `'
  `-   http://www.nosoftwarepatents.com/cz/m/intro/index.html