Re: tar exclude question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 3/15/11 4:25 AM, Rainer Traut wrote:
> Hi List,
>
> hope this is not too offtopic, but this bothers me and my backup.
>
> My backups are tar jobs in cron, eg:
>
> 20 23 * * *     tar -zcf /mnt/backupInternalHosts/backup/backup.tar.gz
> /etc /root /home&&  touch /tmp/state_backup-backup
>
> This always sends me an unwanted email with:
>
> tar: Removing leading `/' from member names
>
> I consider this a bug because this informal message is printed to error out?

Cd into the top directory and back up '.'.  Or above it and use the name without 
the leading /.  Absolute paths are a bad idea in backups and tar is correct in 
telling you that you made an error.

-- 
   Les Mikesell
    lesmikesell@xxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux