Compare commits
5 commits
Author | SHA1 | Date | |
---|---|---|---|
|
2fcac583dd | ||
|
772feb8286 | ||
|
c3e8da47fa | ||
|
2b427010fe | ||
|
5c258bac2f |
28
README.md
28
README.md
|
@ -1,5 +1,12 @@
|
||||||
# backup2mdisc
|
# backup2mdisc
|
||||||
|
|
||||||
|
**Now you can enjoy a _self-contained_ backup on each disc without chain-dependency across your entire multi TB backup set!**:
|
||||||
|
- **Independently decryptable** (and restorable) archives on each M-Disc.
|
||||||
|
- Automatic ISO creation and optional disc burning in the same script.
|
||||||
|
- **Fast compression via lz4**.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## Purpose:
|
## Purpose:
|
||||||
1. Scans all files in a source directory.
|
1. Scans all files in a source directory.
|
||||||
2. Groups them into "chunks" so that each chunk is <= a specified size (default 100GB).
|
2. Groups them into "chunks" so that each chunk is <= a specified size (default 100GB).
|
||||||
|
@ -45,11 +52,17 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
## Usage:
|
## Usage:
|
||||||
`./backup_in_individual_chunks.sh /path/to/source /path/to/destination [CHUNK_SIZE] [--create-iso] [--burn]`
|
```
|
||||||
|
./backup2mdisc.sh /path/to/source /path/to/destination [CHUNK_SIZE] [--create-iso] [--burn]
|
||||||
|
```
|
||||||
|
|
||||||
## Examples:
|
## Examples:
|
||||||
`./backup_in_individual_chunks.sh /home/user/data /mnt/backup 100G --create-iso`
|
```bash
|
||||||
`./backup_in_individual_chunks.sh /data /backup 50G --burn`
|
./backup2mdisc.sh /home/user/data /mnt/backup 100G --create-iso
|
||||||
|
```
|
||||||
|
```bash
|
||||||
|
./backup2mdisc.sh /data /backup 50G --burn
|
||||||
|
```
|
||||||
|
|
||||||
## Dependencies:
|
## Dependencies:
|
||||||
- `bash`
|
- `bash`
|
||||||
|
@ -98,12 +111,3 @@
|
||||||
4. **Cross-Platform**
|
4. **Cross-Platform**
|
||||||
- On FreeBSD or macOS, you might need to tweak the commands for hashing (`sha256sum` vs. `shasum -a 256`) or ISO creation (`mkisofs` vs. `genisoimage`).
|
- On FreeBSD or macOS, you might need to tweak the commands for hashing (`sha256sum` vs. `shasum -a 256`) or ISO creation (`mkisofs` vs. `genisoimage`).
|
||||||
- For burning, Linux uses `growisofs`, macOS uses `hdiutil`, and FreeBSD may require `cdrecord` or another tool.
|
- For burning, Linux uses `growisofs`, macOS uses `hdiutil`, and FreeBSD may require `cdrecord` or another tool.
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
**Now you can enjoy the best of both worlds**:
|
|
||||||
- **Independently decryptable** (and restorable) archives on each M-Disc.
|
|
||||||
- Automatic ISO creation and optional disc burning in the same script.
|
|
||||||
- Fast compression via lz4.
|
|
||||||
|
|
||||||
This gives you a **self-contained** backup on each disc without chain-dependency across your entire 2TB backup set!
|
|
Loading…
Reference in a new issue