Re: Restore System
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 [EMAIL PROTECTED]
Re: Restore System
середа 21 вересень 2005 21:18, Philip Hallstrom Ви написали: 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 [EMAIL PROTECTED] man dump man restore it really helps =) -- З найкращими побажаннями, Алекс Ярмол ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Restore System
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cody Holland Sent: Wednesday, September 21, 2005 1:48 PM To: freebsd-questions@freebsd.org Subject: Restore System 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. You should probably step back and tell us: 1. What you are trying to accomplish. 2. What hardware you have (both machines). 3. What software you are running (uname -a). You should probably at least reread the Handbook on devices, device naming, backups (in particular dump and restore). Best regards, -gayn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Restore System
Thanks for all the help. I've added the -X option to tar and have a file containing all directories and files I don't wish to backup. Cody -Original Message- From: Gayn Winters [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 21, 2005 4:06 PM To: Cody Holland; freebsd-questions@freebsd.org Subject: RE: Restore System -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cody Holland Sent: Wednesday, September 21, 2005 1:48 PM To: freebsd-questions@freebsd.org Subject: Restore System 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. You should probably step back and tell us: 1. What you are trying to accomplish. 2. What hardware you have (both machines). 3. What software you are running (uname -a). You should probably at least reread the Handbook on devices, device naming, backups (in particular dump and restore). Best regards, -gayn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]