Backing Up Config Files
Posted: Mon Oct 30, 2017 3:51 pm
I'm running OpenVPN Access Server using the official AMI for AWS Ec2 (ami-fd67a590)
I recently upgraded from 2.1.1 to 2.1.12 using the in-place upgrade instructions.
When I follow the directions to backup the config files per the official documentation, I'm getting "Permission Denied".
Specifically, after I navigate to the correct directory I use this command:
and get the following result:
When I attempt to sudo, I get the same results.
What am I doing wrong? Is there a different command to be able backup these configuration files for this AMI?
Obviously a snapshot is the best "insurance policy", but I'd like to have confidence in upgrading our OpenVPN Server moving forward. If anyone has a good set of directions on how to setup these back-ups as a scheduled job, that would be awesome.
Thanks!
Tessando
I recently upgraded from 2.1.1 to 2.1.12 using the in-place upgrade instructions.
When I follow the directions to backup the config files per the official documentation, I'm getting "Permission Denied".
Specifically, after I navigate to the correct directory I use this command:
Code: Select all
./bin/sqlite3 ./etc/db/config.db .dump > ./config.db.bak
Code: Select all
mp > ./config.db.bak
-bash: ./config.db.bak: Permission denied
What am I doing wrong? Is there a different command to be able backup these configuration files for this AMI?
Obviously a snapshot is the best "insurance policy", but I'd like to have confidence in upgrading our OpenVPN Server moving forward. If anyone has a good set of directions on how to setup these back-ups as a scheduled job, that would be awesome.
Thanks!
Tessando