Skip to content
Snippets Groups Projects
Select Git revision
  • 8cf7170d64883ac8fb2761a76d4dbccda6335527
  • master default protected
2 results

inc_config.sh.dist

Blame
  • inc_config.sh.dist 943 B
    # ======================================================================
    #
    # IML BACKUP STORAGE HELPER :: CONFIG
    #
    # ======================================================================
    
        # max count of simultanous connections; 0 is unlimited
        typeset -i iMaxConnections=10
        typeset -i iConnections
    
        sSelfdir="$( dirname $0 )"
    
        # directory with backup data
        #   sublevel 1 is a name of backup tool
        #   sublevel 2 is a fqdn of a backed up server
        #   i.e. /netshare/restic-backup/server.example.com
        sBackupBasedir="/netshare"
    
        # where to store current connections
        # sConncectionDir="${sBackupBasedir}/_active"
        sConncectionDir="${sSelfdir}/_active_connections"
    
        # where to store last backup status
        sStatusDir="${sSelfdir}/_last_backup"
    
        # log
        sLogdir="${sSelfdir}/log"
        sLogfile="$sLogdir/connections.log"
    
    
    # ----------------------------------------------------------------------