Skip to content

Commit

Permalink
Merge pull request #24 from 007revad/develop
Browse files Browse the repository at this point in the history
Update synology_config_backup.sh
  • Loading branch information
007revad authored Oct 23, 2024
2 parents 3327e4c + 6db7d4c commit 0a3b0b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion synology_config_backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Works on DMS 7 and DSM 6
#
# Author: 007revad
# Date/Version: 2024-06-15 v1.1.5
# Date/Version: 2024-10-24 v1.1.6
#
# Github: https://github.com/007revad/Synology_Config_Backup
# Script verified at https://www.shellcheck.net/
Expand Down Expand Up @@ -84,6 +84,8 @@ if [[ -f "${Target_DIR}/${File_Name}" ]]; then
exit 255
else
/usr/syno/bin/synoconfbkp export --filepath="${Target_DIR}/${File_Name}" >/dev/null
chown admin:administrators "${Target_DIR}/${File_Name}"
#chmod 770 "${Target_DIR}/${File_Name}"
fi

# Check exported file created
Expand Down

0 comments on commit 0a3b0b8

Please sign in to comment.