diff --git a/On host/borg-server.md b/On host/borg-server.md new file mode 100644 index 0000000..19b7b1e --- /dev/null +++ b/On host/borg-server.md @@ -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/ +``` + +#### Repository initialization from distant host : + +```bash +borg init -e none ssh://pleb@krabs/mnt/data/backup/ +``` +> Enter a passphrase to encrypt the folder. + +#### Verify the backup folder using the command info: + +```bash +borg info ssh://pleb@krabs/mnt/data/backup/ +```