Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backups of Caravel #509

Closed
Frituurpanda opened this issue May 24, 2016 · 4 comments
Closed

Backups of Caravel #509

Frituurpanda opened this issue May 24, 2016 · 4 comments

Comments

@Frituurpanda
Copy link

Hi all,

I know that this probably is a very trivial question but how do you guys backup all the work done in Caravel. Say I wanted to export the dashboards, settings and users and import those in another Caravel instance.

Does anyone know how to export/copy that data?

Thanks in advance!

@joshwalters
Copy link
Contributor

joshwalters commented May 24, 2016

That should be stored in the caravel database. By default that is a sqlite db in /tmp/caravel.db.

This is pointed to with the SQLALCHEMY_DATABASE_URI setting in caravel/config.py.

@Frituurpanda
Copy link
Author

Thanks for the reply Josh. I indeed already moved the caravel.db out of the /tmp/ to make it persist when the instance crashes. Am I correct in assuming that all of the caravel configuration and data is in that caravel.db file?

@joshwalters
Copy link
Contributor

Yes, I think all the config data will be in that database (users, slices, etc).

@Frituurpanda
Copy link
Author

Allright Josh. I pulled the file, uploaded it to another instance and it works. Thanks heaps!

zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 17, 2021
… mind (apache#509)

* feat(time-format): add support for granularity

* feat: create time range from granularity

* fix: update format

* wip

* feat: refactor getFormatter

* feat: reconcile api

* test: add unit tests

* refactor: clean up

* refactor: createTime

* refactor: improve end time computation to be daylight saving compatible
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 24, 2021
… mind (apache#509)

* feat(time-format): add support for granularity

* feat: create time range from granularity

* fix: update format

* wip

* feat: refactor getFormatter

* feat: reconcile api

* test: add unit tests

* refactor: clean up

* refactor: createTime

* refactor: improve end time computation to be daylight saving compatible
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 25, 2021
… mind (apache#509)

* feat(time-format): add support for granularity

* feat: create time range from granularity

* fix: update format

* wip

* feat: refactor getFormatter

* feat: reconcile api

* test: add unit tests

* refactor: clean up

* refactor: createTime

* refactor: improve end time computation to be daylight saving compatible
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 26, 2021
… mind (apache#509)

* feat(time-format): add support for granularity

* feat: create time range from granularity

* fix: update format

* wip

* feat: refactor getFormatter

* feat: reconcile api

* test: add unit tests

* refactor: clean up

* refactor: createTime

* refactor: improve end time computation to be daylight saving compatible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants