Giter VIP home page Giter VIP logo

Comments (7)

Ravinou avatar Ravinou commented on August 17, 2024

Hi @fear :)
Indeed BorgWarehouse goes further than just displaying information about a repository. It is really used to manage a server and to report on it.

Your case is really precise, I don't know how Hetzner storage boxes work (even if it's my main hosting provider, and I have baremetal and VM with them) because I never tested them.

Do you know if these storage boxes are based on any standard ?

I don't think it's impossible to add the case of a Hetzner storage box, even if it's not a small site I find the case interesting for BorgWarehouse.

from borgwarehouse.

fear avatar fear commented on August 17, 2024

Hey Ravinou,

the hetzner Storage Boxes offer acces to the Storage via a secure shell on port 23. You can connect via console wich is offering a small set of tools:

+-----------------------------------------------------------------------------+
| The following commands are available:                                       |
|   ls                                  list directory content                |
|   tree                                list directory content                |
|   cd                                  change current working directory      |
|   pwd                                 show current working directory        |
|   mkdir                               create new directory                  |
|   rmdir                               delete directory                      |
|   du                                  disk usage of files/directories       |
|   df                                  show disk usage                       |
|   dd                                  read and write files                  |
|   cat                                 output file content                   |
|   touch                               create new file                       |
|   cp                                  copy files/directories                |
|   rm                                  delete files/directories              |
|   unlink                              delete file/directory                 |
|   mv                                  move files/directories                |
|   chmod                               change file/directory permissions     |
|   md5|sha1|sha256|sha512              create hash sum of file               |
|   md5sum|sha1sum|sha256sum|sha512sum  create hash sum of file               |
|   head                                show first lines of file              |
|   tail                                show last lines of file               |
|   grep                                search for specific string in files   |
|   stat                                stat files/directory                  |
|                                                                             |
| Available as server side backend:                                           |
|   borg                                                                      |
|   rsync                                                                     |
|   scp                                                                       |
|   sftp                                                                      |
|   rclone serve restic --stdio                                               |
|                                                                             |
| Please note that this is only a restricted shell which do not               |
| support shell features like redirects or pipes.                             |
|                                                                             |
| You can find more information in our Docs:                                  |
|   https://docs.hetzner.com/robot/storage-box/                               |
+-----------------------------------------------------------------------------+

So i guess ists a chrooted linux envirnment with minimal toolset :)

beside that i could mount the storage to the borgwarehouse server as working directory via sftp, cifs or webdav. But in my opinion htis would be a workaround, since borg-hw. It would be greate to connect existing repositorys to the warehouse like [Add] -> [new] || [existing] .

from borgwarehouse.

Ravinou avatar Ravinou commented on August 17, 2024

Thank you! I will look into this feature in the next few weeks and I'll give you an answer.

from borgwarehouse.

fear avatar fear commented on August 17, 2024

Thank you in advance 👍🏻

from borgwarehouse.

Ravinou avatar Ravinou commented on August 17, 2024

Hi @fear, unfortunately hetzner storage boxes are not cloud products but products with a 30 day commitment. So it's more complicated for me to do integration tests of their product.

However I was wondering if you could try this:

  • Create a new repository in borgwarehouse
  • Get the username and the repo corresponding to the repository
    image
  • Mount the storage box in SSHFS in the folder : /var/borgwarehouse/USER/repos/REPOX/
  • Give the right user rights on the mount

If you can test this, I'm very interested, thanks for your help.

from borgwarehouse.

Ravinou avatar Ravinou commented on August 17, 2024

Hi @fear , can you test it ? Thanks

from borgwarehouse.

Flol0 avatar Flol0 commented on August 17, 2024

Hi @Ravinou
i think you are thinking too Complex in this.
He just wants to monitor Borg Repositorys hosted on Remote Servers. So you can also just use the normal Borg Commands to get information about the Remote Repository.

Hope you understand what i mean.

from borgwarehouse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.