Hi,
I have looked through several threads here and on google and may have overdone it and caused my brain to melt.
Here is what I have.
I have a live server. I want to do a complete dump to a usb hard drive.
The setup looks like this:
Now this is till early on so let me not freak anyone out. The /usb (da0s1) will be zero out before I get started.
What I want to do is a complete dump to the usb. One of my concerns is how to not cause a redundant loop. If I do a complete backup I don't want it to try and dump /usb to /usb. That would be bad as I understand it.
In addition I would like to do a incremental dump that will add only new or updated file information. I would add that as a cron job to a script.
So if I do the following am I screwed:
I assume the follow up command is going to be something like:
Sincerely,
Brendhan
I have looked through several threads here and on google and may have overdone it and caused my brain to melt.
Here is what I have.
Code:
$ uname -a
FreeBSD spider.brendhanhorne.com 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25
UTC 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
I have a live server. I want to do a complete dump to a usb hard drive.
The setup looks like this:
Code:
$ df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/mirror/root 358G 56G 273G 17% /
devfs 1.0k 1.0k 0B 100% /dev
/dev/da0s1 458G 162G 259G 38% /usb
Now this is till early on so let me not freak anyone out. The /usb (da0s1) will be zero out before I get started.
What I want to do is a complete dump to the usb. One of my concerns is how to not cause a redundant loop. If I do a complete backup I don't want it to try and dump /usb to /usb. That would be bad as I understand it.
In addition I would like to do a incremental dump that will add only new or updated file information. I would add that as a cron job to a script.
So if I do the following am I screwed:
Code:
# dump -OaLuf /usb /dev/mirror/root
I assume the follow up command is going to be something like:
Code:
# dump -1aLuf /usb /dev/mirror/root
Sincerely,
Brendhan