����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# 300_create_dp_restore_fs_list.sh
# Purpose: Generate a file system list of objects to restore
# $ /opt/omni/bin/omnidb -filesystem | grep $(hostname)
# test.internal.it3.be:/ '/' FileSystem
[ -f $TMP_DIR/DP_GUI_RESTORE ] && return # GUI restore explicitly requested
OMNIDB=/opt/omni/bin/omnidb
${OMNIDB} -session $(cat $TMP_DIR/dp_recovery_session) | grep `cat $TMP_DIR/dp_recovery_host` | cut -d"'" -f -2 > $TMP_DIR/list_of_fs_objects
test -s $TMP_DIR/list_of_fs_objects || Error "Data Protector did not find any file system objects for $(hostname)"
# check if we need to exclude a file system - exclude fs list = $VAR_DIR/recovery/exclude_mountpoints
if [ -f $VAR_DIR/recovery/exclude_mountpoints ]; then
HostObj=`tail -n 1 $TMP_DIR/list_of_fs_objects | cut -d: -f 1`
Log "Info: $VAR_DIR/recovery/exclude_mountpoints found. Remove from restore file system list."
sed -e 's;^/;'${HostObj}':/;' $VAR_DIR/recovery/exclude_mountpoints > $TMP_DIR/exclude_mountpoints
# $TMP_DIR/exclude_mountpoints contains e.g. test.internal.it3.be:/usr/sap
# use join to remove excluded file systems to restore
join -v 1 $TMP_DIR/list_of_fs_objects $TMP_DIR/exclude_mountpoints
fi
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 300_create_dp_restore_fs_list.sh | File | 1.19 KB | 0644 |
|
| 400_restore_with_dp.sh | File | 2.08 KB | 0644 |
|
| 450_restore_via_gui.sh | File | 842 B | 0644 |
|
| 460_press_y_to_continue.sh | File | 612 B | 0644 |
|