travis-backup is a cron application, which export builds and it's correspoonding jobs to json files and sends them to GCE.
- Ruby version
2.7.2
-
System dependencies
-
Configuration
config/settinigs.yml
or env vars like:
BACKUP_LIMIT
BACKUP_DELAY
BACKUP_HOUSEKEEPING_PERIOD
LOGS_URL
DATABASE_URL
GCE_PROJECT
GCE_CREDENTIALS
GCE_BUCKET
REDIS_URL
- How to run the test suite
bundle exec rspec
- How to run appication
bundle exec bin/run_backup
It's also possibe to run console
bundle exec bin/console
and then run export for single user/organization
Backup.new.export(owner_id)