Skip to content

About

Backup self-hosted dgraph database and upload it to Google Cloud Storage.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

17 Commits

Folders and files

Repository files navigation

Export the database and upload it to Google Cloud Storage.

npm install
npm run start
import axios from "axios";

const options = {
  method: 'GET',
  url: 'http://127.0.0.1:9999/',
  headers: {'Content-Type': 'application/json', 'X-Dgraph-AuthToken': 'TOP_SECRET'}
};

axios.request(options).then(function (response) {
  console.log(response.data);
}).catch(function (error) {
  console.error(error);
});

About

Backup self-hosted dgraph database and upload it to Google Cloud Storage.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages