Skip to content

Instantly share code, notes, and snippets.

View dominicpratt's full-sized avatar

Dominic Pratt dominicpratt

View GitHub Profile
@dominicpratt
dominicpratt / fix-entryid-all-users
Created March 5, 2019 14:10
Fix broken entryids in sent folder and all users
import sys
import os
import uuid
import kopano
import mysql.connector
USER="root"
PASSWORD=""
HOST="localhost"
DB="kopano"
@dominicpratt
dominicpratt / config.yaml
Last active June 2, 2022 14:15
hetzner storagebox borgmatic configuration
location:
source_directories:
- /etc
- /var/www
one_file_system: true
repositories:
- [email protected]:backup
exclude_patterns: