I'm running Ubuntu 14.04.5 on a 64-bit EC2 instance.
I performed in In-Place upgrade for my OpenVPN Access Server yesterday and one of the things the instructions suggest is backing up four particular configuration files.
This is described in this link
When I navigate to the config file location that I want to backup and run this command:
./bin/sqlite3 ./etc/db/config.db .dump > ./config.db.bak
I get the following result:
mp > ./config.db.bak
-bash: ./config.db.bak: Permission denied
When I add "sudo" in front of the command I get the same result.
Now, the instructions from OpenVPN claim
that this can be done while the server is active. In other words, these can be copied while those services are running.
However, I'm a little stumped as to why I can't copy these.
As an administrator, how can I get the proper permissions to backup these configuration files
Thanks for your help