# How can I do a full backup?

**URL:** <https://discuss.elastic.co/t/how-can-i-do-a-full-backup/264486>\
**Category:** Kibana\
**Tags:** snapshot-and-restore\
**Created:** [February 16, 2021, 10:19pm UTC](https://discuss.elastic.co/t/how-can-i-do-a-full-backup/264486 "2021-02-16T22:19:26Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Solknaar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/solknaar/32/76683_2.png) [@Solknaar](https://discuss.elastic.co/u/Solknaar)\
**Post date:** [February 16, 2021, 10:19pm UTC](https://discuss.elastic.co/t/how-can-i-do-a-full-backup/264486/1 "2021-02-16T22:19:27Z")

</div>

Hi everyone !!!  
I use Elasticsearch 7.9.2, with Kibana and Beats, (lucene\_version = 8.6.2) in a Linux server (Red Hat Enterprise Linux Server 7.4), with a single node.

I got help to make a full backup, but, if possible, don't use export/import snapshot feature.

There is a link to guide me, step by step, how to backup and restore later ?

Thank for all kind of help.  
Best regards.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 16, 2021, 10:52pm UTC](https://discuss.elastic.co/t/how-can-i-do-a-full-backup/264486/2 "2021-02-16T22:52:15Z")

</div>

Welcome to our community! 😃

A full backup of Elasticsearch uses [snapshot and restore](https://www.elastic.co/guide/en/elasticsearch/reference/7.11/snapshots-restore-snapshot.html). You can manage this [in Kibana too](https://www.elastic.co/guide/en/kibana/current/snapshot-repositories.html).

---

<div class="post-metadata">

**Author:** ![Solknaar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/solknaar/32/76683_2.png) [@Solknaar](https://discuss.elastic.co/u/Solknaar)\
**Post date:** [February 16, 2021, 11:04pm UTC](https://discuss.elastic.co/t/how-can-i-do-a-full-backup/264486/3 "2021-02-16T23:04:19Z")

</div>

Thanks for your help.

I so insecure to do this. I tried this:  
1 Select my principal SPACE name [PRD] and go to [Saved Objects]  
2 There are 427 objects, select [Export 427 objects], and choose [Select all]  
3 Saves a [.ndjson] file local  
4 Creates a new SPACE name [PRD\_BKP]  
5 Import the [.ndjson] file local to [PRD\_BKP]

OK there is not problem at all.  
But, when I open some dashboard from [PRD\_BKP] not even all my setup dashboards are OK.

What a do wrong so far ?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 16, 2021, 11:05pm UTC](https://discuss.elastic.co/t/how-can-i-do-a-full-backup/264486/4 "2021-02-16T23:05:44Z")

</div>

Are you talking specifically about exporting and restoring the Kibana objects, not a full Elasticsearch backup?

If some dashboards are not working, there should be errors?

---

<div class="post-metadata">

**Author:** ![Solknaar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/solknaar/32/76683_2.png) [@Solknaar](https://discuss.elastic.co/u/Solknaar)\
**Post date:** [February 16, 2021, 11:23pm UTC](https://discuss.elastic.co/t/how-can-i-do-a-full-backup/264486/5 "2021-02-16T23:23:15Z")

</div>

Well... I think when I do the export/import and create the [.ndjson] file, all the index, roles, users, dash, security configuration... are coming.

Because of that I ask about a FULL BACKUP. I couldn't differentiate those concepts.  
I only need create a file (or whatelse it possible) to got it all.  
I think could be by command line on [DEV TOOLS] or even in the Linux console.

Sorry about my level on ES.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 16, 2021, 11:26pm UTC](https://discuss.elastic.co/t/how-can-i-do-a-full-backup/264486/6 "2021-02-16T23:26:41Z")

</div>

> [@Solknaar](#):
>
> Well... I think when I do the export/import and create the [.ndjson] file, all the index, roles, users, dash, security configuration... are coming.

No, that is not the case. If you are exporting things from Kibana that is only the dashboards and visualisations, spaces and other Kibana specific information.  
Elasticsearch stores the data, the security config etc.

---

<div class="post-metadata">

**Author:** ![Solknaar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/solknaar/32/76683_2.png) [@Solknaar](https://discuss.elastic.co/u/Solknaar)\
**Post date:** [February 16, 2021, 11:31pm UTC](https://discuss.elastic.co/t/how-can-i-do-a-full-backup/264486/7 "2021-02-16T23:31:00Z")

</div>

OK Mark.

I want to thank you immensely for your patience with me.  
I will try to reproduce according to the link you recommended and do the tests, to ensure the effectiveness. And if doesn't work, I will return here.

Thanks a lot for your guidance.  
Best regards

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 16, 2021, 11:31pm UTC](https://discuss.elastic.co/t/how-can-i-do-a-full-backup/264486/8 "2021-03-16T23:31:39Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
