Re: dump/restore after filesystem layout changes
On 01-Dec-2002 [EMAIL PROTECTED] wrote: On Sun, Dec 01, 2002 at 10:40:58AM -0600, Conrad Sabatier wrote: Ok, now on to my question: I'd like to do a full backup on each of my filesystems, zap all the partitions and do a new fdisk/disklabel with more filesystems than I'm currently using. For example, create a new /home partition instead of using a symlink in / to /usr/home. I'm just wondering if this will present any problems when restoring from backups. I can't seem to glean this information from the man pages. Well it is going to work as long as the directory structure is not changed. But you will have to be extra carefull with your permissions when you backup/restore your files. (what are you going to use for backup? dump/restore?) Yes, I'll be restoring from the backups I just finished making yesterday using dump/restore (with an ATAPI CD burner, no less; still in awe of that!). :-) I'm thinking it *should* work OK, as long as, as you said, I'm careful with permissions, and make sure everything gets restored to the right locations under the new filesystem layout. I figure mtree(8) should be helpful with this. The main reason I want to do this, besides to reclaim some wasted space from having /, /var, and /tmp partitions that are larger than I really need, is to make incremental backups easier later on (again, now that I can finally use dump/restore with my __ATAPI__ CD burner). :-) I'll report back later as to how it all went. Thanks. Oh, and if anyone's curious as to how I got my CD burner to work with dump/restore, just let me know. It was really simple actually. I'm running 5.0-CURRENT, by the way, but you -stable users definitely have something to look forward to very soon (if it hasn't already been MFC'ed). :-) -- Conrad Sabatier [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: dump/restore after filesystem layout changes
On 01-Dec-2002 Mark Stosberg wrote: On Sun, 1 Dec 2002, Conrad Sabatier wrote: Ok, now on to my question: I'd like to do a full backup on each of my filesystems, zap all the partitions and do a new fdisk/disklabel with more filesystems than I'm currently using. For example, create a new /home partition instead of using a symlink in / to /usr/home. I'm just wondering if this will present any problems when restoring from backups. I can't seem to glean this information from the man pages. Conrad, I did something similar once. I added a new disk that I wanted to replace my primary disk, but I wanted the partitioning a little different, like you did. It worked fine for me, copying over one partition at a time using cpio. I imagine then it will work in your case as well. If you are interested to know about the process I used, you could browse the disks section on freebsddiary.org which was the basic for my methodology. -mark http://mark.stosberg.com/ Cool. I'll definitely check it out. And if this all goes well, I'll maybe do a little write-up on the methodology involved that you could use on your site. Thanks. -- Conrad Sabatier [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: dump/restore after filesystem layout changes
First of all, I just gotta say: ATAPICAM rocks!!! I can now use my ATAPI CD burner with dump/restore! Awesome!!! Ok, now on to my question: I'd like to do a full backup on each of my filesystems, zap all the partitions and do a new fdisk/disklabel with more filesystems than I'm currently using. For example, create a new /home partition instead of using a symlink in / to /usr/home. I'm just wondering if this will present any problems when restoring from backups. I can't seem to glean this information from the man pages. No problem. Just think out the order in which you do things - such as, build all your file systems first, make sure that you restore file systems that contain mountpoints before restoring the filesystems that use the mountpoints, etc. So, build your file systems including /, /usr, /var and /home, etc whatever. restore root (/) first touch up /etc/fstab if needed restore other file systems such as /usr restore stuff file systems mounted in /usr such as maybe /usr/local if you have one etc. jerry Thanks! -- Conrad Sabatier [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
dump/restore after filesystem layout changes
First of all, I just gotta say: ATAPICAM rocks!!! I can now use my ATAPI CD burner with dump/restore! Awesome!!! Ok, now on to my question: I'd like to do a full backup on each of my filesystems, zap all the partitions and do a new fdisk/disklabel with more filesystems than I'm currently using. For example, create a new /home partition instead of using a symlink in / to /usr/home. I'm just wondering if this will present any problems when restoring from backups. I can't seem to glean this information from the man pages. Thanks! -- Conrad Sabatier [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: dump/restore after filesystem layout changes
On Sun, Dec 01, 2002 at 10:40:58AM -0600, Conrad Sabatier wrote: First of all, I just gotta say: ATAPICAM rocks!!! I can now use my ATAPI CD burner with dump/restore! Awesome!!! Ok, now on to my question: I'd like to do a full backup on each of my filesystems, zap all the partitions and do a new fdisk/disklabel with more filesystems than I'm currently using. For example, create a new /home partition instead of using a symlink in / to /usr/home. I'm just wondering if this will present any problems when restoring from backups. I can't seem to glean this information from the man pages. Well it is going to work as long as the directory structure is not changed. But you will have to be extra carefull with your permissions when you backup/restore your files. (what are you going to use for backup? dump/restore?) Thanks! -- Conrad Sabatier [EMAIL PROTECTED] Kyriakos To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message