HinzufügenVonAnleitungen

This commit is contained in:
2020-08-23 10:23:17 +02:00
parent 278920272a
commit 6711636621
7 changed files with 175 additions and 33 deletions

View File

@@ -3,11 +3,37 @@
## zutreffendes zum Erstellen auskommentieren um ein Repo zu erstellen
##Installation##
sudo apt install borgbackup -y
# Installation
sudo apt update && sudo apt upgrade -y && sudo apt install borgbackup -y
##RepoErstellen Lokal##
#sudo borg init -e none /pfad/zum/Ordner
# BorgBackup RepoErstellen
##RepoErstellen ssh##
#sudo borg init -e none ssh://Benutzer@domin.xyz/pfad/zum/Odner
# Lokal
$HostPFAD=
# SSH
$Benutzer=
$Host=
$HostPFAD=
# SSHF
$Benutzer=
$Pass=
$Host=
$HostPFAD=
$MountPFAD=
# RepoErstellen Lokal
sudo borg init -e none /$HostPFAD
# RepoErstellen SSH
sudo borg init -e none ssh://$Benutzer@$Host/$HostPFAD
# RepoErstellen SSHF
# Es Empfiehlt sich ein Ordner in /mnt/Borg
# zu erstellen und den als MountPFAD zu benutzen.
#sudo mkdir /mnt/Borg
sudo echo $Pass | sshfs -o password_stdin $Benutzer@$Host:$HostPFAD /$MountPFAD\
&&
sudo borg init -e none /$HostPFAD