OPNsense Forum

English Forums => General Discussion => Topic started by: SecCon on August 20, 2022, 12:07:10 PM

Title: Local backup?
Post by: SecCon on August 20, 2022, 12:07:10 PM
I do not have the ability to run a RAID0 or RAID1 on my system , or this would not be an issue.

Just put in another SSD in the box, and was hoping to find something among the plugins that would allow for a backup from system drive to a local drive. Maybe I would have to look in to FreeBSD things to do that, but I rather have a drive mapped in OPNSense and do periodic backups from it to a local drive.

Any suggestions on how that might be done, is there a plugin I have missed?
Title: Re: Local backup?
Post by: bartjsmit on August 20, 2022, 03:45:51 PM
RAID != backup

You can backup to cloud: https://docs.opnsense.org/manual/how-tos/cloud_backup.html
Title: Re: Local backup?
Post by: Patrick M. Hausen on August 20, 2022, 04:09:19 PM
Mirrored ZFS install is available if you have two drives. Backup can be done by a variety of plugins. I prefer backup to git.
Title: Re: Local backup?
Post by: SecCon on August 20, 2022, 06:43:23 PM
Quote from: pmhausen on August 20, 2022, 04:09:19 PM
Mirrored ZFS install is available if you have two drives. Backup can be done by a variety of plugins. I prefer backup to git.

Interesting, I guess that is when installing, and choosing ZFS options, similar to what can be done in TrueNAS.

I do not intend to backup to cloud.

I have looked at the default plugins available in the installed system, yet I see no obvious local backup functionality, care to give an example and how to get that? Maybe you refer to this:

Quoteos-api-backup Provide the functionality to download the config.xml

I also see: https://forum.opnsense.org/index.php?topic=18218.0 and https://www.apalrd.net/posts/2022/opnsense_backup/

But I must admit being more interested in the ZFS approach... will give that a looksie