# Best practice to backup custom directories

**URL:** https://forum.yunohost.org/t/best-practice-to-backup-custom-directories/9426
**Category:** Support
**Tags:** english
**Created:** [November 5, 2019, 5:39pm UTC](https://forum.yunohost.org/t/best-practice-to-backup-custom-directories/9426 "2019-11-05T17:39:39Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bris](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/b/0ea827/32.png) [@bris](https://forum.yunohost.org/u/bris)
#### Post date: [November 5, 2019, 5:39pm UTC](https://forum.yunohost.org/t/best-practice-to-backup-custom-directories/9426/1 "2019-11-05T17:39:39Z")

</div>

Hi,  
After reading through all the docs and a couple of posts I’m still wondering what the best practice is to create a local backup of a directory outside of the yunohost ecosystem.

Situation:  
DISK1 mounted to `/media/storage`  
DISK2 mounted to `/media/backup`

My goal:  
An automated backup of `/media/storage/share` to `/media/backup/share_backup`  
(Sidenote: my `/home/yunohost.multimedia/share` points to `/media/storage/share`)

So far:

- I followed the instructions on [https://yunohost.org/#/backup](https://yunohost.org/#/backup) but I do not see an option to choose custom directories here

- After learning about Borg and the Yunohost Borg App I thought I could do it this way. But the app interface only allows for remote server backup setup

- Then I came across this [tutorial](https://forum.yunohost.org/t/how-to-backup-automatically-with-borg-on-a-local-harddrive-without-encryption/4005) on the forum. Unfortunately it looks like this is again using the “yunohost backup” command I don’t see where I would define custom directories.

Since it seems like a very basic task, I was wondering if I’m just looking in the wrong direction here. I’m thankful for any help or hint.

---

<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: [November 20, 2019, 5:39pm UTC](https://forum.yunohost.org/t/best-practice-to-backup-custom-directories/9426/2 "2019-11-20T17:39:40Z")

</div>

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