vault backup: 2022-08-11 15:02:24

Affected files:
.obsidian/workspace
02. PARA/03. Resources(資源)/Proxmox VE.md
attachments/Pasted image 20220811145852.png
attachments/Pasted image 20220811150034.png
This commit is contained in:
2022-08-11 15:02:24 +08:00
parent 0e7c45f798
commit 678a5e3ab4
4 changed files with 21 additions and 6 deletions

12
.obsidian/workspace vendored
View File

@@ -9,7 +9,7 @@
"state": { "state": {
"type": "markdown", "type": "markdown",
"state": { "state": {
"file": "02. PARA/03. Resources資源/sqlite.md", "file": "02. PARA/03. Resources資源/Proxmox VE.md",
"mode": "source", "mode": "source",
"source": true "source": true
} }
@@ -69,7 +69,7 @@
"state": { "state": {
"type": "backlink", "type": "backlink",
"state": { "state": {
"file": "02. PARA/03. Resources資源/sqlite.md", "file": "02. PARA/03. Resources資源/Proxmox VE.md",
"collapseAll": false, "collapseAll": false,
"extraContext": false, "extraContext": false,
"sortOrder": "alphabetical", "sortOrder": "alphabetical",
@@ -86,7 +86,7 @@
"state": { "state": {
"type": "outline", "type": "outline",
"state": { "state": {
"file": "02. PARA/03. Resources資源/sqlite.md" "file": "02. PARA/03. Resources資源/Proxmox VE.md"
} }
} }
} }
@@ -116,6 +116,8 @@
}, },
"active": "ec13ce58b15fa6d4", "active": "ec13ce58b15fa6d4",
"lastOpenFiles": [ "lastOpenFiles": [
"02. PARA/03. Resources資源/sqlite.md",
"02. PARA/03. Resources資源/Proxmox VE.md",
"02. PARA/02. Area領域/20150803 - Android/ADB 取得 APK 的 icon.md", "02. PARA/02. Area領域/20150803 - Android/ADB 取得 APK 的 icon.md",
"02. PARA/03. Resources資源/QT/QVariant.md", "02. PARA/03. Resources資源/QT/QVariant.md",
"00. TOP/01. TODO.md", "00. TOP/01. TODO.md",
@@ -123,8 +125,6 @@
"02. PARA/03. Resources資源/Tool Setup/SublimeText.md", "02. PARA/03. Resources資源/Tool Setup/SublimeText.md",
"01. Daily/2022-07-15(週五).md", "01. Daily/2022-07-15(週五).md",
"02. PARA/03. Resources資源/C++17/for_each.md", "02. PARA/03. Resources資源/C++17/for_each.md",
"02. PARA/03. Resources資源/讀書筆記/20220619 - 精確的力量.md", "02. PARA/03. Resources資源/讀書筆記/20220619 - 精確的力量.md"
"02. PARA/03. Resources資源/C++17/智慧指標.md",
"02. PARA/03. Resources資源/C++17/C++17.md"
] ]
} }

View File

@@ -191,6 +191,21 @@ mkdir -p /mnt/data/backup/
參考: 參考:
- [HASS + Proxmox: Automatic Backups to Synology NAS](https://kleypot.com/automatic-offline-backups/) - [HASS + Proxmox: Automatic Backups to Synology NAS](https://kleypot.com/automatic-offline-backups/)
## 設定 UPS
因為 UPS 的 USB 是連接在 NAS 上所以Proxmox這邊必須要去monitor NAS那邊所回報的狀態請確定NAS端有打開「啟用網路不斷電系統伺服器」。
1. 安裝 nut`apt-get install nut`
2. 修改 `/etc/nut/nut.conf`,設定 `MODE=netclient`
3. 修改 `/etc/nut/upsmon.conf`,加入一行:`MONITOR ups@<NAS_IP> 1 <NAS_Username> <NAS_UserPassword> slave`
4. 開始 upsmon`upsmon start`
5.`ps -ef | grep upsmon` 確認 upsmon是否執行
![[Pasted image 20220811145852.png|600]]
6. 若正常可以取回UPS的一些硬體資料`upsc ups@<NAS_IP>`
![[Pasted image 20220811150034.png|360]]
### 參考
- [不斷電系統](https://kb.synology.com/zh-tw/DSM/help/DSM/AdminCenter/system_hardware_ups?version=6)
- [設定 Proxmox VE連動Synology的不斷電系統](https://cychien.tw/wordpress/2022/02/02/%E8%A8%AD%E5%AE%9A-proxmox-ve%E9%80%A3%E5%8B%95synology%E7%9A%84%E4%B8%8D%E6%96%B7%E9%9B%BB%E7%B3%BB%E7%B5%B1/)
## 更新 ## 更新
### 加入更新來源 ### 加入更新來源
編輯`/etc/apt/sources.list`,加入: 編輯`/etc/apt/sources.list`,加入:

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB