Archive > 17.7 Legacy Series

Daily backup configuration on Google Drive

(1/2) > >>

Rayman:
Hi,

I have setup configuration backup on Google Drive. If I press save it backups to Google Drive fine.

I'm wondering if I can save the backups on a daily basis automatically. If yes, how?

Thanks,
Ray

dpbklyn:
Maybe not daily, but this would be useful...Is it possible to set up a cron job to get this done?

rabievdm:
Actually to be able to have scheduled backups to other media would be useful as well eg SCP/SFTP

Olodin:
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


--- Code: ---#!/bin/sh
PATH=$PATH:/usr/local/bin:/usr/local/sbin
export PATH

/usr/local/bin/rsync -av /conf server:/backups/opnsense

--- End code ---

You may need to install rsync via pkg add rsync and setup puplic-key authentication for user root.

lysol:
Also interested in a scheduling feature. My google drive backup is working fine, but I still have to do it manually.

Navigation

[0] Message Index

[#] Next page

Go to full version