Borgmatic Configuration: Update Occasionally

PSA: If you regularly update borgmatic (e.g., because the Docker image is set to auto-update), you should also occasionally update the configuration file to keep it up to date. From time to time, the config file learns new options or old ones are deprecated.

Borgmatic provides the command borgmatic config generate for this purpose.

Continue reading “Borgmatic Configuration: Update Occasionally”

Howto backup hosted nextcloud

In a hosted environment you ususally don’t have direct access to the database where calendars and contacts are stored.

And even when the provider has some sort of backup

  • you don’t really own it, because you can’t download it
    • e.g. you don’t can’t just migrate in case you are locked out for some reason
  • its an “all or nothing” story when it comes to restores
    • the whole instance/account is reset to some point in time
    • any change in between the last backup is effectively overwritten

Enter backup_hosted_nextcloud_database.sh:

Continue reading “Howto backup hosted nextcloud”

Howto export an encrypted borgbackup archive

Borgbackup is a deduplicating backup program with encryption and compresssion. It uses a sophisticated storage format to fullfill those features.

Each backup run is stored in a so called archive. Sometimes you may want to keep a specific archive in long term storage – indepenend of any specific software specific format – let say as regular tar file.

Continue reading “Howto export an encrypted borgbackup archive”