Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Sep 2005 00:26:22 +0000
From:      Alex Yarmol <alex.yarmol@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Restore System
Message-ID:  <200509220026.22909.Alex.Yarmol@Gmail.Com>
In-Reply-To: <20050921141722.V89976@wolf.pjkh.com>
References:  <4B3EE484EEA4F344BBB62F831648998646715E@corpsrv.RedMoon.local> <20050921141722.V89976@wolf.pjkh.com>

next in thread | previous in thread | raw e-mail | index | archive | help
=D3=C5=D2=C5=C4=C1 21 =D7=C5=D2=C5=D3=C5=CE=D8 2005 21:18, Philip Hallstrom=
 =F7=C9 =CE=C1=D0=C9=D3=C1=CC=C9:
> > I did a full backup of a server with tar using the following command:
> > tar cpzf servername`date +%m%d%y`.tgz /
> >
> > I'm trying to restore it on another server with the following command:
> > tar -xzpf /path to backup file
> >
> > The problem I'm running into is that the original system is has an IDE
> > harddrive, and the new system is SCSI.  I'm getting the following
> > errors:
> > dev/ad0: Can't restore device node: No such file or directory
> > dev/ad0s1: Can't restore device node: No such file or directory
> > dev/ad0s1a: Can't restore device node: No such file or directory
> > dev/ad0s1b: Can't restore device node: No such file or directory
> > dev/ad0s1c: Can't restore device node: No such file or directory
> > dev/ad0s1d: Can't restore device node: No such file or directory
> > dev/ad0s1e: Can't restore device node: No such file or directory
> >
> > Is there an easy way around this?  Any help would greatly be
> > appreciated.
>
> Look into the --exclude option for tar...
>
>       --exclude pattern       Exclude files matching the pattern (don't
> extract them, don't add them, don't list them).
>
> just skip everything beneath /dev/
>
> -philip
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
man dump
man restore
it really helps =3D)

=2D-=20
=FA =CE=C1=CA=CB=D2=C1=DD=C9=CD=C9 =D0=CF=C2=C1=D6=C1=CE=CE=D1=CD=C9,
=E1=CC=C5=CB=D3 =F1=D2=CD=CF=CC



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509220026.22909.Alex.Yarmol>