Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Automatic encrypted UniFi Controller offsite backups
« previous
next »
Print
Pages: [
1
]
Author
Topic: Automatic encrypted UniFi Controller offsite backups (Read 585 times)
9axqe
Full Member
Posts: 201
Karma: 4
Automatic encrypted UniFi Controller offsite backups
«
on:
May 20, 2024, 05:45:46 pm »
The UniFi Controller backups are located here: /usr/local/share/java/unifi/data/backup/autobackup/
but I think this question applies to any file on opnsense, it's not really specific to UniFi controller.
I'm effectively looking for something able to encrypt a file on opnsense and upload it to a cloud service, google drive for example.
Does anyone have a recommendation?
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: Automatic encrypted UniFi Controller offsite backups
«
Reply #1 on:
May 20, 2024, 05:53:23 pm »
openssl ?
Logged
9axqe
Full Member
Posts: 201
Karma: 4
Re: Automatic encrypted UniFi Controller offsite backups
«
Reply #2 on:
May 20, 2024, 06:08:04 pm »
thanks, but a little more details would be good – I cannot find any documentation stating that openssh can natively upload to google drive for example.
I can write a script that encrypts the files using openssl, then uploads them using gdrive for example, and run this script using cron – but that's a lot of work (for me).
My question was asking if there isn't already a solution to this out there that I haven't found yet.
Logged
9axqe
Full Member
Posts: 201
Karma: 4
Re: Automatic encrypted UniFi Controller offsite backups
«
Reply #3 on:
May 20, 2024, 06:15:02 pm »
Well, I think I have my first viable idea.
I found this:
https://lazyadmin.nl/home-network/backup-unifi-controller-to-cloud/
but I didn't like it, because a plugin upgrade will very likely mess this up.
Then I thought "rclone on opnsense maybe?" and
tada
.
I'll report back if I got this to work.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Automatic encrypted UniFi Controller offsite backups