mirror of
https://github.com/opnsense/plugins.git
synced 2026-04-13 13:10:25 -04:00
This simple plugin takes a few parameters, such as hostname and username and schedules a cron job to remotely scp the config.xml file at regular intervals. It uses the public/private keypair of the built-in root user as the source of the key exchange. This means that the public key must be copied to the remote host and added to the authorized_keys file (for the defined user). The remote file is backed up as `config-YYYY-DD-MM-HH-MM.xml`, for example: `config-2018-01-02-15-40.xml`. It's possible to change the remote location of where the config file is backed up to. The cron job can be modified under System/Settings/Cron and the schedule adjusted to suit the backup frequency requirements. -=david=- closes #457
7 lines
189 B
Makefile
7 lines
189 B
Makefile
PLUGIN_NAME= scp-backup
|
|
PLUGIN_VERSION= 0.1.0
|
|
PLUGIN_COMMENT= Perform config backups using SCP.
|
|
PLUGIN_MAINTAINER= dharrigan@gmail.com
|
|
PLUGIN_DEVEL= yes
|
|
|
|
.include "../../Mk/plugins.mk"
|