Files
bikinibottom/On host/borg-server.md
2025-10-18 17:45:42 +02:00

25 lines
489 B
Markdown

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>
```