Comments (5)
Git repositories are stored on disk at /data
inside the container. Based on the configuration you posted, you are mounting /data
(inside the container) to /home/gitness/data
(outside the container). So you would backup /home/gitness/data
on your host to backup Gitness. To restore a Gitness backup, you would simply restore the contents of the disk back to /home/gitness/data
If you have any follow-up questions you can post to our Slack channel
https://docs.gitness.com/support#slack
from gitness.
You should be able to backup your data by copying the contents of “/home/gitness/data” in your host (not the container).
Please read :
https://docs.gitness.com/administration/configuration
https://docs.docker.com/storage/bind-mounts/
I am not sure if gitness already has this functionality on the UI/CLI, but and export or import field under the Administration tab / CLI flag could be added to add this extra functionality, it’s a easy implementation.
from gitness.
It's not there, I want to have access to the source code of the projects, is that possible?
from gitness.
I've been backing up /home/gitness
nightly.. Now its the moment of truth to recover from backup.. gonna test today and report back if above worked.. I'm particularly curious since my backup medium (hetzner storage box) does not support symlinks for some reason..
mv: cannot create symbolic link '/root/backup/08-02-2024/repos/f1/in/chorootih83xv8es9ix26r2c74pq4w4b2x9cx3.git/hooks/pre-receive': Operation not supported
from gitness.
I can confirm it works! Just needed to restart container after moving back up sqlite db and repos to /home/gitness!
from gitness.
Related Issues (20)
- Increase character limit for storing secrets HOT 3
- 【pipeline】使用pipeline示例模板或自定义模板为什么总是第一步要执行clone HOT 1
- Feature request of running a build on a seperated node
- Drone use PAT owner account for git commit HOT 1
- Cannot use expression variables in pipeline HOT 2
- feat: is it possible to recreate frontend(web) with nextjs? HOT 1
- The pipelines are unable to function properly when reading secrets. HOT 1
- any plan to release public cloud hosting? HOT 1
- Deploying Code on Different Runners based on Branches in Drone CI/CD HOT 1
- Helm chart missing index file HOT 1
- Opensource Website? HOT 1
- Git HTTPS Protocol - New Branch Creation Rule Not Blocking Push from CLI but Works via UI HOT 2
- Project and repo deletion actually do not delete the db spaces + repos, and do not free disk space HOT 1
- Pipeline Only Mode HOT 2
- Bug: Improve public repositories experience when visited HOT 1
- Feature request: explore tab
- Using drone is a real pain
- Gitness Integration with Open Source Dev Environment Manager. HOT 2
- Gitness Integration support HOT 1
- Gitness Api HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitness.