DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #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
  #2   (View Single Post)  
Old 20th March 2010
DNAeon DNAeon is offline
Shell Scout
 
Join Date: Sep 2008
Location: Bulgaria
Posts: 138
Default

Hi,

ezjail supports archiving of jails with the archive option.

You can use that one to create backups of jails.
__________________
"I never think of the future. It comes soon enough." - A.E

Useful links: FreeBSD Handbook | FreeBSD Developer's Handbook | The Porter's Handbook | PF User's Guide | unix-heaven.org
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeBSD jails and ezjail DNAeon FreeBSD Security 1 25th January 2010 08:53 AM
OpenBSD chroot vs. FreeBSD jails gpatrick OpenBSD Security 4 25th November 2009 03:21 AM
Updating FreeBSD Jails after rebuilding world on host anomie Guides 0 10th September 2008 03:23 AM
backing up an entire system mwotsch FreeBSD General 5 14th July 2008 03:00 PM
backing up via 'dump'... Damien787 FreeBSD General 5 8th May 2008 01:05 AM


All times are GMT. The time now is 07:58 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick