mirror of
https://gitlab.com/octospacc/Configs.git
synced 2025-06-05 21:59:36 +02:00
Auto-Backup $'Mon Mar 24 2025 00:31:42 GMT+0100 (Central European Standard Time)'
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
@@ -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
|
||||
|
@@ -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 \
|
||||
|
Reference in New Issue
Block a user