docs: update Infrastructure/Backups
This commit is contained in:
parent
d8429e3792
commit
f78e79684a
1 changed files with 8 additions and 7 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
title: Setting Up Kopia
|
title: Setting Up Kopia
|
||||||
description:
|
description:
|
||||||
published: true
|
published: true
|
||||||
date: 2026-01-25T03:09:41.573Z
|
date: 2026-01-25T03:12:09.537Z
|
||||||
tags:
|
tags:
|
||||||
editor: markdown
|
editor: markdown
|
||||||
dateCreated: 2026-01-23T22:14:17.009Z
|
dateCreated: 2026-01-23T22:14:17.009Z
|
||||||
|
|
@ -21,14 +21,15 @@ SERVER CERT SHA256: 696a4999f594b5273a174fd7cab677d8dd1628f9b9d27e557daa87103ee0
|
||||||
|
|
||||||
|
|
||||||
## Configure Kopia on first client
|
## Configure Kopia on first client
|
||||||
If this host has been configured before, remove old repository:
|
|
||||||
|
1. Use wget to get the kopia apt package and install on client
|
||||||
|
2. use dpkg to install on client
|
||||||
|
3. If this host has been configured before, remove old repository:
|
||||||
- `sudo kopia repository disconnect || true`
|
- `sudo kopia repository disconnect || true`
|
||||||
- `sudo rm -rf /root/.config/kopia`
|
- `sudo rm -rf /root/.config/kopia`
|
||||||
|
4. Add new repository: `sudo kopia repo connect server --url=https://192.168.5.10:51515 --override-username=admin --server-cert-fingerprint=696a4999f594b5273a174fd7cab677d8dd1628f9b9d27e557daa87103ee064b2
|
||||||
Add new repository: `sudo kopia repo connect server --url=https://192.168.5.10:51515 --override-username=admin --server-cert-fingerprint=696a4999f594b5273a174fd7cab677d8dd1628f9b9d27e557daa87103ee064b2`
|
5. Create snapshot: `sudo kopia snapshot create /DockerVol/`
|
||||||
Create snapshot: `sudo kopia snapshot create /DockerVol/`
|
6. Add cronjob:` crontab -e
|
||||||
|
|
||||||
Add cronjob:` crontab -e
|
|
||||||
added:
|
added:
|
||||||
*/180 * * * * /usr/bin/kopia snapshot create /DockerVol >> /var/log/kopia-cron.log 2>&1`
|
*/180 * * * * /usr/bin/kopia snapshot create /DockerVol >> /var/log/kopia-cron.log 2>&1`
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue