Re: [CentOS] tar exclude question

2011-03-17 Thread Charles Polisher
Rainer Traut wrote: Nico Kadel-Garcia: Rainer Trauttr...@gmx.de 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

[CentOS] tar exclude question

2011-03-15 Thread Rainer Traut
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

Re: [CentOS] tar exclude question

2011-03-15 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer Traut said the following on 15/03/11 10:25: This always sends me an unwanted email with: tar: Removing leading `/' from member names Redirect the stdout/stderr to some file: tar cvzf /mnt/mybackup.tgz /foo /bar /var/log/backup 2

Re: [CentOS] tar exclude question

2011-03-15 Thread Mogens Kjaer
On 03/15/2011 10:25 AM, Rainer Traut wrote: ... tar: Removing leading `/' from member names Add -P to include leading / Mogens -- Mogens Kjaer, m...@lemo.dk http://www.lemo.dk ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] tar exclude question

2011-03-15 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mogens Kjaer said the following on 15/03/11 10:56: tar: Removing leading `/' from member names Add -P to include leading / ...and be VERY CAREFUL when you unpack that tar ;) Ciao, luigi - -- / +--[Luigi Rosa]-- \ Luke: I don't believe it.

Re: [CentOS] tar exclude question

2011-03-15 Thread Nico Kadel-Garcia
On Tue, Mar 15, 2011 at 5:25 AM, Rainer Traut tr...@gmx.de 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

Re: [CentOS] tar exclude question

2011-03-15 Thread Rainer Traut
Am 15.03.2011 10:37, schrieb Luigi Rosa: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer Traut said the following on 15/03/11 10:25: This always sends me an unwanted email with: tar: Removing leading `/' from member names Redirect the stdout/stderr to some file: tar cvzf

Re: [CentOS] tar exclude question

2011-03-15 Thread Rainer Traut
Am 15.03.2011 12:37, schrieb Nico Kadel-Garcia: On Tue, Mar 15, 2011 at 5:25 AM, Rainer Trauttr...@gmx.de 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

Re: [CentOS] tar exclude question

2011-03-15 Thread Les Mikesell
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

Re: [CentOS] tar exclude question

2011-03-15 Thread Tom H
On Tue, Mar 15, 2011 at 7:53 AM, Rainer Traut tr...@gmx.de wrote: Am 15.03.2011 10:37, schrieb Luigi Rosa: It's a matter of personal taste, but I find more useful the -X (or - --exclude-from) option Yes, personal taste, but in crontab confusing not seeing the excludes and besides that it

Re: [CentOS] tar exclude question

2011-03-15 Thread Robert Heller
At Tue, 15 Mar 2011 10:56:58 +0100 CentOS mailing list centos@centos.org wrote: On 03/15/2011 10:25 AM, Rainer Traut wrote: ... tar: Removing leading `/' from member names Add -P to include leading / You really don't want to do that! Makes restoring to an alternitive location