YunoHost-Apps / borgserver_ynh

Borg server package for YunoHost
https://www.borgbackup.org/
GNU Affero General Public License v3.0
9 stars 5 forks source link

Document how to manually change the quota #64

Open narFnarF opened 1 month ago

narFnarF commented 1 month ago

It's currently unclear how we're supposed to change the quota.

From what I've seen here: https://github.com/YunoHost-Apps/borgserver_ynh/issues/60 the process is:

  1. Open /home/BORG_USERNAME/.ssh/authorized_key
  2. Edit the command="borg serve --storage-quota 200G
  3. Open /etc/yunohost/apps/BORG_APP_NAME/settings.yml
  4. Edit the line quota: '200G'

Is there anything else that needs to be edited?

narFnarF commented 1 month ago

Might be useful too: Additional info from the officiel borg manual: https://borgbackup.readthedocs.io/en/stable/usage/serve.html#borg-serve

narFnarF commented 1 month ago

I could probably write some documentation/guides. Where should I do that? The readme? https://github.com/YunoHost-Apps/borgserver_ynh/blob/master/README.md Or maybe this description file? https://github.com/YunoHost-Apps/borgserver_ynh/blob/master/doc/DESCRIPTION.md