1
17.7 Legacy Series / Re: Daily backup configuration on Google Drive
« on: October 04, 2017, 04:56:50 pm »
Hi,
I'm using rsync over ssh to copy opnsense configuration from /conf to another host.
Just dropped a shell script to opnsense:/usr/local/etc/periodic/daily
You may need to install rsync via pkg add rsync and setup puplic-key authentication for user root.
I'm using rsync over ssh to copy opnsense configuration from /conf to another host.
Just dropped a shell script to opnsense:/usr/local/etc/periodic/daily
Code: [Select]
#!/bin/sh
PATH=$PATH:/usr/local/bin:/usr/local/sbin
export PATH
/usr/local/bin/rsync -av /conf server:/backups/opnsense
You may need to install rsync via pkg add rsync and setup puplic-key authentication for user root.