# Restoring an accidentally deleted service

**URL:** <https://forums.suse.com/t/restoring-an-accidentally-deleted-service/5585>\
**Category:** General\
**Created:** [February 19, 2017, 1:20am UTC](https://forums.suse.com/t/restoring-an-accidentally-deleted-service/5585 "2017-02-19T01:20:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![klezer](https://avatars.discourse-cdn.com/v4/letter/k/f9ae1b/32.png) [@klezer](https://forums.suse.com/u/klezer)\
**Post date:** [February 19, 2017, 1:20am UTC](https://forums.suse.com/t/restoring-an-accidentally-deleted-service/5585/1 "2017-02-19T01:20:28Z")

</div>

Hey folks,

I mistakenly deleted a service ☹ Audit Logs shows this action and I can see it on the API ui.  
But I do not know how to recover it. 😰

Is there a way to get this back?

 ![](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/0/04228641ec9f077142dfbdcaa1233541655819ba.png)

Version  
Rancher: v1.4.1  
Cattle: v0.176.9  
User Interface: v1.4.6  
Rancher CLI: v0.4.1  
Rancher Compose: v0.12.2

Thank you.

---

<div class="post-metadata">

**Author:** ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)\
**Post date:** [February 19, 2017, 1:37am UTC](https://forums.suse.com/t/restoring-an-accidentally-deleted-service/5585/2 "2017-02-19T01:37:29Z")

</div>

There is no recovering it or the data that was in the containers, but you can create a new service off of the old definition since it’s still in the DB…

`http://<server>/env/1a50/apps/add-service?serviceId=1s154&stackId=<stack id>`

---

<div class="post-metadata">

**Author:** ![klezer](https://avatars.discourse-cdn.com/v4/letter/k/f9ae1b/32.png) [@klezer](https://forums.suse.com/u/klezer)\
**Post date:** [February 20, 2017, 7:13pm UTC](https://forums.suse.com/t/restoring-an-accidentally-deleted-service/5585/3 "2017-02-20T19:13:52Z")

</div>

Thank you vincent, I guess that helps too but the restore feature would be nice. Thank you.
