Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
tips:borg [2020/10/09 15:19] – scipio | tips:borg [2020/10/09 16:59] (current) – scipio | ||
---|---|---|---|
Line 4: | Line 4: | ||
create new repository for backup on empty folder | create new repository for backup on empty folder | ||
< | < | ||
- | TARGET=nero | + | REPO=nero |
- | mkdir -p / | + | mkdir -p / |
- | cd / | + | cd / |
borg --verbose init --encryption=none ./ | borg --verbose init --encryption=none ./ | ||
</ | </ | ||
Line 14: | Line 14: | ||
TAG=dataset | TAG=dataset | ||
cd / | cd / | ||
- | borg --verbose --progress create --stats --exclude " | + | borg --verbose --progress create --stats --exclude " |
</ | </ | ||
Line 21: | Line 21: | ||
TAG=cloud | TAG=cloud | ||
cd / | cd / | ||
- | borg --verbose --progress create --stats ./::$(date --iso-8601)-$TAG / | + | borg --verbose --progress create --stats ./::$TAG-$(date --iso-8601)-$TAG / |
</ | </ |