restic version
restic 0.8.3
linux / amd64์์ go1.10.1๋ก ์ปดํ์ผ
sudo mkdir /mnt/restic-b2
--------
:: [stephen@waddleduck] ~
$ ls -ls /mnt
total 12
4 drwxr-xr-x 2 root root 4096 Apr 17 22:13 restic-b2
----------
export B2_ACCOUNT_KEY=XXXXX
export B2_ACCOUNT_ID=YYYYYYY
export RESTIC_PASSWORD=ZZZZZZZz
cd ~/
restic -r b2:bucket-name:/ mount /mnt/restic-b2
------------------
password is correct
*hit CTRL+C at this point after waiting about 7 minutes*
signal interrupt received, cleaning up
context canceled, ignoring
fusermount: exit status 1
also, the following messages were logged by a library:
2018/04/17 22:18:21 mount helper error: fusermount: user has no write access to mountpoint /mnt/restic-b2
unable to umount (maybe already umounted?): exit status 1: fusermount: entry for /mnt/restic-b2 not found in /etc/mtab
-----------------------
:: [stephen@waddleduck] ~
$ sudo chown stephen:stephen /mnt/restic-b2
-------------
[sudo] password for stephen:
:: [stephen@waddleduck] ~
$ restic -r b2:bucket-name:/ mount /mnt/restic-b2
------------
password is correct
Now serving the repository at /mnt/restic-b2
Don't forget to umount after quitting!
๋ฐฑ ๋ธ๋ ์ด์ฆ B2
Restic์ ๊ถํ ๋ฌธ์ ๋ก ์ธํด ์ ์ฅ์๋ฅผ ๋ง์ดํธ ํ ์ ์์์ ๋ช ๋ น ์ค์์ ๊ฒฝ๊ณ ํด์ผํฉ๋๋ค.
Restic์ ์ฅ์ฐฉ ํ์ธ (์์ ๋์ง ์์)์ ๊ธฐ๋ค๋ฆฐ ํ "์ทจ์"ํ ๋๊น์ง์ด๋ฅผ ์๋ฆฌ์ง ์์ต๋๋ค. ๊ทธ๋ฐ ๋ค์ ์ฌ์ฉ์์๊ฒ "๋ง์ดํธ ๋์ฐ๋ฏธ ์ค๋ฅ"๊ฐ ํ์๋ฉ๋๋ค.
์ฌ์ฉ์ ๊ณ์ ์ ์ฐ๊ธฐ ๊ถํ์ด์๋ ์ ๋๋ ํ ๋ฆฌ๋ฅผ ๋ง๋ค๊ณ ๋ง์ดํธ ํด๋ณด์ญ์์ค. ๊ทธ๋ฐ ๋ค์ ์ ์ ๊ธฐ๋ค๋ฆฐ ํ (๋ง์ดํธ๋์ง ์๋์ง ํ์ธํ๊ธฐ ์ํด) Ctrl + c๋ฅผ ๋๋ฅด๋ฉด ์ด๋ค ์ผ์ด ๋ฐ์ํ๋์ง ํ์ธํ ์ ์์ต๋๋ค.
์๋ง๋ ์๋ฌด๋์ด ์์ ์์ ๊ทธ๋ฌํ ๋ฉ์์ง๋ฅผ ์์ฑ ํ ํ์๊ฐ ์๋ค๊ณ ์๊ฐํ์ง ์์์ ๊ฒ์ ๋๋ค. :)
์ค๋ฅ๋ฅผ ํฌ์ฐฉํ๊ณ ์ฌ์ฉ์์๊ฒ ๊ด๋ จ ์ ๋ณด๋ฅผ ํ์ํฉ๋๋ค.
๋ฌผ๋ก ; ๋งค์ผ : D Restic์ ์๋ช ์ ๋๋ค!
์, ํฅ๋ฏธ๋ก์ด ์ฝ๋ ์ผ์ด์ค. ์ด์จ๋ restic mount
์ฃผ๋ณ์ ์ฌ์ฉ์ ์ธํฐํ์ด์ค๋ฅผ ๋ค์ ์์
ํด์ผํฉ๋๋ค. ์ ๊ณ ํด ์ฃผ์
์ ๊ฐ์ฌํฉ๋๋ค!
๋ฐฉ๊ธ macOS 10.15 ๋ฐ Ubuntu 20.04์์์ด ๋ฌธ์ ๋ฅผ ํ
์คํธํ์ผ๋ฉฐ์ด ๋ฌธ์ ๋ ์ด๋ฌํ ์์คํ
์ค ํ๋์์๋ ์ฌํ๋์ง ์์ต๋๋ค (๊ณต์ restic 0.8.3 ๋ฐ์ด๋๋ฆฌ๋ฅผ ์ฌ์ฉํ๋๋ผ๋. restic์ ์ฆ์ fusermount ์ค๋ฅ๋ฅผ ์ธ์ํฉ๋๋ค.
@stevesbrain ์ฌ์ ํ์ด ๋ฌธ์ ๋ฅผ ์ฌํ ํ ์ ์์ต๋๊น? ๋ํ restic 0.10.0์ผ๋ก?
์ฌํ ํ ์์๋ ๊ฒ ๊ฐ์ผ๋ฏ๋ก ์ง๊ธ์์ด ๋ฌธ์ ๋ฅผ ๋ง๋ฌด๋ฆฌํฉ๋๋ค. ๋ฌธ์ ๋ฅผ ์ฌํ ํ ์ ์์ผ๋ฉด ์ธ์ ๋ ์ง ์๊ฒฌ์ ๋งํ์ญ์์ค.
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
์, ํฅ๋ฏธ๋ก์ด ์ฝ๋ ์ผ์ด์ค. ์ด์จ๋
restic mount
์ฃผ๋ณ์ ์ฌ์ฉ์ ์ธํฐํ์ด์ค๋ฅผ ๋ค์ ์์ ํด์ผํฉ๋๋ค. ์ ๊ณ ํด ์ฃผ์ ์ ๊ฐ์ฌํฉ๋๋ค!