Hey guys, I just finished a reinstall of FreeBSD and have all the basics that I need installed and I want to backup/dump my /usr directory. I just experimented with dump and I'm not sure if I did it right. I feel a bit embarrassed saying this but I'm not sure which /dev/ad0s1 I'm supposed to use in the dump command if that makes sense to you. This was the command I used:
and this produced a dump file in the usr directory. Can anyone help me out so I know I'm doing the right thing? I auto partitioned when I did my install if that helps. I'd like to dump the /usr directory as that's probably all I'd need should I encounter another data problem. I'd also like to bzip it and put it on a usb stick. If anyone can guide me through this, I'd really appreciate it. Thank you
Code:
dump -0Lauf /usr/ad0s1d.dump /dev/ad0s1d
and this produced a dump file in the usr directory. Can anyone help me out so I know I'm doing the right thing? I auto partitioned when I did my install if that helps. I'd like to dump the /usr directory as that's probably all I'd need should I encounter another data problem. I'd also like to bzip it and put it on a usb stick. If anyone can guide me through this, I'd really appreciate it. Thank you
