Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tmp [2023/06/06 20:11] – admin | tmp [2024/09/23 20:58] (current) – admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | < | ||
+ | deb http:// | ||
+ | deb http:// | ||
+ | |||
+ | |||
+ | |||
+ | pkgs=`dpkg -l 2> /dev/null | egrep " | ||
+ | |||
+ | apt remove $pkgs | ||
+ | |||
+ | rm -f /boot/old-* | ||
+ | </ | ||
+ | < | ||
+ | chromium-browser | ||
+ | --kiosk | ||
+ | --disable-session-crashed-bubble | ||
+ | --disable-infobars | ||
+ | --user-data-dir=/ | ||
+ | file:/// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | |||
+ | sudo sfdisk -d /dev/sdX | ssh user@remote_server "cat > / | ||
+ | |||
+ | |||
+ | </ | ||
+ | sudo nmap -sV -p- gorki.synology.me | ||
+ | |||
+ | |||
+ | R7 15............12 \\ | ||
+ | < | ||
+ | ZasKMcX/ | ||
+ | 9dctA+fGyHmDHNr0VCSJZLXY8N1Hf5OXqWhme3qP9LRyURLFyuzqY1m3t/ | ||
+ | |||
+ | {{gallery> | ||
+ | |||
+ | |||
+ | {{: | ||
+ | |||
+ | https:// | ||
+ | < | ||
+ | homeassistant, | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | 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 | ||
+ | </ | ||
+ | |||
+ | < | ||
https:// | https:// | ||
https:// | https:// | ||
Line 6: | Line 59: | ||
212.237.56.234 - done 03.08.2022 | 212.237.56.234 - done 03.08.2022 | ||
+ | </ | ||
< | < | ||
Line 36: | Line 90: | ||
< | < | ||
+ | на позитивных коннотациях научное предвидение | ||
+ | соль - минерал, | ||
налево пойдешь коня потеряешь , направо хирш отвалится\\ | налево пойдешь коня потеряешь , направо хирш отвалится\\ | ||
политическая система курильщика , не пострелять ли из пистолета дзержинского\\ | политическая система курильщика , не пострелять ли из пистолета дзержинского\\ |