# How do I shutdown yunohost before backup?

**URL:** https://forum.yunohost.org/t/how-do-i-shutdown-yunohost-before-backup/30892
**Category:** Support
**Tags:** backup, english
**Created:** [August 25, 2024, 3:39pm UTC](https://forum.yunohost.org/t/how-do-i-shutdown-yunohost-before-backup/30892 "2024-08-25T15:39:55Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![buoyantair](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/b/71e660/32.png) [@buoyantair](https://forum.yunohost.org/u/buoyantair)
#### Post date: [August 25, 2024, 3:39pm UTC](https://forum.yunohost.org/t/how-do-i-shutdown-yunohost-before-backup/30892/1 "2024-08-25T15:39:55Z")

</div>

### My YunoHost server

**Hardware:** VPS bought online  
**YunoHost version:** 11.2.22 (stable)  
**I have access to my server :** Yes I have through all methods (SSH, WebAdmin etc)  
**Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?** : no  
**If yes, please explain:**

### Description of my issue

Hello, I am trying to backup my server and the way I’m doing this is by using `rsync`.  
Basically I have about 50gb of data on an external harddisk. Since yunohost doesnt backup data from this harddisk, I need to manually backup this data.

So one thing I want to do before I backup is turn off yunohost (if there is such a thing)

I am not sure if there’s any single command that I can run like `yunohost shutdown` that would shutdown the yunohost server but not my VPS server itself.

If you have any suggestions, that would be helpful thank you!

---

<div class="post-metadata">

### Author: ![tituspijean](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tituspijean/32/3584_2.png) [@tituspijean](https://forum.yunohost.org/u/tituspijean)
#### Post date: [August 26, 2024, 12:58pm UTC](https://forum.yunohost.org/t/how-do-i-shutdown-yunohost-before-backup/30892/2 "2024-08-26T12:58:52Z")

</div>

Such command does not exist, YunoHost never stops running. 😛

If you want you can stop as many services as you want in the webadmin, and finish by the command line with `systemctl stop yunohost-api nginx`.

Afterwards you can restart them again with `systemctl start yunohost-api nginx` and restart the other services from the restarted webadmin.

---

<div class="post-metadata">

### Author: ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)
#### Post date: [August 26, 2024, 9:04pm UTC](https://forum.yunohost.org/t/how-do-i-shutdown-yunohost-before-backup/30892/3 "2024-08-26T21:04:58Z")

</div>

`sudo yunohost tools shutdown` to shutdown the server but this will shutdown the vps.  
But why do you need to shutdown the server to backup an external device? Why is yunohost unable to backup that data?

---

<div class="post-metadata">

### Author: ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)
#### Post date: [August 27, 2024, 2:30pm UTC](https://forum.yunohost.org/t/how-do-i-shutdown-yunohost-before-backup/30892/4 "2024-08-27T14:30:49Z")

</div>

By the way there is a new app in the yunohost catalog

> **[GitHub - YunoHost-Apps/custom\_backup\_ynh: An app to backup and restore extra paths](https://github.com/YunoHost-Apps/custom_backup_ynh)**
>
> An app to backup and restore extra paths

Try it and gives a feedback

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [September 26, 2024, 2:31pm UTC](https://forum.yunohost.org/t/how-do-i-shutdown-yunohost-before-backup/30892/5 "2024-09-26T14:31:43Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
