zur Zeit beschäftige ich mich mit dem Thema Desaster Recovery meines Debian Buster Servers. Hierzu habe ich ich REAR installiert und wie folgt konfiguriert:
Code: Alles auswählen
root@ldap:~# cat /etc/rear/local.conf
OUTPUT=USB
BACKUP=NETFS
BACKUP_URL="usb:///dev/sdc2"
GRUB_RESCUE=1
...
rear -v format -- --efi --force /dev/sdc1
rear -v mkbackup
Code: Alles auswählen
Mär 31 08:07:56 ldap systemd-udevd[317]: Spawned process '/usr/sbin/rear udev' [373] is taking longer than 59s to complete
Mär 31 08:07:56 ldap systemd-udevd[282]: sdc2: Worker [317] processing SEQNUM=1936 is taking a long time
Mär 31 08:08:54 ldap systemd[1]: ifupdown-pre.service: Main process exited, code=exited, status=1/FAILURE
Mär 31 08:08:54 ldap systemd[1]: ifupdown-pre.service: Failed with result 'exit-code'.
Mär 31 08:08:54 ldap systemd[1]: Failed to start Helper to synchronize boot up for ifupdown.
Mär 31 08:08:54 ldap systemd[1]: Dependency failed for Raise network interfaces.
Mär 31 08:08:54 ldap systemd[1]: networking.service: Job networking.service/start failed with result 'dependency'.
Code: Alles auswählen
root@ldap:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
# allow-hotplug eth0
# auto eth0
iface eth0 inet manual
# The scondery network interface
# allow-hotplug eth1
# auto eth1
allow eth1
iface eth1 inet manual
# The thirty network interface
# allow-hotplug eth2
# auto eth2
allow eth2
iface eth2 inet manual
# The bond dmz network interface
auto bond0
iface bond0 inet static
address 192.168.20.20
netmask 255.255.255.0
network 192.168.20.0
gateway 192.168.20.1
dns-search intern.harnet.de
dns-nameservers 192.168.20.20
bond-slaves eth1 eth2
bond_mode 4
bond_miimon 100
bond_updelay 200
bond_downdelay 200
up ip addr add 192.168.20.25 brd + dev bond0
up ip addr add 192.168.20.26 brd + dev bond0
up ip addr add 192.168.20.28 brd + dev bond0
up ip addr add 192.168.20.30 brd + dev bond0
up ip addr add 192.168.20.40 brd + dev bond0
# IP Address for virtuel Apache Host
up ip addr add 192.168.20.10 brd + dev bond0 # swme01
up ip addr add 192.168.20.100 brd + dev bond0 # mome01
up ip addr add 192.168.20.101 brd + dev bond0 # pbxme01
up ip addr add 192.168.20.120 brd + dev bond0 # mphpme01
# The bond cups network
auto bond0.110
iface bond0.110 inet static
address 192.168.110.20
netmask 255.255.255.0
network 192.168.110.0
dns-search intern.harnet.de
dns-nameservers 192.168.20.20
# The bond plex network
auto bond0.120
iface bond0.120 inet static
address 192.168.120.20
netmask 255.255.255.0
network 192.168.120.0
dns-search intern.harnet.de
dns-nameservers 192.168.20.20
# The bond openhub network
auto bond0.130
iface bond0.130 inet static
address 192.168.130.20
netmask 255.255.255.0
network 192.168.130.0
dns-search intern.harnet.de
dns-nameservers 192.168.20.20
# The bond voip network
auto bond0.140
iface bond0.140 inet static
address 192.168.140.20
netmask 255.255.255.0
network 192.168.140.0
dns-search intern.harnet.de
dns-nameservers 192.168.20.20
# The bond elk network
auto bond0.150
iface bond0.150 inet static
address 192.168.150.20
netmask 255.255.255.0
network 192.168.150.0
dns-search intern.harnet.de
dns-nameservers 192.168.20.20
# The bond openvpn network
auto bond0.10
iface bond0.10 inet manual
up ip link set $IFACE up promisc on
down ip link set $IFACE down promisc off
Gruß von Stefan Harbich