View Single Post
  #1   (View Single Post)  
Old 17th March 2010
siffland siffland is offline
New User
 
Join Date: May 2008
Posts: 5
Default Backing up FreeBSD jails

I was using vservers on gentoo and to back them up all i did was to shut down the machine and tar them up once a week. This worked well and to restore just restore the tar file, untar and start it up (backed up the /etc/vservers directory too). Never had a problem. I also rsync'd the to a spare server.

My question is can i do this same thing with the jails i have set up on my FreeBSD machine? I have set everything up and have it running great, but the first thing i should have thought of, and now the last thing i am trying to do is to be able to restore a functional machine in a timely manner. So if i tar up my jail directory could i move it to a new machine, untar it and start it up?(Assuming it is the same version of FreeBSD...).

Thanks,

Sean
Reply With Quote