Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 694 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 694 Bytes

Build Status

backs up OPNSense config file to a remote server using scp and a ssh-key

files are saved on the remote server as config.${EPOCH_TIME}.xml

Required Environment Variables

  • SERVER_USER = user on remote server
  • SERVER_IP = ip to the remote server
To start a backup
quackup-opnsense /remote/backup/dir/
Example Crontab
1 2 * * * (bash -c "SERVER_USER=remoteuser SERVER_IP=your.remote.server.ip quackup-opnsense /remote/backup/dir") >> /local/log/path/quackup-opnsense.log