Compare commits
2 Commits
96725dc9c8
...
2a0357b36a
Author | SHA1 | Date | |
---|---|---|---|
2a0357b36a | |||
ece216e6f4 |
12
Makefile
Executable file
12
Makefile
Executable file
|
@ -0,0 +1,12 @@
|
|||
##################################
|
||||
# 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
Normal file
47
README.md
Normal file
|
@ -0,0 +1,47 @@
|
|||
`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