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