User Tools

Site Tools


ostatni

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ostatni [2019/07/24 15:18]
ww
ostatni [2022/03/16 09:38] (current)
Line 25: Line 25:
 ===== Exchange / IIS + Let's Encrypt ===== ===== Exchange / IIS + Let's Encrypt =====
  
-  * Získat certifikát třeba přes Certbot+==== Automaticky ==== 
 + 
 +  * [[https://github.com/PKISharp/win-acme|win-acme]] - vyžaduje .NET 4.7.2 
 + 
 +==== Ručně ==== 
 + 
 +  * Získat certifikát třeba přes [[https://wiki.werehub.org/doku.php?id=linux_skodi#let_s_encrypt_certbot|Certbot]].
 <code bash> <code bash>
 cd /etc/letsencrypt/archive/<domena> cd /etc/letsencrypt/archive/<domena>
Line 58: Line 64:
 rclone mount -vvv --allow-non-empty --allow-other nazevrcloneremotu:/ lokalni_mountpoint rclone mount -vvv --allow-non-empty --allow-other nazevrcloneremotu:/ lokalni_mountpoint
 </code> </code>
 +
 +  * Ostatní magie
 +<code bash>rclone copy ~/lokalnicesta nazev-rclone-remote:/cesta --progress --transfers 16 --fast-list</code>
 +(''--fast-list'' podporují jen některé remotes, pro kopírování do rootu stačí napsat ''nazev-rclone-remote:/'')
 +
 +----
 +
 +===== restic =====
 +
 +Inicializace repozitáře
 +<code powershell>restic.exe init --repo cesta-k-repozitari</code>
 +
 +Záloha
 +<code powershell>
 +restic.exe backup `
 +  --repo cesta-k-repozitari `
 +  --password-file cesta-k-souboru-s-heslem
 +  --verbose `
 +  slozka-kterou-chci-zalohovat
 +</code>
 +
 +Odmazávání starých záloh
 +<code powershell>
 +restic.exe forget `
 +  --repo cesta-k-repozitari `
 +  --password-file cesta-k-souboru-s-heslem `
 +  --verbose `
 +  --keep-daily 7 `
 +  --keep-weekly 5 `
 +  --keep-monthly 7 `
 +  --prune
 +</code>
 +
 +----
ostatni.1563974324.txt.gz · Last modified: 2022/03/16 09:38 (external edit)