25 lines
489 B
Markdown
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>
|
|
```
|