backing up an entire system
We run a production server that is of course rather important. The files on it (with the exception of databases, which are regularly backed up, and log files) don't change really. There are of course code changes, but those are pulled in from a subversion server. Nonetheless, I would like to back up the entire machine. It runs FreeBsd 6.2, and has apache, tomcat as well as postgresql on it.
Filesystem Size Used Avail Capacity Mounted on /dev/ad0s1a 70G 6.3G 58G 10% / devfs 1.0K 1.0K 0B 100% /dev /dev/ad2s1d 72G 8.2G 58G 12% /opt
After investigating for a while I came up with
#dump -0u -h 0 -C 16 -L -f path/to/file/to/dump/to
This makes sense to me. Also, I verified that the directory /.snap exists, so that a snapshot can be taken.
Questions are as follows:
1) What do I need to specify to be backed up? Does no argument need to be provided to backup the entire machine? Does "/" suffice? Do I need to specify the device name as in "/dev/ad0s1a"?
2) When the backup is written, will it be backed up as well and then recursively repeatedly backed up? How can I avoid that if I don't have an external device to write to? Does the option -L take care of that?
Thanks in advance,
|Thread||Thread Starter||Forum||Replies||Last Post|
|Cloning an entire drive?||spiderpig||OpenBSD General||10||7th May 2012 12:23 PM|
|How can I move this system?||Randux||FreeBSD Installation and Upgrading||7||3rd February 2009 09:01 AM|
|system resources||gosha||OpenBSD General||7||30th January 2009 12:01 AM|
|Which file system use to share data on Bsd system?||aleunix||Other BSD and UNIX/UNIX-like||2||1st June 2008 04:14 PM|
|backing up via 'dump'...||Damien787||FreeBSD General||5||8th May 2008 01:05 AM|