kopia lustrzana https://github.com/loomchild/volume-backup
Automatically create dirs for backup
rodzic
0a3bc9a6e9
commit
59b899f14c
|
@ -6,6 +6,7 @@ usage() {
|
|||
}
|
||||
|
||||
backup() {
|
||||
mkdir -p `dirname /backup/$ARCHIVE`
|
||||
tar -cjf /backup/$ARCHIVE -C /volume ./
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue