# DietPi backup deletion messed up my Nextcloud

**URL:** https://dietpi.com/forum/t/dietpi-backup-deletion-messed-up-my-nextcloud/2110
**Category:** Troubleshooting
**Created:** [30 March 2018 11:08 UTC](https://dietpi.com/forum/t/dietpi-backup-deletion-messed-up-my-nextcloud/2110 "2018-03-30T11:08:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Porfat](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/p/6f9a4e/32.png) [@Porfat](https://dietpi.com/forum/u/Porfat)
#### Post date: [30 March 2018 11:08 UTC](https://dietpi.com/forum/t/dietpi-backup-deletion-messed-up-my-nextcloud/2110/1 "2018-03-30T11:08:00Z")

</div>

Hi guys, I just screwed up.

The hardware I use to run DietPi: rpi3 + an external HDD configured as user data space. I’m facing an issue with my Nextcloud installation.

Before upgrading to DietPi v6.5 rolling update, I figured to make a backup of my system and userdata with dietpi-backup tool. However, because I didn’t specify backup path where my user\_data and system should be saved, my rootfs partition got 0 free space leaving me unable to upgrade.

So I manually deleted /mnt/dietpi-backup/ from SD card, plugged it back to rpi3 and now going to my Nextcloud’s address I am being greeted with a post installation “create an admin account” screen.

I am freaked out, what should I do to regain access to my data, please help!

---

<div class="post-metadata">

### Author: ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)
#### Post date: [30 March 2018 12:36 UTC](https://dietpi.com/forum/t/dietpi-backup-deletion-messed-up-my-nextcloud/2110/2 "2018-03-30T12:36:32Z")

</div>

Hmm, maybe the full sd card somehow broke MariaDB, on the other hand, all services are shut down before dietpi-backup run.

So let’s trace from the beginning. Please post the results:

```nohighlight
cat /var/www/nextcloud/config.php
ls -al /var/lib/mysql /mnt/dietpi_userdata/mysql /mnt/dietpi_userdata/nextcloud_data
mariadb -e 'show tables from nextcloud'

```

And check for MariaDB errors:

```nohighlight
journalctl -u mysql

```

---

<div class="post-metadata">

### Author: ![Porfat](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/p/6f9a4e/32.png) [@Porfat](https://dietpi.com/forum/u/Porfat)
#### Post date: [30 March 2018 20:49 UTC](https://dietpi.com/forum/t/dietpi-backup-deletion-messed-up-my-nextcloud/2110/3 "2018-03-30T20:49:43Z")

</div>

> [@MichaIng](#):
>
> Hmm, maybe the full sd card somehow broke MariaDB, on the other hand, all services are shut down before dietpi-backup run.

A weird situation indeed. However, couldn’t help myself so I accessed my data over ftp, backed up everything and just made a fresh install. Thanks for the fast reply though and sorry for wasting your time.
