Backing up freebsd to 1 file?

Terrence Koeman root at mediamonks.net
Mon Apr 19 06:38:03 UTC 2010


> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org [mailto:owner-freebsd-
> questions at freebsd.org] On Behalf Of J.D. Bronson
> Sent: Sunday, April 18, 2010 3:23 PM
> To: freebsd-questions at freebsd.org
> Subject: Backing up freebsd to 1 file?
> 
> 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...
> 

Perhaps http://ra.phid.ae/stuff/mm-backup-0.9.sh.txt has something that you
like.

-- 
Regards,
T. Koeman, MTh/BSc/BPsy; Technical Monk

MediaMonks B.V. (www.mediamonks.com)
Please quote all replies in correspondence.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5271 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100419/f35dd1be/smime.bin


More information about the freebsd-questions mailing list