mirror of
https://github.com/trimstray/the-book-of-secret-knowledge
synced 2024-12-26 09:58:40 +01:00
README.md - minor fixes
- signed-off-by: trimstray <trimstray@gmail.com>
This commit is contained in:
parent
ad2400dbad
commit
028e32a1e8
1 changed files with 4 additions and 2 deletions
|
@ -546,12 +546,14 @@ ___
|
|||
|
||||
```bash
|
||||
cd /
|
||||
tar -czvpf /mnt/system$(date +%d%m%Y%s).tgz --directory=/ --exclude=proc/* --exclude=sys/* --exclude=dev/* --exclude=mnt/* .
|
||||
tar -czvpf /mnt/system$(date +%d%m%Y%s).tgz --directory=/ \
|
||||
--exclude=proc/* --exclude=sys/* --exclude=dev/* --exclude=mnt/* .
|
||||
```
|
||||
|
||||
###### System backup with exclude specific directories (pigz)
|
||||
|
||||
```bash
|
||||
cd /
|
||||
tar cvpf /backup/snapshot-$(date +%d%m%Y%s).tgz --directory=/ \
|
||||
--exclude=proc/* --exclude=sys/* --exclude=dev/* \
|
||||
--exclude=mnt/* --exclude=tmp/* --use-compress-program=pigz .
|
||||
|
|
Loading…
Reference in a new issue