Re: tar exclude question

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



On Tue, Mar 15, 2011 at 5:25 AM, Rainer Traut <tr.ml@xxxxxx> 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

Try this:

     20 23 * * *     tar -zcf
/mnt/backupInternalHosts/backup/backup.tar.gz -C / etc root/home &&
touch /tmp/state_backup-backup
_______________________________________________
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