https://github.com/stv0g/git-annex-remote-tape
A git-annex external special remote for LTO tape drives
https://github.com/stv0g/git-annex-remote-tape
git-annex tape-backup tape-drive
Last synced: about 1 year ago
JSON representation
A git-annex external special remote for LTO tape drives
- Host: GitHub
- URL: https://github.com/stv0g/git-annex-remote-tape
- Owner: stv0g
- Created: 2025-03-22T10:24:03.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-25T19:10:54.000Z (about 1 year ago)
- Last Synced: 2025-03-25T19:34:02.234Z (about 1 year ago)
- Topics: git-annex, tape-backup, tape-drive
- Language: Rust
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# git-annex-remote-tape
```shell
git annex initremote type=external externaltype=tape drive=/dev/st0
```
```shell
git-annex-remote-tape init
git-annex-remote-tape repos
git-annex-remote-tape tapes
git-annex-remote pending --tape --repo
git-annex-remote-tape retrieve --tape --repo
```
```shell
~/.git-annex/remotes
UUID -> ~/my-repo
~/my-repo/.git/annex/tapes
UUID/
details.json
```
## On-tape format
```
+=====================+
| Media Header |
| - Version |
| - Header Length |
| - Create Time |
+=====================+
|///// FILE MARK /////|
+=====================+
| Archive Header 1 |
| - Version |
| - Header Length |
| - Create Time |
| - Host |
|=====================|
| Object Header 1 |
| - Version |
| - Header Length |
| - Object Length |
| - Key |
|- - - - - - - - - - -|
| Object Contents |
|---------------------|
| Object Header 2 |
..... |
+=====================+
|///// FILE MARK /////|
+=====================+
| Archive Header 2 |
| ..... |
+=====================+
```