Archive for Oktober 31st, 2022

iSpring Suite 11 – what it is and how to use it

Montag, Oktober 31st, 2022

VMware vSphere 8.0 – the command line interface esxcli has been extended with new features

Montag, Oktober 31st, 2022

VMware vSphere 8.0 – the command line interface esxcli has been extended with new features

Montag, Oktober 31st, 2022

BMW M760e xDrive – all you need to know

Montag, Oktober 31st, 2022

Montag, Oktober 31st, 2022

Montag, Oktober 31st, 2022

Montag, Oktober 31st, 2022

MinIO Client (mc) – eine tägliche Backup Strategie ‚ProtectIT‘ mit MinIO S3 Storage

Montag, Oktober 31st, 2022
root@rpi-iot-jsho-cam-02:~# vi BackupModus.sh
#!/bin/bash
#FileName: BackupModus.sh
#crontab: 59 23 * * * /root/BackupModus.sh
set -x
BackupDay=`date „+%Y-%m-%d“`
sleep 120
LocalBackupPath=“/var/lib/motioneye“
if [[ -d /Backup/BackupDay ]] ; then rm -rf /Backup/BackupDay ; fi
if [[ ! -d /Backup/BackupDay/$BackupDay ]] ; then mkdir -p /Backup/BackupDay/$BackupDay ; fi
cd $LocalBackupPath
tar cvf /Backup/BackupDay/$BackupDay/$BackupDay.tar */$BackupDay
BackupOption=“day“
if [ `date „+%u“` == „1“ ]; then BackupOption=“week“ ; fi
if [ `date „+%d“` == „01“ ]; then BackupOption=“month“ ; fi
if [ `date „+%m.%d“` == „01.01“ ]; then BackupOption=“year“ ; fi
LocalBackupPath=“/Backup/BackupDay/$BackupDay“
MinioBucket=“myminio/worm-with-versioning-and-retention–$BackupOption/$BackupDay“
MCPATH=“/root/mc“
$MCPATH mirror –json –overwrite –remove –preserve $LocalBackupPath $MinioBucket
root@rpi-iot-jsho-cam-02:~#
root@rpi-iot-jsho-cam-02:~# ./BackupModus.sh
++ date +%Y-%m-%d
+ BackupDay=2022-10-04
+ sleep 1
+ LocalBackupPath=/var/lib/motioneye
+ [[ -d /Backup/BackupDay ]]
+ rm -rf /Backup/BackupDay
+ [[ ! -d /Backup/BackupDay/2022-10-04 ]]
+ mkdir -p /Backup/BackupDay/2022-10-04
+ cd /var/lib/motioneye
+ tar cvf /Backup/BackupDay/2022-10-04/2022-10-04.tar Camera1/2022-10-04 Camera2/2022-10-04 Camera3/2022-10-04 Camera4/2022-10-04
Camera1/2022-10-04/

Camera4/2022-10-04/08-01-55.jpg
+ BackupOption=day
++ date +%u
+ ‚[‚ 2 == 1 ‚]‘
++ date +%d
+ ‚[‚ 04 == 01 ‚]‘
++ date +%m.%d
+ ‚[‚ 10.04 == 01.01 ‚]‘
+ LocalBackupPath=/Backup/BackupDay/2022-10-04
+ MinioBucket=myminio/worm-with-versioning-and-retention–day
+ MCPATH=/root/mc
+ /root/mc mirror –json –overwrite –remove –preserve /Backup/BackupDay/2022-10-04 myminio/worm-with-versioning-and-retention–day/2022-10-04
{
„status“: „success“,
„source“: „/Backup/BackupDay/2022-10-04/2022-10-04.tar“,
„target“: „myminio/worm-with-versioning-and-retention–day/2022-10-04/2022-10-04.tar“,
„size“: 27351040,
„totalCount“: 1,
„totalSize“: 27351040
}
{
„status“: „success“,
„total“: 0,
„transferred“: 54702080,
„speed“: 4100401.619486594
root@rpi-iot-jsho-cam-02:~#

… after four weeks

… after one month

Twitter – plant unter CEO Elon Musk offenbar ein Abomodell für verifizierte Accounts

Montag, Oktober 31st, 2022

ob Elon Musk für sein blaues Häckchen auch bezahlen muss ist unklar