Re: Re: another Feature Request
Rob Cotrone <[email protected]> Thu, 27 May 2004 07:05:14 -0400
| Newsgroups | gmane.comp.sysutils.backup.hdup.general |
|---|---|
| Message-ID | <[email protected]> |
Another feature request I meant to ask for. gnu tar allows use of volume labels. -V, --label=NAME create archive with volume name NAME [[email protected] /]$ more .bkup_label V--------- 0/0 0 2004-05-26 03:30:01 neo.empoweringmedia.net-FULL-20040526-0330--Volume Header-- Perhaps there could be another option in the hdup.conf file called tar backup options = tar restore options = which would accept additional options on the tar command line. with this allow use of meta characters such as %D = date (as per format selected) %T = time (hh:mm) %H = Hostname %S = Scheme this would then equate to use such as tar backup options = "-V %H-%S-%D-%T" tar restore options = "" Now if a person has gnu tar they can add volume labels. and if not they can leave out the extra options altogether. In any case the extra tar options gives the adminstrator extra flexibility to use other options such as -k, --keep-old-files don't replace existing files when extracting --owner=NAME force NAME as owner for added files --group=NAME force NAME as group for added files --mode=CHANGES force (symbolic) mode CHANGES for added files --atime-preserve don't change access times on dumped files