Re: FreeBSD USB disks - booting and backups
i'm doing this with my notebook. Great. What kind of drive? And have you actually had to do a restore? some used 80GB 3.5" drive (Seagate) + noname USB-IDE jack (true noname, nothing written on it). the latter costed 6$ new, including disk power supply. works very well. i don't make any partitions on it, just dd if=/dev/zero of=/dev/da0 bs=1m count=1 to clear things up newfs -m 0 -O1 -i 16384 -b 4096 -f 512 -U /dev/da0 options for max of space, not performance, as i backup 120GB notebook drive. then to make a copy i do: mount -o noatime /dev/da0 /root/copy cd /root/copy rsync -avrlHpogDtS --delete --force --exclude-from=/root/copy.exclude / . umount /root/copy my copy.exclude file looks like that (change to your needs: /OLD /root/copy/* /dev/* /usr/ports /proc/* swap /tmp/* /var/tmp/* /usr/compat/linux/proc/* /usr/obj the /OLD file are on copy drive, not master, just to be able to have many generations done by cp -lpR after copying first time you have to bsdlabel -B da0 WARNING: when booting from copy, get to single user and fix fstab to have /dev/da0 as root. other remarks: keep the copy plugged only when copying, then store in safe place :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD USB disks - booting and backups
On Thursday 23 August 2007 18:31:05 Patrick Baldwin wrote: > I'm thinking of backing up my FreeBSD 6.2 webmail server by > installing FreeBSD onto the USB, and then dumping the whole > filesystem onto the USB. That way, in the event of a drive failure, > I can boot off the USB drive, and then just restore everything onto > the webmail server. > > Has anyone else done this? I haven't found any mention via Google, > which has me concerned that there might be a good reason no one's > done this that I haven't thought of.One issue I ran into thus far > has been the 500 GB Western Digital MyBook USB drive I tried first > makes my system crash when I plug it in. I can get another USB drive > and repurpose the one I've got right now, but before I put any more > resources into this idea, I thought I'd bounce it off some experts. > > Any suggestions, links, etc. welcomed. Particularly for large > capacity USB drives that won't crash my system. I use it for a different purpose than you, but I've installed FreeBSD onto a 120Gb Western Digital Passport (2.5") USB drive. It was just like installing normally and works like a charm. That USB drive isn't supposed to crash your system by the way. Have you filed a PR or something? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD USB disks - booting and backups
Wojciech Puchar wrote: I'm thinking of backing up my FreeBSD 6.2 webmail server by installing FreeBSD onto the USB, and then dumping the whole filesystem onto the USB. That way, in the event of a drive failure, I can boot off the USB drive, and then just restore everything onto the webmail server. good idea. man rsync :) I was thinking about just dump, as I'm more familiar with it, but I'll check out rsync if you think it's better for this purpose. Has anyone else done this? I haven't found any mention via Google, i'm doing this with my notebook. Great. What kind of drive? And have you actually had to do a restore? -- Patrick Baldwin Systems Administrator Studsvik Scandpower, Inc. 1087 Beacon St. Newton, MA 02459 1-617-965-7455 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD USB disks - booting and backups
I'm thinking of backing up my FreeBSD 6.2 webmail server by installing FreeBSD onto the USB, and then dumping the whole filesystem onto the USB. That way, in the event of a drive failure, I can boot off the USB drive, and then just restore everything onto the webmail server. good idea. man rsync :) Has anyone else done this? I haven't found any mention via Google, i'm doing this with my notebook. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"