Added a comment: restic
This commit is contained in:
parent
2c1a0af295
commit
c08dfd9a21
1 changed files with 55 additions and 0 deletions
|
@ -0,0 +1,55 @@
|
|||
[[!comment format=mdwn
|
||||
username="anarcat"
|
||||
avatar="http://cdn.libravatar.org/avatar/4ad594c1e13211c1ad9edb81ce5110b7"
|
||||
subject="restic"
|
||||
date="2018-11-27T07:13:29Z"
|
||||
content="""
|
||||
and for what it's worth, borg's main rival, restic, handles this much better and faster:
|
||||
|
||||
[1331]anarcat@angela:test$ RESTIC_PASSWORD=test restic init -r repo4
|
||||
created restic repository 2c75411732 at repo4
|
||||
|
||||
Please note that knowledge of your password is required to access
|
||||
the repository. Losing your password means that your data is
|
||||
irrecoverably lost.
|
||||
[1334]anarcat@angela:test1$ RESTIC_PASSWORD=test time restic -r repo4 backup --stdin --stdin-filename SHA256-a378977155fb42bb006496321cbe31f74cbda803c3f6ca590f30e76d1afad921 < /etc/motd
|
||||
repository 2c754117 opened successfully, password is correct
|
||||
created new cache in /home/anarcat/.cache/restic
|
||||
|
||||
Files: 1 new, 0 changed, 0 unmodified
|
||||
Dirs: 0 new, 0 changed, 0 unmodified
|
||||
Added to the repo: 656 B
|
||||
|
||||
processed 1 files, 0 B in 0:00
|
||||
snapshot 87c0db00 saved
|
||||
0.55user 0.04system 0:00.80elapsed 73%CPU (0avgtext+0avgdata 48384maxresident)k
|
||||
0inputs+88outputs (0major+9665minor)pagefaults 0swaps
|
||||
[1337]anarcat@angela:test$ RESTIC_PASSWORD=test time restic -r repo4 backup --stdin --stdin-filename SHA256-a378977155fb42bb006496321cbe31f74cbda803c3f6ca590f30e76d1afad921 < /etc/motd
|
||||
repository 2c754117 opened successfully, password is correct
|
||||
|
||||
Files: 0 new, 1 changed, 0 unmodified
|
||||
Dirs: 0 new, 0 changed, 0 unmodified
|
||||
Added to the repo: 370 B
|
||||
|
||||
processed 1 files, 0 B in 0:00
|
||||
snapshot 5b3af830 saved
|
||||
0.55user 0.04system 0:00.80elapsed 73%CPU (0avgtext+0avgdata 48568maxresident)k
|
||||
0inputs+64outputs (0major+9691minor)pagefaults 0swaps
|
||||
[1348]anarcat@angela:test$ RESTIC_PASSWORD=test time restic -r repo4 backup --stdin --stdin-filename SHA256-533128ceb96cb2a6d8039453c3ecf202586c0e001dce312ecbd6a7a356b201dc < ~/folipon.jpg
|
||||
repository 2c754117 opened successfully, password is correct
|
||||
|
||||
Files: 1 new, 0 changed, 0 unmodified
|
||||
Dirs: 0 new, 0 changed, 0 unmodified
|
||||
Added to the repo: 372 B
|
||||
|
||||
processed 1 files, 0 B in 0:00
|
||||
snapshot 18879aa4 saved
|
||||
0.54user 0.03system 0:00.78elapsed 73%CPU (0avgtext+0avgdata 48504maxresident)k
|
||||
0inputs+64outputs (0major+9700minor)pagefaults 0swaps
|
||||
[1349]anarcat@angela:test$ RESTIC_PASSWORD=test time restic -r repo4 dump latest SHA256-533128ceb96cb2a6d8039453c3ecf202586c0e001dce312ecbd6a7a356b201dc | sha256sum -
|
||||
0.50user 0.02system 0:00.73elapsed 72%CPU (0avgtext+0avgdata 47848maxresident)k
|
||||
0inputs+8outputs (0major+9513minor)pagefaults 0swaps
|
||||
533128ceb96cb2a6d8039453c3ecf202586c0e001dce312ecbd6a7a356b201dc -
|
||||
|
||||
Of course it doesn't validate those checksums, and might freak out with the number of snapshots we would create, but it's a much better start than borg. ;)
|
||||
"""]]
|
Loading…
Add table
Reference in a new issue