1
0
mirror of https://github.com/deajan/obackup.git synced 2024-12-26 07:23:41 +01:00

Better preflight check

This commit is contained in:
deajan 2016-10-19 12:27:37 +02:00
parent 4982d326d3
commit 2118a27bcc

View File

@ -1,7 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
#TODO: missing files says Backup succeed #TODO: missing files says Backup succeed
#TODO: add new encryption variable checks, also upgrade script
#TODO: ListingDatabases fail succeed #TODO: ListingDatabases fail succeed
#TODO: Add .gpg extesion to RotateFiles ? #TODO: Add .gpg extesion to RotateFiles ?
@ -10,7 +9,7 @@ PROGRAM="obackup"
AUTHOR="(C) 2013-2016 by Orsiris de Jong" AUTHOR="(C) 2013-2016 by Orsiris de Jong"
CONTACT="http://www.netpower.fr/obackup - ozy@netpower.fr" CONTACT="http://www.netpower.fr/obackup - ozy@netpower.fr"
PROGRAM_VERSION=2.1-dev PROGRAM_VERSION=2.1-dev
PROGRAM_BUILD=2016090901 PROGRAM_BUILD=2016101901
IS_STABLE=no IS_STABLE=no
source "./ofunctions.sh" source "./ofunctions.sh"
@ -1679,10 +1678,10 @@ Logger "Backup instance [$INSTANCE_ID] launched as $LOCAL_USER@$LOCAL_HOST (PID
GetLocalOS GetLocalOS
InitLocalOSSettings InitLocalOSSettings
CheckEnvironment
CheckRunningInstances CheckRunningInstances
PreInit PreInit
Init Init
CheckEnvironment
PostInit PostInit
CheckCurrentConfig CheckCurrentConfig