-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create method to backup issues.db #1145
Comments
@miketaylr I have a question here. Before moving the issues.db to a backup location that $DB_BACKUP_LOCATION, I need to verify if issues.db exists. Should I check if issues.db exists in webcompat server / just in the current directory(where ever the code is executed) ? Should I ssh to a host and check if issues.db exists there and also send the backup folder to the host? |
just in the current directory is fine.
Which host would this be? |
…shell commands
…shell commands
Issue #1145 - Move issues.db to backup location configured in secrets.py
This is merged now! |
This can be a command line argument to
run.py
: https://github.com/webcompat/webcompat.com/blob/master/run.py#L93Something like
python run.py --backup
. This should:Copy the existing issues.db to a folder that lives at
$DB_BACKUP_LOCATION
(or similar, somewhere configurable via secrets.py).The text was updated successfully, but these errors were encountered: