vault backup: 2026-04-17 17:45:44
This commit is contained in:
parent
18a8f3e727
commit
96355ae3a4
68
.obsidian/plugins/obsidian-git/data.json
vendored
Normal file
68
.obsidian/plugins/obsidian-git/data.json
vendored
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
{
|
||||||
|
"commitMessage": "vault backup: {{date}}",
|
||||||
|
"autoCommitMessage": "vault backup: {{date}}",
|
||||||
|
"commitMessageScript": "",
|
||||||
|
"commitDateFormat": "YYYY-MM-DD HH:mm:ss",
|
||||||
|
"autoSaveInterval": 1,
|
||||||
|
"autoPushInterval": 0,
|
||||||
|
"autoPullInterval": 1,
|
||||||
|
"autoPullOnBoot": false,
|
||||||
|
"autoCommitOnlyStaged": false,
|
||||||
|
"disablePush": false,
|
||||||
|
"pullBeforePush": true,
|
||||||
|
"disablePopups": false,
|
||||||
|
"showErrorNotices": true,
|
||||||
|
"disablePopupsForNoChanges": false,
|
||||||
|
"listChangedFilesInMessageBody": false,
|
||||||
|
"showStatusBar": true,
|
||||||
|
"updateSubmodules": false,
|
||||||
|
"syncMethod": "merge",
|
||||||
|
"mergeStrategy": "none",
|
||||||
|
"customMessageOnAutoBackup": false,
|
||||||
|
"autoBackupAfterFileChange": true,
|
||||||
|
"treeStructure": false,
|
||||||
|
"refreshSourceControl": true,
|
||||||
|
"basePath": "",
|
||||||
|
"differentIntervalCommitAndPush": true,
|
||||||
|
"changedFilesInStatusBar": false,
|
||||||
|
"showedMobileNotice": true,
|
||||||
|
"refreshSourceControlTimer": 7000,
|
||||||
|
"showBranchStatusBar": true,
|
||||||
|
"setLastSaveToLastCommit": false,
|
||||||
|
"submoduleRecurseCheckout": false,
|
||||||
|
"gitDir": "",
|
||||||
|
"showFileMenu": true,
|
||||||
|
"authorInHistoryView": "full",
|
||||||
|
"dateInHistoryView": true,
|
||||||
|
"diffStyle": "split",
|
||||||
|
"hunks": {
|
||||||
|
"showSigns": false,
|
||||||
|
"hunkCommands": false,
|
||||||
|
"statusBar": "disabled"
|
||||||
|
},
|
||||||
|
"lineAuthor": {
|
||||||
|
"show": false,
|
||||||
|
"followMovement": "inactive",
|
||||||
|
"authorDisplay": "initials",
|
||||||
|
"showCommitHash": false,
|
||||||
|
"dateTimeFormatOptions": "date",
|
||||||
|
"dateTimeFormatCustomString": "YYYY-MM-DD HH:mm",
|
||||||
|
"dateTimeTimezone": "viewer-local",
|
||||||
|
"coloringMaxAge": "1y",
|
||||||
|
"colorNew": {
|
||||||
|
"r": 255,
|
||||||
|
"g": 150,
|
||||||
|
"b": 150
|
||||||
|
},
|
||||||
|
"colorOld": {
|
||||||
|
"r": 120,
|
||||||
|
"g": 160,
|
||||||
|
"b": 255
|
||||||
|
},
|
||||||
|
"textColorCss": "var(--text-muted)",
|
||||||
|
"ignoreWhitespace": false,
|
||||||
|
"gutterSpacingFallbackLength": 5,
|
||||||
|
"lastShownAuthorDisplay": "initials",
|
||||||
|
"lastShownDateTimeFormatOptions": "date"
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -200,3 +200,34 @@ Règles iptables dans la chaîne `DOCKER-USER` (la seule que Docker respecte) :
|
|||||||
- Accès VPN → **fonctionne** ✅
|
- Accès VPN → **fonctionne** ✅
|
||||||
|
|
||||||
**Risque résiduel : 0** — Seuls les ports 80/443 (Traefik) et 2222 (SSH) sont accessibles depuis internet. Tout le reste est DROP.
|
**Risque résiduel : 0** — Seuls les ports 80/443 (Traefik) et 2222 (SSH) sont accessibles depuis internet. Tout le reste est DROP.
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Addendum 2 — Vault Sync (même session)
|
||||||
|
|
||||||
|
### Architecture sync
|
||||||
|
|
||||||
|
```
|
||||||
|
iPhone/iPad ←→ iCloud ←→ Mac (Obsidian) → Gitea → VPS (/home/jerem/vault)
|
||||||
|
commit+push auto pull auto /5 min
|
||||||
|
dès stop d'édition
|
||||||
|
```
|
||||||
|
|
||||||
|
### Config
|
||||||
|
|
||||||
|
| Élément | Valeur |
|
||||||
|
|---|---|
|
||||||
|
| Plugin | Obsidian Git |
|
||||||
|
| Remote | ssh://git@10.66.66.1:222/Jerem/deamon-vault.git |
|
||||||
|
| Auto commit-and-sync | 1 minute |
|
||||||
|
| Auto commit after stop edit | ✅ activé |
|
||||||
|
| Auto pull | 1 minute |
|
||||||
|
| Clé SSH Mac | ~/.ssh/id_ed25519 (jerem@daemon) |
|
||||||
|
| Clé SSH VPS | ~/.ssh/id_ed25519 (jerem@vps) |
|
||||||
|
| VPS vault path | /home/jerem/vault |
|
||||||
|
| VPS cron pull | */5 * * * * (toutes les 5 min) |
|
||||||
|
| .gitignore | workspace.json, .trash/, .icloud, .DS_Store |
|
||||||
|
|
||||||
|
### Sécurité Notion
|
||||||
|
- Mot de passe root supprimé de la page Phase 1 (était en clair)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user