Databases and cron jobs
edka databases and edka cronjobs work with the databases and cron jobs of
the linked cluster, or of the one --cluster names. Without a linked cluster,
list shows those of every cluster. To create them, use the console, as
Databases and Cron Jobs
describe, or the API commands.
Prerequisites
Section titled “Prerequisites”- The Edka CLI, signed in with
edka login.
Databases
Section titled “Databases”edka databases listedka databases get orders # Instances, primary and recovery windowedka databases backup orders # Start a backup nowedka databases backups orders # Backups, newest firstedka databases logs orders --followedka databases diagnose orders # Instances, archiving and backups that failedka databases delete ordersbackups lists a database’s backups, newest first. For PostgreSQL, it lists the
ten most recent. logs takes the flags of edka logs, such as --pod,
--previous and --tail.
delete deletes a database with its data, and asks you to type its name. Edka
refuses while an app uses the database or while it is still provisioning, and
--force deletes it anyway.
See Diagnose problems for what databases diagnose
finds.
Cron jobs
Section titled “Cron jobs”edka cronjobs listedka cronjobs get nightly-report # The cron job and its last runedka cronjobs runs nightly-report # Recent runs, newest firstedka cronjobs trigger nightly-report # Start a run nowedka cronjobs logs nightly-report # Logs of the newest runedka cronjobs logs nightly-report --run nightly-report-29311edka cronjobs suspend nightly-report # Stop scheduled runsedka cronjobs resume nightly-reportedka cronjobs diagnose nightly-report # Why the last run failed, or why none startsedka cronjobs delete nightly-reportruns lists the last 20 runs, and --limit up to 100. logs reads the newest
run, or the one --run names from the list of runs. suspend stops the
scheduled runs, and resume starts them again.
delete deletes the cron job and its Kubernetes resources, after confirmation
or with --yes.