mirror of
https://github.com/deajan/obackup.git
synced 2025-01-12 23:23:53 +01:00
Added --no-prefix option
This commit is contained in:
parent
33bb142467
commit
9d6b95e7a6
@ -1,6 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
#TODO(low): add --no-prefix switch
|
|
||||||
#TODO: missing files says Backup succeed
|
#TODO: missing files says Backup succeed
|
||||||
#TODO: ListingDatabases fail succeed
|
#TODO: ListingDatabases fail succeed
|
||||||
#TODO: Add .gpg extesion to RotateFiles ?
|
#TODO: Add .gpg extesion to RotateFiles ?
|
||||||
@ -1594,6 +1593,7 @@ function Usage {
|
|||||||
echo ""
|
echo ""
|
||||||
echo "OPTIONS:"
|
echo "OPTIONS:"
|
||||||
echo "--dry will run obackup without actually doing anything, just testing"
|
echo "--dry will run obackup without actually doing anything, just testing"
|
||||||
|
echo "--no-prefix Will suppress time / date suffix from output"
|
||||||
echo "--silent will run obackup without any output to stdout, usefull for cron backups"
|
echo "--silent will run obackup without any output to stdout, usefull for cron backups"
|
||||||
echo "--errors-only Output only errors (can be combined with silent or verbose)"
|
echo "--errors-only Output only errors (can be combined with silent or verbose)"
|
||||||
echo "--verbose adds command outputs"
|
echo "--verbose adds command outputs"
|
||||||
@ -1679,6 +1679,9 @@ function GetCommandlineArguments {
|
|||||||
--errors-only)
|
--errors-only)
|
||||||
_LOGGER_ERR_ONLY=true
|
_LOGGER_ERR_ONLY=true
|
||||||
;;
|
;;
|
||||||
|
--no-prefix)
|
||||||
|
_LOGGER_PREFIX=""
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user