2011/6/19 babu dheen <babudh...@yahoo.co.in>
>
> Hi,
>
>  I have a DNS server running in BIND. I executed to take backup of 
> configuration and zone files as below and its working fine.
>
> # /bin/tar -pczvf named.tar.gz /etc/ /var/named 
> --exclude='/var/named/chroot/var/named/data' 
> --exclude='/var/named/chroot/proc'
>
> But what happens is when i executed below command to restore the backup on 
> the freshly OS installed machine under /root directory, command is excecuted 
> successfully but what i found that there is a directory called /etc and /var 
> created under /root as below
>
> drwxr-xr-x 91 root root      12288 Jun 18 07:50 etc
> -rw-r--r--  1 root root    7390955 Jun 19 05:04 named.tar.gz
> drwxr-xr-x  3 root root       4096 Jun 19 15:54 var
>
>


You should learn to how to use tar correctly.
maybe 'man tar' or 'tar --help' give you the info.
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to