diff --git a/xml/ha_rear.xml b/xml/ha_rear.xml index 556baa6f..b96de1da 100644 --- a/xml/ha_rear.xml +++ b/xml/ha_rear.xml @@ -465,14 +465,10 @@ Define the configuration for your NFS server in the /etc/exports file. Make sure the directory on the - NFS server has the right mount options. For example: - -/srv/nfs *([...],rw,no_root_squash,[...]) - - Replace /srv/nfs with the path to your - backup data on the NFS server and adjust the mount options. You might + NFS server has the right mount options. For example, you might need no_root_squash as the rear mkbackup command runs as &rootuser;. + For more information, see man exports. @@ -497,8 +493,10 @@ This /etc/rear/local.conf example is simplified from the example file SLE12-SP2-btrfs-example.conf. It includes the whole - /var directory instead of specific /var - subdirectories. See the example file for details about the settings. + /var directory instead of specific /var subdirectories. + + + Adjust this example as required for your setup. See the example file for details about the settings. OUTPUT=ISO BACKUP=NETFS @@ -509,9 +507,13 @@ REQUIRED_PROGS=( "${REQUIRED_PROGS[@]}" snapper chattr lsattr ) COPY_AS_IS=( "${COPY_AS_IS[@]}" /usr/lib/snapper/installation-helper /etc/snapper/config-templates/default ) BACKUP_PROG_INCLUDE=( /root /boot/grub2/i386-pc /tmp /opt /var /boot/grub2/x86_64-efi /srv /usr/local ) POST_RECOVERY_SCRIPT=( 'if snapper --no-dbus -r $TARGET_FS_ROOT get-config | grep -q "^QGROUP.*[0-9]/[0-9]" ; then snapper --no-dbus -r $TARGET_FS_ROOT set-config QGROUP= ; snapper --no-dbus -r $TARGET_FS_ROOT setup-quota && echo snapper setup-quota done || echo snapper setup-quota failed ; else echo snapper setup-quota not used ; fi' ) - - Adjust this example as required for your setup. - + + Directories for <literal>BACKUP_PROG_INCLUDE</literal> + + You can find the directories for your specific system by running the following command: + +&prompt.root;findmnt -n -r -o TARGET -t btrfs | grep -v '^/$' | egrep -v 'snapshots|crash' + @@ -526,11 +528,11 @@ POST_RECOVERY_SCRIPT=( 'if snapper --no-dbus -r $TARGET_FS_ROOT get-config | gre adjust it according to your setup: BACKUP=NSR - OUTPUT=ISO - BACKUP_URL=nfs://host.&exampledomain;/path/to/rear/backup - OUTPUT_URL=nfs://host.&exampledomain;/path/to/rear/backup - NSRSERVER=backupserver.&exampledomain; - RETENTION_TIME="Month" +OUTPUT=ISO +BACKUP_URL=nfs://host.&exampledomain;/path/to/rear/backup +OUTPUT_URL=nfs://host.&exampledomain;/path/to/rear/backup +NSRSERVER=backupserver.&exampledomain; +RETENTION_TIME="Month" For more information about supported third-party backup tools, see man rear, section BACKUP SOFTWARE INTEGRATION.