Skip to content

Commit 9ab5409

Browse files
committed
Backup also folder of ssh.d folder
1 parent 6018c4e commit 9ab5409

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/upgrade.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ upgrade_start_backup() {
439439
if [ "$DEBUG_MODE" = "true" ]; then
440440
echo " ---- sshd"
441441
fi
442-
cp -f /etc/ssh/* $HESTIA_BACKUP/conf/ssh/
442+
cp -fr /etc/ssh/* $HESTIA_BACKUP/conf/ssh/
443443
fi
444444
if [ -d "/etc/roundcube" ]; then
445445
if [ "$DEBUG_MODE" = "true" ]; then

0 commit comments

Comments
 (0)