Duplicating file system

Matthew Seaman matthew at FreeBSD.org
Thu Feb 21 14:37:55 UTC 2019


On 20/02/2019 19:52, Cerebus wrote:
> I have an 11.2 system with two identical SSD drives. Currently I am
> using rsnapshot to keep backups of the primary drive on the secondary
> drive, but I am interested in having the second drive have a
> duplicate copy of the entire file system in a bootable form, updated
> as the root drive is modified.
> 
> How would I do this?
> 
> I don’t really want a RAID0 because I want to also keep the periodic
> backups from rsnapshot as the drives are about 10x larger than my
> data.
Well... you could just use a ZFS mirror setup and create snapshots at 
regular intervals, which solves both your 'keeping in sync' and your 
'keep historical backups in a space efficient way' requirements.

	Cheers,

	Matthew


More information about the freebsd-questions mailing list