/cf-backup-app

Schedule job for creating service backups in swisscom app cloud

Primary LanguageJavaScript

Automatic backup job - NodeJs

This app is running on the Swisscom App Cloud and creates and deletes backups for the databases in your space.

What to do after download

  1. add your specific services guid to config.js file
  2. upload app to your space
  3. modify environment variables in developer portal
  4. restart the app in developer portal

1. Add your services to config.js

Open config.jsin the src folder. Remove the sample environments and add there your own environments and services. You need one environment with one service at least. If you click on the left pane on your bounded service in your space than the service guid is in the browser-url visible.

2. Upload app to your CF space with terminal

$ cd <path/to/downladed/source>
$ cf login <with your credentials>
$ cf push

3. Modify app environment variables in developer portal

You need to change USERNAME and PASSWORD at least. You can use your own credentials or a technical user to authenticate on the APIs. The other variables are optional and set to default values. Hint: you can preset all the ENV variables in the manifest.yml file.

Cloud foundry environment variables

Configurable in Swisscom Developer Portal

4. Restart the app

Restart the app that the new ENV values are correctly set.

Environment variables for Swisscom Internal AppCloud