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]
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