Re: Problem using HDUP

Miek Gieben <[email protected]>
Newsgroups gmane.comp.sysutils.backup.hdup.general
Message-ID <[email protected]>
[On 31 Dec, @21:06, Nigel wrote in "[hdup-user] Problem using HDUP ..."]
> Miek,
> I wonder if you can help me. 
> I have been using your excellent utility for a couple of months now, but I
> am having a few problems with the remote backup.
> Sometimes it works, and sometimes it does not.
> It seems to be date dependant (usually starts failing 23 days into the
> monthly backup cycle).

very strange indeed, I assume that on the 23rd only a dialy backup is made. So
there is no clash of a weekly and a daily?

> When a monthly backup is run on the 1st of the month, the problem goes away.
> 
> I was running version 1.6.18 up to today, when I upgraded to 1.6.23.
> However, this does not seem to cure my problem.
> 
> When a remote backup fails, I get the following message:
> 
> 	/usr/local/sbin/hdup: sslserver: STARTING BACKUP.
> 	/bin/tar: Removing leading `/' from member names
> 	/usr/local/sbin/hdup: sslserver: STARTING BACKUP.
> 	/usr/local/sbin/hdup: FATAL: Could not create directory: /home.
> 
> 	/usr/local/sbin/hdup: WARNING: SIGPIPE received, cleaning up!
> 	/usr/local/sbin/hdup: WARNING: AN ERROR OCCURED!
> 
> 	Hdup version.:  1.6.23
> 
> 	Host.........:  sslserver
> 	Date.........:  31-12-2003
> 	Scheme.......:  weekly
> 	Archive......:  sslserver.31-12-2003.weekly.tar.gz
> 	Encryption...:  yes (rijndael-192, /usr/backups/system/hdup.key)
> 
> 	                AN ERROR OCCURED!
> 	                NOTHING WAS DONE!
> 
> I don't really understand why it is attempting to create a directory of
> "/home".
> 
> The config of my local host is as follows:
> 	[global]
> 	archive dir = /usr/backups/system
> 
> 	[sslserver]
> 	dir = /var/cvs, /var/jtime, /var/www, /var/users, /etc,
> /var/spool/mail
> 	mcrypt = /usr/local/bin/mcrypt
> 	algorithm = rijndael-192
> 	key = /usr/backups/system/hdup.key
> 	proto = /usr/bin/ssh
> 	proto option = -1 -i /home/nigel/.ssh/identity
> 	remote hdup = /usr/local/sbin/hdup
> 	remote hdup option = -c /home/groups/serpentine/backup/hdup.conf
> 
> The config file of the remote host is:
> 	[global]
> 	archive dir = /home/groups/serpentine/backup
> 
> 	[sslserver]
> 	allow remote = yes
> 
> Any ideas of what I can do to resolve this problem?

looks all fine to me. You could look in the Makefile hdup16/src/
and change these lines:

# Uncomment these for debugging output
#DEBUG=-DDEBUG
#STRIP=

Maybe that can shed some light on this problem,

grtz Miek
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.