Browse Source

simpler dovecot backup procedure

Serghey Rodin 12 năm trước cách đây
mục cha
commit
7d630863ef
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      install/vst-install.sh

+ 1 - 1
install/vst-install.sh

@@ -352,7 +352,7 @@ if [ -e '/etc/dovecot.conf' ]; then
     cp /etc/dovecot.conf $vst_backups/dovecot/
     cp /etc/dovecot.conf $vst_backups/dovecot/
 fi
 fi
 if [ -e '/etc/dovecot' ]; then
 if [ -e '/etc/dovecot' ]; then
-    cp -r /etc/dovecot $vst_backups/dovecot/
+    cp -r /etc/dovecot/* $vst_backups/dovecot/
 fi
 fi
 
 
 # Backup MySQL stuff
 # Backup MySQL stuff