updated backup.sh to run with sh
This commit is contained in:
parent
f086d1da48
commit
988a5818ec
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
# Copyright 2018 K. Langenberg. All rights reserved.
|
||||
# Use of this source code is governed by a GPLv3-style
|
||||
|
@ -101,7 +101,7 @@ if [ ! -f $backup_hosts_location ]; then
|
|||
fi
|
||||
|
||||
# Load Config
|
||||
backup_hosts_file=$(<$backup_hosts_location)
|
||||
backup_hosts_file=$(cat $backup_hosts_location)
|
||||
|
||||
####################
|
||||
# Start the backup #
|
||||
|
|
|
@ -1,21 +1,7 @@
|
|||
[
|
||||
{
|
||||
"host":"host1",
|
||||
"host":"host-db",
|
||||
"user":"root",
|
||||
"password":"1234"
|
||||
},
|
||||
{
|
||||
"host":"host2",
|
||||
"user":"root",
|
||||
"password":"123443"
|
||||
},
|
||||
{
|
||||
"host":"127.0.0.1",
|
||||
"user":"root",
|
||||
"password":"jup2000"
|
||||
},
|
||||
{
|
||||
"user":"root",
|
||||
"password":"123443"
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue