Config files backup

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
kevokvr
OpenVpn Newbie
Posts: 4
Joined: Fri Oct 12, 2018 6:02 pm

Config files backup

Post by kevokvr » Fri Dec 28, 2018 8:19 pm

Hi there,

I'm running OpenVPN Access Server 2.5.2 on Ubuntu 18.04. I'm trying to make a backup of the Access Server settings before updating the Access Server. When I follow the directions on backup the config files per the official documentation, I'm getting "Permission Denied".

Code: Select all

./bin/sqlite3 .etc/db/config.db .dump > ./config.db.bak
-bash: ./config.db.bak: Permission denied

sudo ./bin/sqlite3 .etc/db/config.db .dump > ./config.db.bak
-bash: ./config.db.bak: Permission denied

sudo su ./bin/sqlite3 .etc/db/config.db .dump > ./config.db.bak
-bash: ./config.db.bak: Permission denied]
[/code]

When I attempt to sudo, sudo su, as show above, I get the same results.

What am I doing wrong? Is there a different command to be able backup these configuration files for this?

EDIT: I should also mention that our Ubuntu is being hosted on Google's Compute Engine, as a VM Instance.

Thanks,
Kevin

Post Reply