[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ezjail] Backing up a jail



Dan, 

> I'm considering backing up a jail created with ezjail 3.3
> 
> My goal: do not backup the basejail, but backup everything else.
> 
> All backups will be performed from on the host system, not from within the jail.
> 
> Given a jail at /usr/jails/example.org, I plan to exclude the following directories:

Since you are using a ZFS file system for each of your jails, simply snapshot those and backup from the snap.  You won't have to worry about the null-mounted basejail and you can be sure that files will be in a consistent state.

	- H