Auto-Backup $'Mon Mar 24 2025 00:31:42 GMT+0100 (Central European Standard Time)'

This commit is contained in:
2025-03-24 01:09:49 +01:00
parent b8b72f1027
commit 240e43803c
6 changed files with 50 additions and 6 deletions

View File

@@ -233,10 +233,13 @@ Jobs.Cloud_ServerBackupLimited = async () => {
await BackPathCrypt('script-server', Secrets.BackupKey_Git_scriptserver);
await BackPathCrypt('docker-mailserver', Secrets.BackupKey_Git_dockermailserver);
await BackPathCrypt('memos', Secrets.BackupKey_Git_memos);
await $`split --bytes=95M --numeric-suffixes ./FreshRSS.tar.xz.cpt FreshRSS.tar.xz.cpt.`;
await $`rm ./FreshRSS.tar.xz.cpt`;
await GitPullPush();
};
Jobs.Cloud_ArticlesBackupPrivate = async () => {
await GitReclone('Articles-Backup-Private', 'https://gitlab.com/octospacc/Articles-Backup-Private/');
await FolderGoCopyForCloud('shiori-data', 'Articles-Backup-Private');
await GitPullPush();
};

View File

@@ -2,3 +2,4 @@
set -e
rm -rf /root/.cache /home/*/.cache || true
rm -rf /var/log/*.{4,5,6,7,8,9}.* || true
docker system prune -af

View File

@@ -14,8 +14,8 @@ while true; do
-smbios type=4,manufacturer=Intel,max-speed=4800,current-speed=4800 \
-cpu "host,family=6,model=158,stepping=2,model_id=Intel(R) Core(TM) i9-12900K CPU @ 2.60GHz,vmware-cpuid-freq=false,enforce=false,host-phys-bits=true,hypervisor=off" \
-machine q35,kernel_irqchip=on \
-smp 3 \
-m 3840M \
-smp 4 \
-m 3700M \
-drive file=./WindowsServer2022.qcow2,format=qcow2,index=0,media=disk \
-device e1000,netdev=net0 \
-netdev user,id=net0,hostfwd=tcp::3389-:3389,hostfwd=udp::3389-:3389 \