From 99fbed07e5247fea818891e57256820fc0357261 Mon Sep 17 00:00:00 2001 From: peet Date: Thu, 7 Jan 2021 00:09:29 +0100 Subject: [PATCH] Expanded with network as standart --- system-backup | 69 ++++++++++++++++++++++++++++++++------------------- 1 file changed, 44 insertions(+), 25 deletions(-) diff --git a/system-backup b/system-backup index 1a72fca..263f046 100644 --- a/system-backup +++ b/system-backup @@ -1,39 +1,58 @@ #!/bin/bash -backup_dir="/mnt/USB/Backup/"$(date +'%Y/%m/%d') - -cd /var/www/nextcloud -sudo -u www-data php occ maintenance:mode --on - +# Show help page if [ "$1" = "-h" ] then - echo "system-backup