Go to file
2023-03-15 16:36:26 +01:00
Components feat: add "checked" attribute to Switch component 2023-01-18 15:01:00 +01:00
config feat: commit empty folder with gitkeep #12 2022-12-22 10:16:53 +01:00
Containers fix: improved error handling with fetch 2023-03-14 00:17:48 +01:00
docs/sudoers Merge branch 'main' into 25-improve-ubuntu-server-compatibility 2023-03-02 17:37:04 +01:00
helpers fix: improve ubuntu server compatibility #25 2023-02-28 12:35:14 +01:00
medias Initial commit for BorgWarehouse to Github 2022-12-01 13:25:10 +01:00
pages feat: add Apprise alert to cronjob 2023-03-15 09:54:07 +01:00
public Initial commit for BorgWarehouse to Github 2022-12-01 13:25:10 +01:00
styles feat: select Apprise Mode 2023-03-09 12:45:42 +01:00
.gitignore feat: add users.json to .gitignore #12 2022-12-22 10:16:53 +01:00
LICENSE Update Licence : GPL > AGPL 2022-12-01 16:05:59 +01:00
next.config.js Initial commit for BorgWarehouse to Github 2022-12-01 13:25:10 +01:00
package-lock.json Update dependencies 2023-03-15 16:36:26 +01:00
package.json Update dependencies 2023-03-15 16:36:26 +01:00
README.md doc: improve .env part of README 2023-02-28 10:36:34 +01:00

Next React

BorgWarehouse

A fast and modern WebUI for a BorgBackup's central repository server.
Explore the docs »

What is BorgWarehouse ?

BorgWarehouse is a graphical interface to manage a central BorgBackup repository server.

Today, if you want to have a large server on which you centralize backups of BorgBackup clients you have to do everything manually from the command line. It works, but in everyday life it can be complicated and adding, modifying, deleting repositories is always a bit long and tedious. If you want to do things right, you have to create a user on your server, associate him a public SSH key, give him a quota... in short it's a bit of work.

With BorgWarehouse, you have an interface that allows you to do all this simply and quickly :

  • add repositories
  • edit existing repositories
  • delete repositories
  • be alerted if there are no recent backups
  • monitor the volume of data
  • flexibly manage quotas for each repository
  • ...

The whole system part is automatically managed by BorgWarehouse and you don't have to touch your terminal anymore while enjoying a visual feedback on the status of your repositories.

Get started

You can find the documentation here : https://borgwarehouse.com/

🔑 Environment Variables

To run this project, you will need to add the following environment variables to your .env.local file.

Required variables :

  • NEXTAUTH_URL : The url of your application as https://borgwarehouse.com.
  • NEXTAUTH_SECRET : A secret random key.
  • CRONJOB_KEY : A secret API key for cronjob.
  • NEXT_PUBLIC_HOSTNAME : FQDN as borgwarehouse.com
  • NEXT_PUBLIC_SSH_SERVER_PORT : SSH port of your server as 22.
  • NEXT_PUBLIC_SSH_SERVER_FINGERPRINT_RSA : Your server SSH fingerprint for RSA.
  • NEXT_PUBLIC_SSH_SERVER_FINGERPRINT_ED25519 : Your server SSH fingerprint for ED25519.
  • NEXT_PUBLIC_SSH_SERVER_FINGERPRINT_ECDSA : Your server SSH fingerprint for ECDSA.

Example for a valid .env.local file :

# Private variable (Any change need a rebuild of app)
NEXTAUTH_URL=https://yourbwdomain.com
NEXTAUTH_SECRET=YOURFIRSTSECRET
CRONJOB_KEY=YOURSECONDSECRET
MAIL_SMTP_FROM=
MAIL_SMTP_HOST=
MAIL_SMTP_PORT=
MAIL_SMTP_LOGIN=
MAIL_SMTP_PWD=
MAIL_REJECT_SELFSIGNED_TLS=true

# Public variable
NEXT_PUBLIC_HOSTNAME=yourbwdomain.com
NEXT_PUBLIC_SSH_SERVER_PORT=22
NEXT_PUBLIC_SSH_SERVER_FINGERPRINT_RSA=SHA256:36mfYNRrm1aconVt6cBpi8LhAoPP4kB8QsVW4n8eGHQ
NEXT_PUBLIC_SSH_SERVER_FINGERPRINT_ED25519=SHA256:tYQuzrZZMqaw0Bzvn/sMoDs1CVEitZ9IrRyUg02yTPA
NEXT_PUBLIC_SSH_SERVER_FINGERPRINT_ECDSA=SHA256:nTpxui1oEmH9konPau17qBVIzBQVOsD1BIbBFU5IL04

# Disable NextJS telemetry
NEXT_TELEMETRY_DISABLED=1

You can find more details about generating your secrets or retrieving your SSH fingerprint. You can find more details about generating your secrets or retrieving your SSH fingerprint in the documentation.

How to update ?

Check the online documentation just here !