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/04/21 16:43]
ww [rclone & Google Drive]
ostatni [2022/03/16 09:38] (current)
Line 23: Line 23:
 ---- ----
  
 +===== Exchange / IIS + Let's Encrypt =====
  
 +==== 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>
 +cd /etc/letsencrypt/archive/<domena>
 +openssl pkcs12 -export -out certificate.pfx \
 +                       -inkey privkey.pem \
 +                       -in cert.pem \
 +                       -certfile chain.pem</code>
 +  * Exchange Management Console > Server configuration.
 +  * V Certificates kliknout pravým, naimportovat .pfx.
 +  * Kliknout pravým na certifikát a "Assign services to a certificate".
 +
 +----
  
 ===== Ping with timestamp ===== ===== Ping with timestamp =====
Line 45: 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.1555857827.txt.gz · Last modified: 2022/03/16 09:38 (external edit)