HinzufügenVonAnleitungen
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user