init
This commit is contained in:
commit
2029c09a05
3 changed files with 92 additions and 0 deletions
2
.backup_conf/.gitignore
vendored
Normal file
2
.backup_conf/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
creds/*
|
||||
conf
|
32
.backup_conf/conf_example
Executable file
32
.backup_conf/conf_example
Executable file
|
@ -0,0 +1,32 @@
|
|||
#!/bin/bash
|
||||
|
||||
## COPY THIS FILE TO ~/docker/.backup_conf/conf !!
|
||||
|
||||
compose_stack_location="" # Full Path
|
||||
cd $compose_stack_location
|
||||
|
||||
tar_backups_to_keep=10
|
||||
local_backup_tar_save_dir=("")
|
||||
tar_arguments="--exclude='dir' --exclude=''"
|
||||
|
||||
backup_tar_tmp_dir="/var/tmp/backup_script"
|
||||
compression_options="zstd -8 -T6"
|
||||
gpg_encryption_password="$(cat .backup_conf/creds/gpg_pw)"
|
||||
|
||||
restic_repository_strings=("" "" "")
|
||||
restic_repository_encryption_passwords=("" "" "")
|
||||
restic_arguments=("--no-scan -o rest.connections=3 --exclude dir --exclude --retry-lock 10m" "--no-scan --retry-lock 10m --exclude dir" "--no-scan -o rest.connections=3 --exclude dir --retry-lock 10m" "--no-scan --retry-lock 10m --exclude dir")
|
||||
restic_snapshots_to_keep=("--keep-last 30" "--keep-last 100" "--keep-last 30")
|
||||
restic_compose_stacks_to_skip=("no_backup")
|
||||
|
||||
export GOMAXPROCS=6
|
||||
|
||||
local_backup_ssh_user=""
|
||||
ssh_backup_ip=("10.99.0.1" "domain.com")
|
||||
ssh_backup_port=(22 2222)
|
||||
ssh_backup_user=("" "")
|
||||
ssh_backup_path=("" "")
|
||||
ssh_backup_concurrency=25
|
||||
|
||||
|
||||
date=$(date +%F-%H-%M-%S)
|
Loading…
Add table
Add a link
Reference in a new issue