Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've the need to setup a differential backup process from a range of remote HP-UXes to a central RHEL5 server.
I'd happily go with rsync, problem is,
stock HP-UX 11.11 has no built-in rsync and I don't have permissions to install any software on the remote stock HP-UXes.
How should I approach this?

HP-UX provides:
fbackup (HP-UX exclusive)
cpio (available in RHEL5, allows backing up only the files which changed, but always grabs the totality of the file)

ssh remote_user@remote_host 'find /u01/engine/logs/ -type f -name "*.log" | cpio -o | gzip -' | cpio gunzip - | -idmv

Those solutions don't really answer my incremental (bandwidth efficiency) problem do they?

share|improve this question
cpio sounds like your best bet really. Can you configure log rotation to match your backup schedule? Just grab the new files each backup.. – Chris S Mar 4 '11 at 15:23
Thanks Chris. Unfortunately I have no authorization to change any behavior whatsoever in the remote hosts. – Joao Figueiredo Mar 7 '11 at 9:14
up vote 1 down vote accepted

The cpio approach certainly solves one aspect of the bandwidth efficiency issue - not sending files that haven't changed.

You don't mention what type of files you're dealing with, but unless it's huge files that change (eg database files), you're probably not talking about a huge difference.

As a side note, you can install rsync with a different root if you have permissions to install software under a user's home directory.

share|improve this answer
I'm talking about 20Mb files(autorotated about each 2 days), a dozen per host, about 30 hosts. The incremental part is crucial as we'd have the need to grab the differences each 3min. Thanks for the help guys, I've ended up looking into an unprivileged rsync install. – Joao Figueiredo Mar 7 '11 at 9:09

Just a note in the event you can install rsync....for HP/UX you can find the verious version from the Porting Site:

I believe with some options magic you should be able to install the appropriate rsync package in a non-priv'd user directory. Afterall, rsync does not need special privs to run.

share|improve this answer
I had already looked up those files, the turning point was my director telling me we could make an exception if the install would be made in an unprivileged user. Thanks for the details ! I'd vote in the answers if I could.. – Joao Figueiredo Mar 7 '11 at 9:11
rsync for HP-UX depot is composed by a single executable file and several unuseful other file( for instance SAM). Extract the depot(is a tar file) and copy the rsync executable in the server. – NoNoNo Jan 25 '12 at 16:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.