Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tips:borg [2020/10/09 15:14] – 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 | ||
< | < | ||
- | mkdir -p / | + | REPO=nero |
- | cd / | + | mkdir -p / |
+ | cd / | ||
borg --verbose init --encryption=none ./ | borg --verbose init --encryption=none ./ | ||
</ | </ | ||
Line 11: | Line 12: | ||
add folder to backup | add folder to backup | ||
< | < | ||
- | cd / | + | TAG=dataset |
- | borg --verbose --progress create --stats --exclude " | + | cd / |
- | / | + | borg --verbose --progress create --stats --exclude " |
+ | </ | ||
+ | |||
+ | add another folder to same target with different tag | ||
+ | < | ||
+ | TAG=cloud | ||
+ | cd / | ||
+ | borg --verbose --progress create --stats ./:: | ||
</ | </ |