Re: HDUP question

Miek Gieben <[email protected]>
Newsgroups gmane.comp.sysutils.backup.hdup.general
Message-ID <[email protected]>
[On 29 Dec, @17:47, James wrote in "[hdup-user] HDUP question ..."]
> Happy holidays!
> 
> I've been using HDUP for a couple weeks now and it seems to be ideal
> in nearly every way for my purposes. I am doing remote backups with
> SSH to a separate box inside my network.
> 
> Couple questions....
> 
> 1) When performing remote backups I am a bit unclear on which options
> are used to control the backup. If I have [global] options on both the
> host I am backing up, and the backup destination, and also [hostname]
> options on both, where should I put global things like chunk size? I
> think I understand that [hostname] on the remote should only contain
> "allow remote=yes". Should all other options that control how the
> backup is created be on the host being backed up, or on the remote
> destination?

as always the documentation needs a MAJOR rewrite, but who and when is always
the big question :-)

Let me explain the remote backup stuff. If you generate a remote backup all
options concerning the tar file are ignored, except the encryption. If you
need chunks you must specify that on the remote machine, so:

[remote]
allow remote = yes
chunk size = 50M

When 'remote' receives the backup it will generate the chunks desired.

Rule of thumb:
Hdup sends a bunch of bytes to the remote machine, how those bytes are handled
it entirely up to the remote machine.

Does this make it more clear?

> 2) I had this set up on a different machine and had to rebuild the box
> because I added a hard drive that the (old) machine couldn't support.
> Before, it seemed to work as expected. Now, for some reason, it is no
> longer automatically creating the MONTHLY and WEEKLY backups if they
> don't already exist when starting a DAILY backup. The only difference
> (I think) is that the remote machine is now running HDUP 1.6.23,
> whereas the server initiating the backup is running 1.6.22. Both were
> running 1.6.22 before. Is there possibly anything a bug here, or did I
> mess something up? I have "always backup = on" set in both host and
> remote server configurations.

the changes between .22 and .23 did not include the handling of remote
backups. If what you are saying here is true, it is a bug in hdup. Please
give me the full configs. Maybe I can see what's going on.

> Also, it seems to be performing full backups every day. I wonder if
> this is related to there not being any monthly and daily backups. I
                                         ^^^^^^^^
                                         weekly?
If the only backup being made is a monthly, that would be of course a
full dump :) Sound very fishy to me. This code hasn't changed or been
touched for quite some time, so it should be fairly stable...


> have tar 1.13.25 (unpatched) but have NO "include =" statements in my
> conf files, so I don't think that's the problem.

This is indeed unrelated,

> Thanks for a great tool.

no thanks at all :)

grtz
      Miek - slightly drunk
--
fingerprint = E1EB 29B8 8FA2 2923 62B8  0A2B 64B8 F15C 7764 AB4B
http://miek.nl/about.html
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.