https://github.com/ribeirohugo/repo_backup
Git repositories backup system.
https://github.com/ribeirohugo/repo_backup
backup git golang
Last synced: 6 months ago
JSON representation
Git repositories backup system.
- Host: GitHub
- URL: https://github.com/ribeirohugo/repo_backup
- Owner: ribeirohugo
- License: gpl-3.0
- Created: 2025-08-16T21:43:59.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-17T17:00:29.000Z (11 months ago)
- Last Synced: 2025-08-17T18:11:02.344Z (11 months ago)
- Topics: backup, git, golang
- Language: Go
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Repository Backup
The *Repository Backup* allows to automatize the backup process of hosted repositories,
by cloning it and compressing into a file.
## 1. How to run
`repobackup` requires a list of repositories that should be inserted or through the arguments, or through a file.
Using command arguments:
```
repobackup
```
You can run using a file, that holds a list of repositories separated line break.
```
repobackup -f repos.txt
```
### 1.1. On Windows
Example of running `repobackup` with file flag:
`.\repobackup -f repos.txt`
Example of compilation for Windows x64:
`$env:GOOS = "windows"; $env:GOARCH = "amd64"; go build -o repobackup.exe cmd/main/repobackup.go`