mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
3.4.1 (#186)
* Add backup timeout customization * Different variable Co-authored-by: Michael Stanclift <vmstan@ms-constitution.local>
This commit is contained in:
parent
d97f92ccea
commit
71fdb016bd
@ -3,7 +3,7 @@ SCRIPT_START=$SECONDS
|
||||
|
||||
# GRAVITY SYNC BY VMSTAN #####################
|
||||
PROGRAM='Gravity Sync'
|
||||
VERSION='3.4.0'
|
||||
VERSION='3.4.1'
|
||||
|
||||
|
||||
# For documentation or downloading updates visit https://github.com/vmstan/gravity-sync
|
||||
@ -53,6 +53,7 @@ ROOT_CHECK_AVOID='0' # replace in gravity-sync.conf to overwrite
|
||||
|
||||
# Backup Customization
|
||||
BACKUP_RETAIN='3' # replace in gravity-sync.conf to overwrite
|
||||
BACKUP_TIMEOUT='60' # replace in gravity-sync.conf to overwrite
|
||||
|
||||
# SSH Customization
|
||||
SSH_PORT='22' # default SSH port
|
||||
|
@ -70,7 +70,7 @@ function backup_remote_gravity() {
|
||||
MESSAGE="${UI_BACKUP_PRIMARY} ${UI_GRAVITY_NAME}"
|
||||
echo_stat
|
||||
|
||||
CMD_TIMEOUT='60'
|
||||
CMD_TIMEOUT=$BACKUP_TIMEOUT
|
||||
CMD_REQUESTED="sudo sqlite3 ${RIHOLE_DIR}/${GRAVITY_FI} \".backup '${RIHOLE_DIR}/${GRAVITY_FI}.backup'\""
|
||||
create_sshcmd
|
||||
}
|
||||
|
@ -44,6 +44,7 @@ REMOTE_USER='pi'
|
||||
|
||||
### Backup Customization
|
||||
# BACKUP_RETAIN='' # replace in gravity-sync.conf to overwrite
|
||||
# BACKUP_TIMEOUT='' # replace in gravity-sync.conf to overwrite
|
||||
|
||||
### SSH Customization
|
||||
# SSH_PORT='' # default SSH port
|
||||
|
Loading…
Reference in New Issue
Block a user