/usr/local/jetapps/usr/share/rear/layout/save/default
# Generate the $VAR_DIR/recovery/mountpoint_device file # This is needed by several backup mechanisms (DP, NBU, NETFS) # TODO: rework other scripts to use LAYOUT_FILE directly # Find all mountpoints excluded using EXCLUDE_BACKUP # EXCLUDE_RECREATE is handled automatically (commented out in LAYOUT_FILE) excluded_mountpoints=() while read fs device mountpoint junk ; do if IsInArray "$fs:$mountpoint" "${EXCLUDE_BACKUP[@]}" ; then excluded_mountpoints+=( $mountpoint ) fi for component in $(get_parent_components "$fs:$mountpoint" | sort -u) ; do if IsInArray "$component" "${EXCLUDE_BACKUP[@]}" ; then excluded_mountpoints+=( $mountpoint ) fi done done < <(grep -E '^(fs|btrfsmountedsubvol)' $LAYOUT_FILE) # Generate the list of mountpoints and devices to include in the backup # via backup/NETFS/default/400_create_include_exclude_files.sh # except those where the mountpoint is in excluded_mountpoints: while read fs device mountpoint junk ; do if IsInArray "$mountpoint" "${excluded_mountpoints[@]}" ; then continue fi echo "$mountpoint $device" done < <(grep -E '^(fs|btrfsmountedsubvol)' $LAYOUT_FILE) | unique_unsorted > $VAR_DIR/recovery/mountpoint_device
.
Edit
..
Edit
300_list_dependencies.sh
Edit
310_autoexclude_usb.sh
Edit
310_include_exclude.sh
Edit
320_autoexclude.sh
Edit
330_remove_exclusions.sh
Edit
335_remove_excluded_multipath_vgs.sh
Edit
340_generate_mountpoint_device.sh
Edit
350_save_partitions.sh
Edit
445_guess_bootloader.sh
Edit
450_check_bootloader_files.sh
Edit
450_check_network_files.sh
Edit
490_check_files_to_patch.sh
Edit
550_barrel_devicegraph.sh
Edit
600_snapshot_files.sh
Edit
950_verify_disklayout_file.sh
Edit