20 lines
642 B
Bash
Executable file
20 lines
642 B
Bash
Executable file
#!/bin/bash
|
|
|
|
usage()
|
|
{
|
|
printf "Usage: %s: [-a] [-c value] args\n" $(basename $0) >&2
|
|
#-b [backup type] Type of backup e.g. one of: global, state or log
|
|
#-c [path] Path to config file; If this is set all params are read from there
|
|
#-d [database names] Array of db names e.g.: "foo bar"
|
|
#-g [game name] Name of the game e.g.: PirateGalaxy
|
|
#-n [database names] The names of the DB's to backup e.g.: "PirateGalaxy_Global PirateGalaxy_Payment PirateGalaxy_News"
|
|
#-u [game username] Name of the user the games runs on e.g.: pirategalaxy
|
|
}
|
|
|
|
|
|
boo()
|
|
{
|
|
USER=$1
|
|
shift;
|
|
echo "Param USER: $USER ...!!"
|
|
}
|