# Creation of new db from backup not possible - more than 63 characters

**URL:** <https://forums.percona.com/t/creation-of-new-db-from-backup-not-possible-more-than-63-characters/35919>\
**Category:** Percona Everest\
**Created:** [January 2, 2025, 6:13am UTC](https://forums.percona.com/t/creation-of-new-db-from-backup-not-possible-more-than-63-characters/35919 "2025-01-02T06:13:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![balu](https://avatars.discourse-cdn.com/v4/letter/b/eb9ed0/32.png) [@balu](https://forums.percona.com/u/balu)\
**Post date:** [January 2, 2025, 6:13am UTC](https://forums.percona.com/t/creation-of-new-db-from-backup-not-possible-more-than-63-characters/35919/1 "2025-01-02T06:13:17Z")

</div>

Hi folks,

I have a interesting issue:

I’ve created a recurring backup job of my pxc db with name `backup-apr` (generated by everest).  
I’ve also created a backup location with name `hetzner-fsn-prod`  
This backup job now creates backups every hour with names `cron-<db_name>-hetzner-fsn-prod-2025125570-3hb2e`

The Name of my db is 13 characters long which leads in a backup job name of 66 characters.

Now, if I try to create a new DB from one of those backups, I can see the following error in the logs:

```auto
2025-01-02T06:00:35Z	ERROR	Reconciler error	{"controller": "databasecluster", "controllerGroup": "everest.percona.com", "controllerKind": "DatabaseCluster", "DatabaseCluster": {"name":"restored-<DB_NAME>","namespace":"db-<DB_NAME>"}, "namespace": "db-<DB_NAME>", "name": "restored-<DB_NAME>", "reconcileID": "fdb2087f-a9c1-4ad8-9ecb-5051e9052df4", "error": "DatabaseCluster.everest.percona.com \"restored-<DB_NAME>\" is invalid: metadata.labels: Invalid value: \"backupStorage-cron-<DB_NAME>-hetzner-fsn-prod-2025125570-3hb2e\": name part must be no more than 63 characters"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:316
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:263
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:224

```

Which is totally correct, as the value of an annotation must not be longer than 63 characters.

This seems to be a bug for me, as the name of a db and the name of a backup-location can definitely be longer than the names, I’ve used.

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [January 2, 2025, 4:30pm UTC](https://forums.percona.com/t/creation-of-new-db-from-backup-not-possible-more-than-63-characters/35919/2 "2025-01-02T16:30:39Z")

</div>

Hey @balu,  
Please open a bug report on this at [https://jira.percona.com/](https://jira.percona.com/) under the Percona Everest category.

---

<div class="post-metadata">

**Author:** ![balu](https://avatars.discourse-cdn.com/v4/letter/b/eb9ed0/32.png) [@balu](https://forums.percona.com/u/balu)\
**Post date:** [January 3, 2025, 5:00am UTC](https://forums.percona.com/t/creation-of-new-db-from-backup-not-possible-more-than-63-characters/35919/3 "2025-01-03T05:00:48Z")

</div>

Hi @matthewb,

unfortunately I’m not allowed to file a bug in the everest project:

 ![image](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/3X/1/5/15a792beb31be875d3ccad387b4bfb764bdaf449.png)

Greetings, Balu

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [January 3, 2025, 5:05am UTC](https://forums.percona.com/t/creation-of-new-db-from-backup-not-possible-more-than-63-characters/35919/4 "2025-01-03T05:05:19Z")

</div>

Ok. I’ll forward this post to one of our Everest managers.

---

<div class="post-metadata">

**Author:** ![Tomislav\_Plavcic](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/tomislav_plavcic/32/9717_2.png) [@Tomislav\_Plavcic](https://forums.percona.com/u/Tomislav_Plavcic)\
**Post date:** [January 7, 2025, 11:27am UTC](https://forums.percona.com/t/creation-of-new-db-from-backup-not-possible-more-than-63-characters/35919/5 "2025-01-07T11:27:42Z")

</div>

Hi @balu !

There’s a ticket already open for this issue here: [Jira](https://perconadev.atlassian.net/browse/EVEREST-1651)

It is currently scheduled to be fixed in `1.5.0` version, but we will try to update the docs with this limitation until the fix is provided.

I’m a bit concerned because you are not able to open ticket in our Jira, can you share your account name so it can be checked (I don’t see it in your picture)?

---

<div class="post-metadata">

**Author:** ![balu](https://avatars.discourse-cdn.com/v4/letter/b/eb9ed0/32.png) [@balu](https://forums.percona.com/u/balu)\
**Post date:** [January 7, 2025, 12:37pm UTC](https://forums.percona.com/t/creation-of-new-db-from-backup-not-possible-more-than-63-characters/35919/6 "2025-01-07T12:37:43Z")

</div>

Hi @Tomislav_Plavcic

Good to here 🙂

I’ve wrote you a DM

Greetings, balu
