Re: Backing up selective sub directories...and dir and include
Robert Haskins <rhaskins-X6DOoJyBSnRWk0Htik3J/[email protected]> Wed, 01 Sep 2004 11:41:52 -0400
| Newsgroups | gmane.comp.sysutils.backup.hdup.general |
|---|---|
| Message-ID | <[email protected]> |
What about a new hdup.conf configuration keyword that allowed you to specify additional arguments to tar? I realize its kind of a hack, but it seems simple and other people could use the functionality to configure tar in other ways. hdup gives the user the ability to add arguments/options to the file transfer protocol (ssh), so why not tar? Would you accept patches for this functionality? Thanks for your time, and writing such a great utility! Miek Gieben wrote: >>One way we thought of doing this was by using symlinks from a directory >>we are backing up (/var/bak) to each user's backup directory >>(/home/rhaskins/bak). Then, tell tar to backup the actual files pointed >>to by the symlinks, rather than symlinks (which is the tar default). >>However, there doesn't seem to be any way to pass tar options from hdup. > > > You could hack setup_tarcmd() in hduptarlib.c line 553 and add your > option there. But IHMO this really sounds very ugly....