Just my blog
Blog about everything, mostly about tech stuff I made. Here is the list of stuff I'm using at my blog. Feel free to ask me about implementations.
- Mobaxterm SSH RDP FTP...
- Thunderbird Email client
- Filezilla FTP client/server
- Nirsoft Win utils
- Sysinternals Win utils
- Pi-Hole AD block by DNS
- NUT UPS manager
- Rpi MON Raspberry monitoring
- Free CAD 3D modelling
- Free Commander Far-like filemanager
- Bitwarden Password manager
- Django web framework
- celery multi-tasking
- celery-beat Celery + Django
- celery-results Celery + Django
- Pillow Python image lib
- wsgi mod Apache + Python
- requests best in WEB requests
- openpyxl make Excell docs
- p4python Perforce + Python
- paramiko SSH + Python
- pyvmomi ESXi Vcenter + Python
I'm using these libraries so you can ask me about them.
Oh my gosh BACULA config
Recently finished bacula config and run first one successfully! I'm really do not understand now, why does this tool have a complicated system with batch of daemons and modules. For my opinion, backup tool just should know from where to wherever make a backup and how often. But for further usage and remember this config, I'll add it here. [caption id="" align="alignnone" width="428"] Bacula config[/caption] Is is just a reminder, not a how-to, just want to not forget this. Job configs is not so complicate, intuitively understandable.
Director
bacula-dir.conf
[su_spoiler title="Code" icon="chevron"]
Director { # define myself Name = tet-redmine-dir DIRport = 9101 QueryFile = "/etc/bacula/scripts/query.sql" WorkingDirectory = /var/lib/bacula PidDirectory = "/var/run/bacula" Maximum Concurrent Jobs = 1 Password = "tet-redmine-director" # Console password Messages = Daemon DirAddress = 127.0.0.1 } Storage { Name = File # Do not use "localhost" here Address = 127.0.0.1 SDPort = 9103 Password = tet-redmine-storage Device = FileStorage Media Type = File Maximum Concurrent Jobs = 20 } Client { Name = tet-redmine-fd Address = 127.0.0.1 FDPort = 9102 Catalog = MyCatalog Password = tet-redmine-client File Retention = 30 days Job Retention = 6 months AutoPrune = yes }
[/su_spoiler]
Concole
bconsole.conf
[su_spoiler title="Code" icon="chevron"]
Director { Name = tet-redmine-dir DIRport = 9101 address = 127.0.0.1 Password = "tet-redmine-director" }
[/su_spoiler]
Storage
basula-sd.conf
[su_spoiler title="Code" icon="chevron"]
Storage { # definition of myself Name = redmine-sd SDport = 9103 WorkingDirectory = /var/lib/bacula Pid Directory = "/var/run/bacula" Maximum Concurrent Jobs = 20 SDAddress = 127.0.0.1 } Director { Name = tet-redmine-dir Password = tet-redmine-storage } Device { Name = FileStorage Media Type = File Archive Device = /var/backups/ LabelMedia = yes Random Access = yes AutomaticMount = yes RemovableMedia = no AlwaysOpen = no }
[/su_spoiler]
File Daemon Client
bacula-fd.conf [su_spoiler title="Code" icon="chevron"]
FileDaemon { # this is me Name = redmine-fd FDport = 9102 WorkingDirectory = /var/lib/bacula Pid Directory = /var/run/bacula Maximum Concurrent Jobs = 20 FDAddress = 127.0.0.1 } Director { Name = tet-redmine-dir Password = tet-redmine-client }
[/su_spoiler]