# Restoring same backup multiple times

**URL:** <https://forum.weaviate.io/t/restoring-same-backup-multiple-times/1222>\
**Category:** General\
**Created:** [January 12, 2024, 10:32pm UTC](https://forum.weaviate.io/t/restoring-same-backup-multiple-times/1222 "2024-01-12T22:32:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Landon\_Edwards](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/landon_edwards/32/649_2.png) [@Landon\_Edwards](https://forum.weaviate.io/u/Landon_Edwards)\
**Post date:** [January 12, 2024, 10:32pm UTC](https://forum.weaviate.io/t/restoring-same-backup-multiple-times/1222/1 "2024-01-12T22:32:03Z")

</div>

I am encountering an issue when trying to restore from a backup that has already been read by the weaviate instance once before.

This issue can be created via the following steps;

1. Save a backup with id`latest` which contains one class ExampleClass with gcs backend. Backup completes successfully.

2. Delete ExampleClass within the weaviate instance.

3. Restore backup with id`latest`

4. Verify restore was sucesfull.

5. Delete ExampleClass Again within the weaviate instance.

6. After attempting to restore the backup again I encounter the following error

Backup restore failed: {‘backend’: ‘gcs’, ‘classes’: [‘ExampleClass’], ‘id’: ‘latest’, ‘path’: ‘gs://weaviate/latest’, ‘status’: ‘FAILED’, ‘error’: ‘restore class ExampleClass: write files: move files to destination: move /var/lib/weaviate/.backup.tmp/ExampleClass/exampleclass\_QHtt1NlFVFlW.hnsw.commitlog.d /var/lib/weaviate/ExampleClass\_QHtt1NlFVFlW.hnsw.commitlog.d: rename /var/lib/weaviate/.backup.tmp/ExampleClass/exampleclass\_QHtt1NlFVFlW.hnsw.commitlog.d /var/lib/weaviate/exampleclass\_QHtt1NlFVFlW.hnsw.commitlog.d: file exists’}

It seems like it fails because it is trying to use the same log name each time.

Would appreciate any insights people can offer. In particular has anyone been able to preform multiple restores in the same weaviate instance using the same backup id?

---

<div class="post-metadata">

**Author:** ![DudaNogueira](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dudanogueira/32/7846_2.png) [@DudaNogueira](https://forum.weaviate.io/u/DudaNogueira)\
**Post date:** [January 15, 2024, 8:56pm UTC](https://forum.weaviate.io/t/restoring-same-backup-multiple-times/1222/2 "2024-01-15T20:56:38Z")

</div>

Hi Landon!

That’s interesting. I will try to reproduce this on my end and will get back to you soon.

**Some questions:**  
Is this a multinode cluster?

Looks like you are using GCP. Have you also noticed this issue while using S3?

Thanks for reporting!

---

<div class="post-metadata">

**Author:** ![DudaNogueira](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dudanogueira/32/7846_2.png) [@DudaNogueira](https://forum.weaviate.io/u/DudaNogueira)\
**Post date:** [January 22, 2024, 9:49pm UTC](https://forum.weaviate.io/t/restoring-same-backup-multiple-times/1222/3 "2024-01-22T21:49:53Z")

</div>

I was not able to reproduce this.

As WCS uses gcs, i tried reproducing it there with one of our managed clusters.

I created a python notebook here:

> **[Google Colaboratory](https://colab.research.google.com/drive/1IDpSAw0BNMPQm0xUMjACFmlfydh8eyjV?usp=sharing)**
