Limit backups to selected dir

Hello,

Is there a way to limit what folders the backup actually backs up?
my server is at home and is also host to my media (many GB worth) and when I ran
backup last it tried to tar.gz it all and failed when the HDD space was depleted

the folder I wish to ignore is /home/media
but still wish to backup all the yunohost stuff

regards.

Hi, the backup ignores the /home/yunohost.*
This is why in the YunoHost Multimedia architecture the media folder has been named /home/yunohost.multimedia.

I therefore recommend you to change the name of your folder to yunohost.media, or use the YunoHost multimedia architecture that hopefully will become standard for all the multimedia apps (see this topic - in French sorry)

Cheers

Hello,

Thank you so much!

I tried to install the yunohost.multimedia package and I’m getting an error

root@epoc: # wget https://github.com/YunoHost-Apps/yunohost/archive/master.zip
--2016-12-02 12:13:12--  https://github.com/YunoHost-Apps/yunohost/archive/master.zip
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-12-02 12:13:13 ERROR 404: Not Found.

For your need I think it would be easier to just rename your media folder into yunohost.media

If you nevertheless want the full yunohost multimedia architecture:
wget -nv https://github.com/YunoHost-Apps/yunohost.multimedia/archive/master.zip
unzip master.zip
sudo ./yunohost.multimedia-master/script/ynh_media_build.sh

ah sorry,
I renamed the folder but I thought I’d do the whole thing
google translate wasn’t very helpful

thank you again !!!