Compare commits
No commits in common. "2a0357b36a854f5c79c01d3430da38979f3c134a" and "96725dc9c85fb02833083db4550c7d725ddce82c" have entirely different histories.
2a0357b36a
...
96725dc9c8
12
Makefile
12
Makefile
|
@ -1,12 +0,0 @@
|
||||||
##################################
|
|
||||||
# Install dd-gz (for Unix/Linux) #
|
|
||||||
##################################
|
|
||||||
|
|
||||||
PREFIX=/usr
|
|
||||||
|
|
||||||
install:
|
|
||||||
cp -rf dd-gz $(PREFIX)/bin/
|
|
||||||
chmod +x $(PREFIX)/bin/dd-gz
|
|
||||||
|
|
||||||
uninstall:
|
|
||||||
rm -rf $(PREFIX)/bin/dd-gz
|
|
47
README.md
47
README.md
|
@ -1,47 +0,0 @@
|
||||||
`dd-gz` - dd compressing on the fly
|
|
||||||
|
|
||||||
## Create backup:
|
|
||||||
|
|
||||||
```
|
|
||||||
dd-gz backup /dev/<device> /path/<output>.gz
|
|
||||||
```
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
```
|
|
||||||
dd-gz backup /dev/sdc /home/backup/sdc-backup.gz
|
|
||||||
```
|
|
||||||
|
|
||||||
## Restore backup:
|
|
||||||
|
|
||||||
```
|
|
||||||
dd-gz restore /path/<input>.gz /dev/<device>
|
|
||||||
```
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
```
|
|
||||||
dd-gz restore /home/backup/sdc-backup.gz /dev/sdc
|
|
||||||
```
|
|
||||||
|
|
||||||
## How to install:
|
|
||||||
|
|
||||||
```
|
|
||||||
git clone https://git.q3aql.dev/q3aql/dd-gz
|
|
||||||
cd dd-gz
|
|
||||||
sudo make install
|
|
||||||
```
|
|
||||||
|
|
||||||
## How to uninstall:
|
|
||||||
|
|
||||||
```
|
|
||||||
git clone https://git.q3aql.dev/q3aql/dd-gz
|
|
||||||
cd dd-gz
|
|
||||||
sudo make uninstall
|
|
||||||
```
|
|
||||||
|
|
||||||
## Dependencies
|
|
||||||
* sh
|
|
||||||
* dd
|
|
||||||
* gzip
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user