Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wip] Backup location #531

wants to merge 64 commits into
base: dev
Choose a base branch

[wip] Backup location #531

wants to merge 64 commits into from


Copy link

@zamentur zamentur commented Aug 31, 2018

The problem

We need to be able to backup and restore easily on remote location. Current solution (borg app, archivist) made easier to create a daily backup but the restore operation is quite difficult to do.


To improve the current app archivist_ynh and borg_ynh, this app create a repository subcategory, to be able to check backup are correctly made and to select them for restoration.

It integrates a borg connector to backup remotely.


PR Status

  • Make local borg working
  • Make remote borg working
  • Be able to list files in an archive
  • Be able to mount an archive somewhere
  • Optimize selective extraction
  • Change actionmap to support all new arguments
  • Predebug
  • Debug timer
  • Improve pruning
  • Debug legacy tar method
  • Debug hook method
  • Debug support self hosting federation client and write SHF server part
  • Debug borg repo encryption settings
  • Diagnosis alert on failed backup
  • Readd a repo without reinstalling
  • Download archive from borg :/
  • Go through all fixme / todo
  • Add a default repository settings and change actionmap call to get a better backward compatibility
  • Fix property name empty when listing or getting info
  • Migration to publish the ssh public key and create default repository (local-borg and local-legacy)
  • Check correctly the fingerprint on the first connection on a remote repository
  • Webadmin
  • write i18n pattern error
  • write unit tests
  • Write some comments on each function
  • Write an example of custom backup methods
  • Compatibility with current remote backup (borg app, borg tuto, archivist, outputdir uncompress) ?
  • Rewrite documentation


  • write Restic integration
  • Debug borg repo update
  • Find a way to check archive integrity by checking weight of .sql for example
  • Find a way to detect if a backup disk is not mounted as usual
  • Find a way to not block yunohost command when backup is running (cause it could be looooong the first time)
  • Check if servers could be in the same building ?
  • Evaluate speed connexion
  • Mount tar archive with ratarmount

How to test

apt install borgbackup
yunohost backup repository add local-borg
yunohost backup create -r local-borg
yunohost backup list
yunohost backup restore local-borg ARCHIVE


  • Principle agreement 0/2 :
  • Quick review 0/1 :
  • Simple test 0/1 :
  • Deep review 0/1 :

@zamentur zamentur changed the title Backup repository [wip] Backup repository Sep 4, 2018
@zamentur zamentur changed the title [wip] Backup repository [wip] Backup location Feb 4, 2019
@alexAubin alexAubin added this to the 3.x milestone Mar 28, 2019
@zamentur zamentur modified the milestones: 4.x, Horizon Jan 3, 2021
@zamentur zamentur changed the base branch from dev to 11.1 October 16, 2022 22:44
@zamentur zamentur mentioned this pull request Oct 17, 2022
4 tasks
Base automatically changed from 11.1 to dev October 24, 2022 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants