Added Borg Backup
This commit is contained in:
24
On host/borg-server.md
Normal file
24
On host/borg-server.md
Normal 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>
|
||||
```
|
||||
Reference in New Issue
Block a user