Skip to content

OPNsense action and script to backup config.xml over scp with a cron job in GUI.

License

Notifications You must be signed in to change notification settings

TheEvilCoder42/opnsense-scp-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OPNsense SCP-Backup

Action and script to backup config.xml over scp with a cron job in GUI.

Usage

actions_scp-backup.conf

Must be placed in /usr/local/opnsense/service/conf/actions.d/

Replace {USER} with an user that has the appropriate ssh key to access the backup host.

Execute $ service configd restart afterwards.

scp-backup.sh

Must be placed in /usr/home/scp-backup.sh (or change the path in actions_scp-backup.conf).

Replace {USERID} with the ID of the user {USER} for accessing the backup host {HOST}.

About

OPNsense action and script to backup config.xml over scp with a cron job in GUI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages