This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tmpdir: /tmp/dumps # LXC are dumped under an unprivileged user (100000) so we use the local disk instead |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Service] | |
| Group=users |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pvedocker:~# cat /etc/apk/repositories | |
| #/media/cdrom/apks | |
| http://dl-cdn.alpinelinux.org/alpine/v3.21/main | |
| http://dl-cdn.alpinelinux.org/alpine/v3.21/community | |
| pvedocker:~# apk update | |
| pvedocker:~# apk add docker | |
| pvedocker:~# rc-update add docker default | |
| pvedocker:~# apk add docker-compose | |
| pvedocker:~# adduser pve docker |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CMAKE_FLAGS='-DENABLE_THINLTO=' ./docker/packager/packager --cache ccache --package-type=deb --output-dir "./$(git rev-parse --show-cdup)/build_results" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Keep only one monthly datapoint generated from Storage Analyzer | |
| ## dry run to show remaining folders | |
| find ./20*-* -maxdepth 0 -type d -regex './20[0-9][0-9]-[0-9][0-9]-12_00-00-[0-9][0-9]' -print | |
| ## perform cleanup | |
| find ./20*-* -maxdepth 0 -type d ! -regex './20[0-9][0-9]-[0-9][0-9]-12_00-00-[0-9][0-9]' -exec rm -rfv {} + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ./adb -e shell | |
| su - | |
| tar --dereference --create /data/user/ 1> /sdcard/tmp/backup-data-$(date +%Y%m%d).tar 2> /sdcard/tmp/backup-data-$(date +%Y%m%d).err | |
| ./adb -e pull /sdcard/tmp/ "\\TARGET\Bliss OS" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # pull data | |
| ./adb -e pull /sdcard/ "\\TARGET\YYYY-MM_WSA\sdcard" | |
| # userdata backup | |
| copy %LOCALAPPDATA%\Packages\MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe\LocalCache\*.vhdx "\\TARGET\YYYYMMDD_WSA_%USERNAME%" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Delete persist.sys.usb.config from /data/property/persistent_properties (defaults to none and overrides build.prop) | |
| adb pull /data/property/persistent_properties | |
| # modify as needed | |
| adb push persistent_properties /data/property/persistent_properties | |
| adb shell | |
| raphael:/ # chmod 600 /data/property/persistent_properties | |
| ## Add persist.sys.usb.config to build.prop | |
| raphael:/ # mount /dev/block/bootdevice/by-name/system |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| adb pull /data/media/ "\\TARGET\data\media" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| setfacl -R -m u:plex:rwx <directory> |
NewerOlder