Add flag '-B' if rcopy_manual.sh was called; fix error if onlx netdirs should be saved.
This commit is contained in:
		| @@ -127,7 +127,7 @@ fi | ||||
| ## - | ||||
| [[ -z "$nextcloud_backup" ]] && nextcloud_backup=false | ||||
|  | ||||
| if [ "$found" = "true" -o "$pgsql_backup" = "true"  -o "$mysql_backup" = "true" -o "$disksetting_backup" = "true" -o "$nextcloud_backup" = "true" ] ; then | ||||
| if [ "$found" = "true" -o "$pgsql_backup" = "true"  -o "$mysql_backup" = "true" -o "$disksetting_backup" = "true" -o "$nextcloud_backup" = "true" -o "$mount_netdir" = "true" ] ; then | ||||
|  | ||||
|    begin_h=`date +%H` | ||||
|    begin_m=`date +%M` | ||||
| @@ -348,7 +348,7 @@ if [ "$found" = "true" -o "$pgsql_backup" = "true"  -o "$mysql_backup" = "true" | ||||
|       if $mount_netdir; then | ||||
|          echolog "\nGoing to backup network directories..  ( `$date +%H`:`$date +%M` h )" | ||||
|          for dir in $net_mounted_dir_backup ; do | ||||
|             echolog "\n\tBackup network directory $dir" | ||||
|             #echolog "\n\tBackup network directory $dir" | ||||
|             export mount_netdir  | ||||
|             backup_dir=$dir $script_dir/net_mounted_dir_backup.sh | ||||
|          done | ||||
|   | ||||
		Reference in New Issue
	
	Block a user