Best way to copy pfsense backups to S3 bucket?
-
I’d like to use an S3 bucket for a second copy of my pfSense backups. The hacky approach is to install the AWS CLI and set up a cron job to copy the files to an S3 bucket. Is there a more elegant way to do this?
-
Not included by default. You could script something to push the backups rather than pull them:
https://docs.netgate.com/pfsense/en/latest/backup/remote-backup.html
-
I didn’t realise that the AutoConfigBackup Service uploads backups to the Netgate Servers. That is even better :-)
docs "When a change is made to the configuration on a firewall, AutoConfigBackup automatically encrypts the contents with the passphrase entered in the AutoConfigBackup settings and then uploads the backup over HTTPS to Netgate servers. This gives instant, secure offsite backups of a firewall with no user intervention." -
Oh, yes indeed. And by far the easiest!