tmp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tmp [2023/06/06 20:11] admintmp [2024/09/23 20:58] (current) admin
Line 1: Line 1:
 +<code>
 +deb http://10.59.0.69/repo/smolensk/1.6.14/update smolensk main contrib non-free 
 +deb http://10.59.0.69/repo/smolensk/1.6.14/dev-update smolensk main contrib non-free
 +
 +
 +
 +pkgs=`dpkg -l 2> /dev/null | egrep "^ii\s*linux-image-[456]\.[[:digit:]]+\.[[:digit:]]+-[[:digit:]]+-" | cut -d " " -f3 | grep -v ^linux-image-$(uname -r | cut -d '-' -f1-2)`
 +
 +apt remove $pkgs
 +
 +rm -f /boot/old-*
 +</code>
 +<code>
 +chromium-browser 
 +    --kiosk 
 +    --disable-session-crashed-bubble 
 +    --disable-infobars 
 +    --user-data-dir=/home/pi/browser/ 
 +    file:///home/pi/my_page_loader.html?fwd_url=https://www.mywebsite.com/
 +</code>
 +
 +<code>   tar -cvf - --exclude=/backup.tar.gz --exclude=/proc --exclude=/tmp --exclude=/mnt --exclude=/dev --exclude=/sys --exclude=/run --exclude=/media --exclude=/var/log --exclude=/var/lib/lxcfs/ --exclude=/var/cache/apt/archives / | gzip -9 | ssh user@remote_server.example.com 'cat > /path/to/backup/bot-ar-`date +%m-%d-%Y`.tgz' 
 +
 +sudo sfdisk -d /dev/sdX | ssh user@remote_server "cat > /path/to/destination/partition_table.txt"
 +
 +
 +</code>   
 + sudo nmap -sV  -p- gorki.synology.me
 +
 +
 +R7 15............12 \\
 +<decrypt>U2FsdGVkX1/ck3nD86MxdXd+rmBBkOKsHrqpqzEbelXIpa0Skl3jtUKY4AWwhz6r
 +ZasKMcX/UMi7osHNyFKXwTmZ1ffi2vOAhza6arIzPp6o4AqcNDjcBcN6ervJ3Z72
 +9dctA+fGyHmDHNr0VCSJZLXY8N1Hf5OXqWhme3qP9LRyURLFyuzqY1m3t/L+xII9</decrypt>
 +
 +{{gallery>hardware:pasted:?20231014*&200x200&crop&lightbox}}
 +
 +
 +{{:pasted:20231014-123056.png}}
 +
 +https://disk.yandex.ru/d/6AVkr612a4IlFQ
 +<code> for synology
 +homeassistant, dashy,  nodered, z2m, mosquitto, syncthing, influxdb/grafana/chronograf/telegraf, gitea, freshrss, rsshub, vaultwarden, traefik, esphome, minio, kms_server, photoprism
 +</code>
 +
 +<code>
 +i need full python3 script to create snapshot of all kvm vms with libvirt python module and sync every files of vm: xml , qcow and snapshots , to directory /mnt/backup . you need to get information about files of VM with help of parse XMLDesc() and other info from libvirt
 +once a week we need to merge all libvirtd snaphosts of kvm and delete old data from backup directory older than 30 days. in answer i need only source code in minimum text and explanation . you have to use optimal code , f-strings and python classes, every step in script must have a logged with module logging.
 +
 +you are a proffesional phyton3 programmer. you need to write a python3 code with classes and logging to make a backup of selected in defined list libvirtd vm with libvirt module. Code need to create snapshot , do full or incrimental backup, Compress during copying to remote destination with pigz , cleanup old copies. you need to do it in most effective way
 +</code>
 +
 +<code>
 https://q.erfilm.cfd/3659-mstiteli-final.html https://q.erfilm.cfd/3659-mstiteli-final.html
 https://daisydiskapp.com/trial/activate.php?token=3t35Z46gEe23mwLmH8bIY97d-YiOoBHtt5sC5h_GyGM https://daisydiskapp.com/trial/activate.php?token=3t35Z46gEe23mwLmH8bIY97d-YiOoBHtt5sC5h_GyGM
Line 6: Line 59:
  
 212.237.56.234 - done 03.08.2022 212.237.56.234 - done 03.08.2022
 +</code>
  
 <decrypt>U2FsdGVkX1/J2uPVSdRsptpEkUGMRhXQUyuepi0SNrk=</decrypt> <decrypt>U2FsdGVkX1/J2uPVSdRsptpEkUGMRhXQUyuepi0SNrk=</decrypt>
Line 36: Line 90:
  
 <code> <code>
 +на позитивных коннотациях научное предвидение
 +соль - минерал, а сахар - сложное органическое соединение
 налево пойдешь коня потеряешь , направо хирш отвалится\\ налево пойдешь коня потеряешь , направо хирш отвалится\\
 политическая система курильщика , не пострелять ли из пистолета дзержинского\\ политическая система курильщика , не пострелять ли из пистолета дзержинского\\
  • tmp.1686082286.txt.gz
  • Last modified: 2023/06/06 20:11
  • by admin