Balázs Hegedüs
2017-08-13 06:14:23 UTC
Hi,
My goal is to be able to backup from every FD to every SD, and to restore from every SD to every FD.
I use Debian 9 Stretch.
In the following places I modified the settings:
In FD:
/etc/bareos/bareos-fd.d/client/myself.conf FD Port
/etc/init.d/bareos-fd Port
/etc/services Port
In DIR:
/etc/bareos/bareos-dir.d/client/fd.conf FD Port
Environment:
Dir: dir.xy.com 8.8.8.100:9101
---
Lan1 Public IP 8.8.8.1
FD1 lan1-fd1.xy.com from external 8.8.8.1, internal: 192.168.1.10
FD2 lan1-fd2.xy.com from external 8.8.8.1:9122, internal: 192.168.1.20:9122
SD1 lan1-sd1.xy.com from external 8.8.8.1, internal: 192.168.1.30
SD2 lan1-sdd.xy.com from external 8.8.8.1:9143, internal: 192.168.1.40:9143
Ping from lan1:
ping lan1-fd1.xy.com : 192.168.1.10
ping lan2-fd1.xy.com : 8.8.8.2
---
Lan2 Public IP 8.8.8.2
FD1 lan2-fd1.xy.com from external 8.8.8.2, internal: 192.168.1.10
FD2 lan2-fd2.xy.com from external 8.8.8.2:9122, internal: 192.168.1.20:9122
SD1 lan2-sd1.xy.com from external 8.8.8.2, internal: 192.168.1.30
SD2 lan2-sd2.xy.com from external 8.8.8.2:9143, internal: 192.168.1.40:9143
Ping from lan2:
ping lan1-fd1.xy.com : 8.8.8.1
ping lan2-fd1.xy.com : 192.168.1.10
----
LAN3, LAN4...
Conf:
DIR/CLient:
Client {
Name = lan1-fd2-fd
Description = "A Virtual02 es a rajta levo gepek mentese"
Address = lan1-fd2.xy.com
Password = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
File Retention = 3 months
Job Retention = 3 months
AutoPrune = yes
Heartbeat Interval = 30
FD Port = 9132
}
FD/Client:
Client {
Name = lan1-fd2-fd
Maximum Concurrent Jobs = 20
# remove comment from "Plugin Directory" to load plugins from specified directory.
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all storage plugins (*-fd.so) from the "Plugin Directory".
#
# Plugin Directory = /usr/lib/bareos/plugins
# Plugin Names = ""
# if compatible is set to yes, we are compatible with bacula
# if set to no, new bareos features are enabled which is the default
# compatible = yes
FD Port = 9132
Heartbeat Interval = 30
}
FD status:
/etc/init.d/bareos-fd status
â bareos-filedaemon.service - Bareos File Daemon service
Loaded: loaded (/lib/systemd/system/bareos-filedaemon.service; enabled; vendor preset: enabled)
Active: activating (start) since Sun 2017-08-13 07:50:39 CEST; 35s ago
Docs: man:bareos-fd(8)
Process: 14732 ExecStart=/usr/sbin/bareos-fd (code=exited, status=0/SUCCESS)
Tasks: 3 (limit: 4915)
CGroup: /system.slice/bareos-filedaemon.service
ââ14733 /usr/sbin/bareos-fd
aug 13 07:50:39 Virtual02 systemd[1]: Starting Bareos File Daemon service...
aug 13 07:50:39 Virtual02 systemd[1]: bareos-filedaemon.service: PID file /var/lib/bareos/bareos-fd.9102.pid not readable (yet?) after start: No such file or directory
Thanks in advance for the helpful advices.
Kind regards,
Hegedus Balazs
My goal is to be able to backup from every FD to every SD, and to restore from every SD to every FD.
I use Debian 9 Stretch.
In the following places I modified the settings:
In FD:
/etc/bareos/bareos-fd.d/client/myself.conf FD Port
/etc/init.d/bareos-fd Port
/etc/services Port
In DIR:
/etc/bareos/bareos-dir.d/client/fd.conf FD Port
Environment:
Dir: dir.xy.com 8.8.8.100:9101
---
Lan1 Public IP 8.8.8.1
FD1 lan1-fd1.xy.com from external 8.8.8.1, internal: 192.168.1.10
FD2 lan1-fd2.xy.com from external 8.8.8.1:9122, internal: 192.168.1.20:9122
SD1 lan1-sd1.xy.com from external 8.8.8.1, internal: 192.168.1.30
SD2 lan1-sdd.xy.com from external 8.8.8.1:9143, internal: 192.168.1.40:9143
Ping from lan1:
ping lan1-fd1.xy.com : 192.168.1.10
ping lan2-fd1.xy.com : 8.8.8.2
---
Lan2 Public IP 8.8.8.2
FD1 lan2-fd1.xy.com from external 8.8.8.2, internal: 192.168.1.10
FD2 lan2-fd2.xy.com from external 8.8.8.2:9122, internal: 192.168.1.20:9122
SD1 lan2-sd1.xy.com from external 8.8.8.2, internal: 192.168.1.30
SD2 lan2-sd2.xy.com from external 8.8.8.2:9143, internal: 192.168.1.40:9143
Ping from lan2:
ping lan1-fd1.xy.com : 8.8.8.1
ping lan2-fd1.xy.com : 192.168.1.10
----
LAN3, LAN4...
Conf:
DIR/CLient:
Client {
Name = lan1-fd2-fd
Description = "A Virtual02 es a rajta levo gepek mentese"
Address = lan1-fd2.xy.com
Password = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
File Retention = 3 months
Job Retention = 3 months
AutoPrune = yes
Heartbeat Interval = 30
FD Port = 9132
}
FD/Client:
Client {
Name = lan1-fd2-fd
Maximum Concurrent Jobs = 20
# remove comment from "Plugin Directory" to load plugins from specified directory.
# if "Plugin Names" is defined, only the specified plugins will be loaded,
# otherwise all storage plugins (*-fd.so) from the "Plugin Directory".
#
# Plugin Directory = /usr/lib/bareos/plugins
# Plugin Names = ""
# if compatible is set to yes, we are compatible with bacula
# if set to no, new bareos features are enabled which is the default
# compatible = yes
FD Port = 9132
Heartbeat Interval = 30
}
FD status:
/etc/init.d/bareos-fd status
â bareos-filedaemon.service - Bareos File Daemon service
Loaded: loaded (/lib/systemd/system/bareos-filedaemon.service; enabled; vendor preset: enabled)
Active: activating (start) since Sun 2017-08-13 07:50:39 CEST; 35s ago
Docs: man:bareos-fd(8)
Process: 14732 ExecStart=/usr/sbin/bareos-fd (code=exited, status=0/SUCCESS)
Tasks: 3 (limit: 4915)
CGroup: /system.slice/bareos-filedaemon.service
ââ14733 /usr/sbin/bareos-fd
aug 13 07:50:39 Virtual02 systemd[1]: Starting Bareos File Daemon service...
aug 13 07:50:39 Virtual02 systemd[1]: bareos-filedaemon.service: PID file /var/lib/bareos/bareos-fd.9102.pid not readable (yet?) after start: No such file or directory
Thanks in advance for the helpful advices.
Kind regards,
Hegedus Balazs
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.