Skip to content
Snippets Groups Projects
Select Git revision
  • 28e45a933ab3f4b65050fed29a8cdd41b6d517b3
  • master default protected
  • 7771-harden-postgres-backup
  • pgsql-dump-with-snapshots
  • update-colors
  • update-docs-css
  • usb-repair-stick
  • desktop-notification
  • 7000-corrections
  • db-detector
10 results

env_defaults

Blame
  • env_defaults 1.23 KiB
    #!/bin/bash
    # ----------------------------------------------------------------------
    #
    # DEFAULTS !!! Do not edit this file !!! 
    # Overide customizations in file "env" (maybe copy env.dist to env first)
    #
    # ----------------------------------------------------------------------
    
    # ----------------------------------------------------------------------
    # Localdump
    # ----------------------------------------------------------------------
    
    # mysql
    LD_MYSQL_DUMP_PARAMS="--opt \
                --default-character-set=utf8 \
                --flush-logs \
                --single-transaction \
                --no-autocommit \
                "
    
    # ----------------------------------------------------------------------
    # Restic backup
    # ----------------------------------------------------------------------
    
    # compression mode (only available for repository format version 2), one of (auto|off|max) (default: $RESTIC_COMPRESSION) (default auto)
    # export RESTIC_COMPRESSION=auto
    
    # Concurrency for file reads (default: 2)
    # RESTIC_READ_CONCURRENCY=8
    
    # Target size for pack files
    export RESTIC_PACK_SIZE=128
    
    # injected in command line for restic backup (not a variable of restic)
    RESTIC_PARAMS=--no-scan
    
    # ----------------------------------------------------------------------