Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 2010 08:23:12 -0500
From:      "J.D. Bronson" <jd_bronson@sbcglobal.net>
To:        freebsd-questions@freebsd.org
Subject:   Backing up freebsd to 1 file?
Message-ID:  <4BCB07C0.8010305@sbcglobal.net>

next in thread | raw e-mail | index | archive | help
I have a freebsd 8.0 install and was wondering if it is possible to tar 
up the entire install...for backup purposes.

# cd /
# tar -cvf backup.tar {list of directories}

then I can ftp the tar file out to another machine.

This works in theory, but if I need to do a restore tar complains
on 'tar -xpf backup.tar'.

Under OpenBSD, this works as expected. It has given me an easy way
to backup/move/restore or anything I want to do w/o complaining.

I am running Freebsd on a machine that has no other drives/tapes or 
anything so my options for backup are limited.

All I am trying to do is get a complete image (or snapshot) of my entire 
install on this machine and then if I needed to reload or reinstall, I 
could do a bare bones freebsd install, copy over the tar'd up file and 
extract it from within / and then reboot an I would be go to go.

Thoughts on this would be appreciated...



-- 
J.D. Bronson



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BCB07C0.8010305>