Added Borg Backup

This commit is contained in:
2025-10-18 17:45:42 +02:00
parent 55a59ce5f3
commit 15ac2592e0

24
On host/borg-server.md Normal file
View File

@@ -0,0 +1,24 @@
Borg Server / Borg Backup
===
#### Install Borg
```bash
sudo apt install borgbackup -y
```
#### Repository initialization on server :
```bash
borg init -e none /mnt/data/backup/<repo_name>
```
#### Repository initialization from distant host :
```bash
borg init -e none ssh://pleb@krabs/mnt/data/backup/<repo_name>
```
> Enter a passphrase to encrypt the folder.
#### Verify the backup folder using the command info:
```bash
borg info ssh://pleb@krabs/mnt/data/backup/<repo_name>
```