From 2e75a8e595bac8b2ecc5c6af813d73ffdb41355c Mon Sep 17 00:00:00 2001 From: bmen Date: Mon, 23 Sep 2019 07:39:21 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9EREADME.md=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 285ba89..fe9b40d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,16 @@ # server-befehle +## Wichtige Befehle +Festplattenverbrauch ermitteln: +``` +df -h +``` +Rsync ohne Rechteübernahme (gut für gemountete Laufwerke SAMBA) +``` +sudo rsync -rltv --exclude '/storage/tzm_de/var/lib/nextcloud/*' /storage/ /mnt/backup-storage/ +``` + + +## Gute Quellen +* Bash-Skripte: https://wiki.ubuntuusers.de/Shell/Bash-Skripting-Guide_für_Anfänger/ +* Cronjobs: https://www.stetic.com/developer/cronjob-linux-tutorial-und-crontab-syntax.html \ No newline at end of file