Restore System
I'm pretty new to the BSD and NIX world, and have never had to perform a system recovery or restore. 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. Thanks, Cody ___ 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
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]
Establishing Backup/Restore System
I just installed FreeBSD 5.1 on an i386 system several days ago, and am now in the process of setting up a backup/restore strategy. For backups I am using dump piped thru ssh to my linux box (RH 8.0), and that has worked well, at least for the initial backup. I have not set up incremental backups using cron yet, but I think that should be fairly straight forward. What I need help with is the restore piece. I am trying to build a restore floppy using the script in the FreeBSD Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/backup-basics.html I am having two problems so far. 1. I am getting syntax errors with some of the commands in the script: disklabel: dev/fd0c: no such file or directory ^ what is this 'c' doing here? newfs: illegal option --t mount: /dev/fd0a: no such file or directory ^ what is this 'a' doing here? 2. I do not have a MINI kernel on my system, which is needed on the backup floppy. The script gives a sample configuration file to build this MINI kernel. I have looked at the Handbook on building a custom kernel, but it is a bit confusing for someone new to unix, and I am not sure how the instructions need to be modified for this special case. One last point. I realize for my setup that I will also need to put ssh on this floppy. Has anyone done this, and does the program fit? Thanks, Barry -- Barry Skidmore [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Establishing Backup/Restore System
On Thu, 11 Sep 2003, Barry Skidmore wrote: I am trying to build a restore floppy using the script in the FreeBSD Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/backup-basics.html I am having two problems so far. 1. I am getting syntax errors with some of the commands in the script: disklabel: dev/fd0c: no such file or directory ^ what is this 'c' doing here? You're pointing at a d, but c means the whole drive. See the Disks chapter in the Handbook. It looks like the error is from not specifying an absolute path, which should be /dev/fd0c (note the leading slash). newfs: illegal option --t Just one dash on -t. mount: /dev/fd0a: no such file or directory ^ what is this 'a' doing here? a means the root partition. Again, see the Disks chapter. 2. I do not have a MINI kernel on my system, which is needed on the backup floppy. The script gives a sample configuration file to build this MINI kernel. I have looked at the Handbook on building a custom kernel, but it is a bit confusing for someone new to unix, and I am not sure how the instructions need to be modified for this special case. I tried this myself a couple of days ago, and there are a couple of problems. The kernel config file given uses obsolete terms, and things have changed since whenever that was written. The second problem I had is that commenting out everything possible from a GENERIC kernel still resulted in a kernel file that was well over 1M in size, and there was only about 270K of space left on the floppy. (Other than the erroneous MINI config given, the floppy creation script does work.) One last point. I realize for my setup that I will also need to put ssh on this floppy. Has anyone done this, and does the program fit? I haven't yet, but haven't had time to do much more. A place to start looking is 'man picobsd'. You may find more of what you need with either the ISO of the second CD of the FreeBSD set, or at the http://www.freesbie.org web site. -Warren Block * Rapid City, South Dakota USA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]