On 01/07/2010 04:53 PM, "Fábio Jr." wrote:
...
> Yes, it works, but it didn't create the proc folder inside the tar
> folder tree. Example:
Can't you use the --one-file-system option to prevent tar
from descending into the proc folder?
Mogens
--
Mogens Kjaer, Carlsberg A/S, Computer Department
Hello,
>
> tar -cv --exclude '/var/named/chroot/proc/*' -zf backup.tar.gz /var/named
>
I think this is the best way to use wildcards in expressions to avoid
problems. ;)
>
>
> tar -cv --exclude /var/named/chroot/proc -zf backup.tar.gz /var/named
>
Yes, it works, but it didn't create the proc
At Thu, 7 Jan 2010 07:06:11 -0800 (PST) CentOS mailing list
wrote:
>
> Hi
>
> I have problem in tar command
>
> Can you help?
>
> tar -cv --exclude /var/named/chroot/proc/* -zf backup.tar.gz /var/named
>
> /var/named/chroot/proc/net/route
> /var/named/chroot/proc/net/udp
> /var/named/chro
On Thu, Jan 07, 2010 at 07:06:11AM -0800, adrian kok wrote:
> Hi
>
> I have problem in tar command
>
> Can you help?
>
> tar -cv --exclude /var/named/chroot/proc/* -zf backup.tar.gz /var/named
You must escape the *, so that shell doesn't convert the command to:
tar -cv --exclude /var/named/c
Try tar --exclude=/var/named/chroot/proc/* -zcvf backup.tar.gz /var/named
On Thu, Jan 7, 2010 at 11:06 PM, adrian kok wrote:
> Hi
>
> I have problem in tar command
>
> Can you help?
>
> tar -cv --exclude /var/named/chroot/proc/* -zf backup.tar.gz /var/named
>
> /var/named/chroot/proc/net/route
>
Hi
I have problem in tar command
Can you help?
tar -cv --exclude /var/named/chroot/proc/* -zf backup.tar.gz /var/named
/var/named/chroot/proc/net/route
/var/named/chroot/proc/net/udp
/var/named/chroot/proc/net/tcp
tar: Error exit delayed from previous errors
Thank you
Send instant messages
6 matches
Mail list logo