# Data Backup

**URL:** https://meta.discourse.org/t/data-backup/288160
**Category:** Self-hosting
**Created:** [December 10, 2023, 4:35pm UTC](https://meta.discourse.org/t/data-backup/288160 "2023-12-10T16:35:21Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [December 10, 2023, 6:27pm UTC](https://meta.discourse.org/t/data-backup/288160/6 "2023-12-10T18:27:14Z")

</div>

Can you please explain what happened before the error and post the error messages? It may be possible to fix your instance.

edit: Looks like a few people did try to help you, including one of our team members:

> [@I can't start a Discourse](https://meta.discourse.org/t/i-cant-start-a-discourse/287894):
>
> failed with return #\<Process::Status: pid 147 exit 128\> Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec\_command.rb:132:in `spawn' exec failed with the params {"cd"=\>"$home", "hook"=\>"code", "cmd"=\>["sudo -H -E -u discourse git reset --hard", "sudo -H -E -u discourse git clean -f", "sudo -H -E -u discourse bash -c '\n set -o errexit\n if [$(git rev-parse --is-shallow-repository) == \"true\"]; then\n git remote set-branches --add origin main\n git r…

Closing this topic so discussion can continue there.

---

_[View the full topic](https://meta.discourse.org/t/data-backup/288160)._
