Re: Problem using HDUP

Miek Gieben <[email protected]>
Newsgroups gmane.comp.sysutils.backup.hdup.general
Message-ID <[email protected]>
[On 02 Jan, @13:30, nigel.gree wrote in "Re: [hdup-user] Problem using  ..."]
> Miek,
> A very Happy New Year to you as well.
> Hope you had a good one.

I sure did :) 

> Say I configured on the remote machine a backup directory 
> of:
> /home/users/myuser
> 
> By adding a few printfs to the code I found that HDUP effectively 
> performs the following mkdir commands on the remote machine:
> mkdir /home
> mkdir 
> /home/users
> mkdir /home/users/myuser
> 
> The problem is the ownership of the "home" 
> directory, which is root:root with no write access to this directory for normal 
> users.
> 
> Hence a "mkdir /home" command results in an "Permission denied" error.   I think HDUP 
> is looking for an "Already exists" error, which is why it is declaring a fatal error at
> that 
> point.

ah, sloppy... I will fix it right away,

> My workaround for now is to ensure that I always log onto the remote machine as root, 
> which keeps hdup happy.  
> 
> With regard to the date dependency, that was a red herring.
> I 
> trawled through the log and found that daily and weekly were clashing towards the end of
> the 
> month which resulted in a separate error.   Modifications to my crontab to space out the
> daily 
> and weekly processes should sort this one out.

the new example crontab already has these changes in it. This resulted from a
discussion we had a few weeks ago on this list.

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.