We must back up the databases at least daily on an s3 bucket. Let's make a script backup_dbs.sh that:
stops Prodigy
makes a copy of the sqlite, with the file name suffixed with the date
starts Prodigy again
copies the backup sqlite to s3
and let's document how to add this script to the crontab so that it is run everyday (during a time where the annotators are likely not using the tool).
Note that ideally there should be one script for all the instances of Prodigy
Let's copy the backups on s3://data.bdrc.io/prodigy/backups/, I'll provide credentials for that.
This is less urgent than the other ones, we can start annotating without this being finished
We must back up the databases at least daily on an s3 bucket. Let's make a script
backup_dbs.sh
that:and let's document how to add this script to the crontab so that it is run everyday (during a time where the annotators are likely not using the tool).
Note that ideally there should be one script for all the instances of Prodigy
Let's copy the backups on
s3://data.bdrc.io/prodigy/backups/
, I'll provide credentials for that.This is less urgent than the other ones, we can start annotating without this being finished