Guides for ZFS Full backup to NFS drive and restore from NFS drive
kh at panix.com
Fri Oct 4 22:39:35 UTC 2019
On 2019-10-04 17:20, Alejandro Imass wrote:
> Hi there FreeBSD folk!
> Are there any easy to follow guides to completely backup a FreeBSD system
> to an NFS drive and then restore the complete system from the backup in the
> NFS drive?
> I don't have much NFS expertise but it shouldn't be that complicated.
> I found this guide but not exactly what I'm looking for:
> Is there a utility or something to make this process less painful?
Do you mean to recreate the file tree on the NFS server, by copying each
FreeBSD file to an NFS file? That might not work perfectly.
I believe NFS doesn't implement everything the FreeBSD filesystem does.
It might not include sparse files, special files, extended file metadata
(access control, "flags")...
If you use ZFS, you probably should use its backup/restore mechanisms,
as in that article. For good results, it probably does have to be that
If you don't use ZFS, then I suggest that you look at the programs
"dump" and "restore". They have man pages. The FreeBSD Handbook also has
some information about backup/restore for non-ZFS:
And a chapter on ZFS:
More information about the freebsd-questions