Archive for the ‘Network Info’ Category

MikroTik Dude Network Monitor 6.47.6 – a free network management tool for Windows based computers

Sonntag, Oktober 25th, 2020

Network Notepad – create a simple network diagram and monitor it

Sonntag, Oktober 25th, 2020

AVM FRITZ!Box – Mobilfunk Fallback am DSL-Router einrichten

Sonntag, Oktober 25th, 2020

PING – für Multi IP@

Freitag, Oktober 23rd, 2020

Zabbix – what you need to keep in mind just to make sure that you are getting the most out of the performance

Donnerstag, Oktober 22nd, 2020

TimescaleDB – performant time-series data management and analytics with PostgreSQL

Dienstag, Oktober 20th, 2020

Zabbix – which database engine should you use

Dienstag, Oktober 20th, 2020

Samba & Snapper – only experimentally support for ext4

Montag, Oktober 19th, 2020

Cloudfare – to set up a free account for your WordPress website

Montag, Oktober 19th, 2020

QNAP QSW-1105-5T – sofortiges Upgrade Ihres Netzwerks auf 2,5 GbE Konnektivität

Sonntag, Oktober 18th, 2020

Microsoft Windows 10 – so installieren Sie Windows von einem anderen Computer über das Netzwerk

Freitag, Oktober 16th, 2020

Zabbix – how to perform real time data export

Donnerstag, Oktober 15th, 2020

Samba & Snapper – providing the ability to expose snapshots to remote Windows clients using the previous versions feature built into Windows Explorer

Mittwoch, Oktober 14th, 2020

Samba ≥4.2 will offer integration with Snapper  – providing the ability to expose snapshots to remote Windows clients using the previous versions feature built into Windows Explorer

smb.conf – the feature can be enabled on a per-share basis

[share]
vfs objects = snapper
path = /mnt/btrfs_fs

Zabbix – what it takes to be a great monitoring engineer

Dienstag, Oktober 13th, 2020

Samba & Snapper – is a command-line program for filesystem snapshot management it can create delete and compare snapshots and undo changes done between snapshots

