Comments (2)
Just to clarify, do you mean to use git as a backup solution or is it meant to backup git repos?
from bacup.
Just to clarify, do you mean to use git as a backup solution or is it meant to backup git repos?
In my particular scenario, I have a project that generates in place (inside the git folder) some content (think about a static website, with automatically generated articles). I had the need to backup them once they are generated, and since they are generated directly inside the repo, I just do git add .
and commit them.
Anyway, the solution should be general.
The uploader
trait has 4 cases:
- upload_folder -> move all the files into the repo (if they are not there yet), and
git add .; git commit -m 'backup'; git push origin
- upload_file -> move this file into the repo (and as above)
- upload_file_compressed -> same as upload_file, but the file is first compressed, then moved inside the repo
- upload_folder_compressed -> compress a folder, move it inside the repo, and commit it
from bacup.
Related Issues (13)
- What and why HOT 2
- Missing services: docker-based service? HOT 2
- Missing remote: localhost
- Missing remotes: Google Drive HOT 2
- Improve logging
- Keep only last "days" "N backups"
- Support for the first cloud provider and general structure
- Missing remotes: Google Cloud Storage
- Missing services: MySql/MariaDB
- Missing documentation
- Missing CI HOT 1
- Systemd configuration? HOT 1
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 bacup.