Linux ih01.iridiumhosting.com 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
LiteSpeed
Server IP : 67.227.241.211 & Your IP : 216.73.216.224
Domains :
Cant Read [ /etc/named.conf ]
User : dustinhy
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
MXB /
rear /
usr /
share /
rear /
prep /
NETFS /
default /
Delete
Unzip
Name
Size
Permission
Date
Action
050_check_NETFS_requirements.sh
4.31
KB
-rw-r--r--
2026-04-01 09:39
060_mount_NETFS_path.sh
140
B
-rw-r--r--
2026-04-01 09:39
070_set_backup_archive.sh
19.52
KB
-rw-r--r--
2026-04-01 09:39
090_check_encrypted_backup.sh
140
B
-rw-r--r--
2026-04-01 09:39
100_check_nfs_version.sh
1.18
KB
-rw-r--r--
2026-04-01 09:39
150_save_rsync_version.sh
248
B
-rw-r--r--
2026-04-01 09:39
400_automatic_exclude_recreate.sh
2.41
KB
-rw-r--r--
2026-04-01 09:39
980_umount_NETFS_dir.sh
154
B
-rw-r--r--
2026-04-01 09:39
Save
Rename
# 400_automatic_exclude_recreate.sh # This file is part of Relax-and-Recover, licensed under the GNU General # Public License. Refer to the included COPYING for full text of license. # Verify a local backup directory in BACKUP_URL=file:///path and # add its mountpoint to the EXCLUDE_RECREATE array (if necessary). local scheme="$( url_scheme "$BACKUP_URL" )" local backup_directory="$( url_path "$BACKUP_URL" )" local backup_directory_mountpoint="" case $scheme in (file) # if user added path manually then there is no need to do it again # FIXME: I <jsmeix@suse.de> have no idea what the above comment line means. # # When the backup is stored in a directory on the same filesystem as '/' is # it results a backup.tar.gz that contains itself (but in a not-yet-complete state) # because all of the '/' filesystem is included in the backup. # To avoid various weird issues when the backup contains itself # a backup directory in the '/' filesystem is simply forbidden # regardless that a backup inside itself may not result fatal errors # see https://github.com/rear/rear/issues/926 if ! test -e "$backup_directory" ; then # When the backup directory does not yet exist, 'df -P' results nothing on stdout # which means the backup directory must be created so that 'df -P' can show its mountpoint # to find out whether or not the backup directory would be in the '/' filesystem: mkdir $v -p "$backup_directory" >&2 || Error "Could not create backup directory '$backup_directory' (from URL '$BACKUP_URL')." fi test -d "$backup_directory" || Error "URL '$BACKUP_URL' specifies '$backup_directory' which is not a directory." backup_directory_mountpoint="$( df -P "$backup_directory" | tail -1 | awk '{print $6}' )" test "/" = "$backup_directory_mountpoint" && Error "URL '$BACKUP_URL' has the backup directory '$backup_directory' in the '/' filesystem which is forbidden." # When the mountpoint of the backup directory is not yet excluded add its mountpoint to the EXCLUDE_RECREATE array: if ! grep -q "$backup_directory_mountpoint" <<< "${EXCLUDE_RECREATE[*]}" ; then DebugPrint "Adding backup directory mountpoint 'fs:$backup_directory_mountpoint' to EXCLUDE_RECREATE" EXCLUDE_RECREATE+=( "fs:$backup_directory_mountpoint" ) fi ;; esac