Dienstag, Oktober 13th, 2020
root@rpi-iot-jsho-samba-01:/etc# snapper -c root create-config /samba/Filespace
Creating config failed (subvolume already covered).
root@rpi-iot-jsho-samba-01:/# snapper list-configs
Config | Subvolume
——-+—————–
root | /samba/Filespace
root@rpi-iot-jsho-samba-01:/# btrfs subvolume list /samba/Filespace
ID 256 gen 8013 top level 5 path Filespace
ID 5618 gen 8016 top level 256 path .snapshots
ID 5619 gen 8013 top level 5618 path .snapshots/1/snapshot
root@rpi-iot-jsho-samba-01:/# snapper list
# | Type | Pre # | Date | User | Cleanup | Description | Userdata
—+——–+——-+——————————-+——+———-+————-+———
0 | single | | | root | | current |
1 | single | | Tue 13 Oct 2020 12:00:04 CEST | root | timeline | timeline |
root@rpi-iot-jsho-samba-01:/#
root@rpi-iot-jsho-samba-01:/# snapper -c root create
root@rpi-iot-jsho-samba-01:/# snapper list
# | Type | Pre # | Date | User | Cleanup | Description | Userdata
—+——–+——-+——————————-+——+———-+————-+———
0 | single | | | root | | current |
1 | single | | Tue 13 Oct 2020 12:00:04 CEST | root | timeline | timeline |
2 | single | | Tue 13 Oct 2020 12:12:47 CEST | root | | |
3 | single | | Tue 13 Oct 2020 12:14:17 CEST | root | | |
root@rpi-iot-jsho-samba-01:/# btrfs subvolume list /samba/Filespace
ID 256 gen 8020 top level 5 path Filespace
ID 5618 gen 8021 top level 256 path .snapshots
ID 5619 gen 8013 top level 5618 path .snapshots/1/snapshot
ID 5620 gen 8017 top level 5618 path .snapshots/2/snapshot
ID 5621 gen 8020 top level 5618 path .snapshots/3/snapshot
root@rpi-iot-jsho-samba-01:~# snapper list
# | Type | Pre # | Date | User | Cleanup | Description | Userdata
—+——–+——-+——————————-+——+———+————-+———
0 | single | | | root | | current |
1 | single | | Tue 13 Oct 2020 13:55:14 CEST | root | | |
2 | single | | Tue 13 Oct 2020 13:55:29 CEST | root | | |
root@rpi-iot-jsho-samba-01:~# snapper -c root delete 1-2
root@rpi-iot-jsho-samba-01:~# snapper list
# | Type | Pre # | Date | User | Cleanup | Description | Userdata
—+——–+——-+——+——+———+————-+———
0 | single | | | root | | current |
Set snapshot limits – the default settings will keep 10 hourly, 10 daily, 10 monthly and 10 yearly snapshots
root@rpi-iot-jsho-samba-01:/# vi /etc/snapper/configs/root
# subvolume to snapshot
SUBVOLUME=“/samba/Filespace“
# filesystem type
FSTYPE=“btrfs“
# btrfs qgroup for space aware cleanup algorithms
QGROUP=““
# fraction of the filesystems space the snapshots may use
SPACE_LIMIT=“0.5″
# fraction of the filesystems space that should be free
FREE_LIMIT=“0.2″
# users and groups allowed to work with config
ALLOW_USERS=““
ALLOW_GROUPS=““
# sync users and groups from ALLOW_USERS and ALLOW_GROUPS to .snapshots
# directory
SYNC_ACL=“no“
# start comparing pre- and post-snapshot in background after creating
# post-snapshot
BACKGROUND_COMPARISON=“yes“
# run daily number cleanup
NUMBER_CLEANUP=“yes“
# limit for number cleanup
NUMBER_MIN_AGE=“1800″
NUMBER_LIMIT=“50″
NUMBER_LIMIT_IMPORTANT=“10″
# create hourly snapshots
TIMELINE_CREATE=“yes“
# cleanup hourly snapshots after some time
TIMELINE_CLEANUP=“yes“
# limits for timeline cleanup
TIMELINE_MIN_AGE=“1800″
TIMELINE_LIMIT_HOURLY=“10″
TIMELINE_LIMIT_DAILY=“10″
TIMELINE_LIMIT_WEEKLY=“0″
TIMELINE_LIMIT_MONTHLY=“10″
TIMELINE_LIMIT_YEARLY=“10″
# cleanup empty pre-post-pairs
EMPTY_PRE_POST_CLEANUP=“yes“
# limits for empty pre-post-pair cleanup
EMPTY_PRE_POST_MIN_AGE=“1800″
root@rpi-iot-jsho-samba-01:/# snapper list
# | Type | Pre # | Date | User | Cleanup | Description | Userdata
—+——–+——-+——————————-+——+———-+————-+———
0 | single | | | root | | current |
1 | single | | Tue 13 Oct 2020 14:00:04 CEST | root | timeline | timeline |
2 | single | | Tue 13 Oct 2020 14:21:52 CEST | root | | |
3 | single | | Tue 13 Oct 2020 14:22:39 CEST | root | | |
4 | single | | Tue 13 Oct 2020 14:26:56 CEST | root | | |
5 | single | | Tue 13 Oct 2020 15:00:04 CEST | root | timeline | timeline |
6 | single | | Tue 13 Oct 2020 16:00:04 CEST | root | timeline | timeline |
root@rpi-iot-jsho-samba-01:~# snapper -c root create –description test
root@rpi-iot-jsho-samba-01:~# snapper list
# | Type | Pre # | Date | User | Cleanup | Description | Userdata
—+——–+——-+——————————-+——+———-+————-+———
0 | single | | | root | | current |
1 | single | | Tue 13 Oct 2020 14:00:04 CEST | root | timeline | timeline |
2 | single | | Tue 13 Oct 2020 14:21:52 CEST | root | | |
3 | single | | Tue 13 Oct 2020 14:22:39 CEST | root | | |
4 | single | | Tue 13 Oct 2020 14:26:56 CEST | root | | |
5 | single | | Tue 13 Oct 2020 15:00:04 CEST | root | timeline | timeline |
6 | single | | Tue 13 Oct 2020 16:00:04 CEST | root | timeline | timeline |
7 | single | | Tue 13 Oct 2020 16:14:49 CEST | root | number | boot |
8 | single | | Tue 13 Oct 2020 16:16:29 CEST | root | | test |
root@rpi-iot-jsho-samba-01:/samba/Filespace/.snapshots# snapper -v undochange 7..8
create:0 modify:1 delete:1
deleting /samba/Filespace/USB-Stick/.sync/Archive/RaspberryPi/snapper.5.txt
modifying /samba/Filespace/USB-Stick/RaspberryPi/snapper.txt
# vi /etc/samba/smb.conf
[Samba-BTRFS-Test]
comment = Samba BTRFS test folder
path = /samba/Filespace
writable = yes
browseable = yes
guest ok = yes
# systemctl restart smbd.service
# systemctl restart nmbd.service