Lines 73-78
dump_instance()
Link Here
|
73 |
backupdir="$( xmlstarlet sel -t -v 'yazgfs/config/backupdir' $kohaconfig || true )" |
73 |
backupdir="$( xmlstarlet sel -t -v 'yazgfs/config/backupdir' $kohaconfig || true )" |
74 |
[ -z "$backupdir" ] && backupdir="/var/spool/koha/$name" |
74 |
[ -z "$backupdir" ] && backupdir="/var/spool/koha/$name" |
75 |
dbdump="$backupdir/$name-$date.sql.gz" |
75 |
dbdump="$backupdir/$name-$date.sql.gz" |
|
|
76 |
dbflag="--databases" |
76 |
[ "$without_db_name" = "yes" ] && dbflag="" |
77 |
[ "$without_db_name" = "yes" ] && dbflag="" |
77 |
if [ "$schema_only" = "yes" ] |
78 |
if [ "$schema_only" = "yes" ] |
78 |
then |
79 |
then |
79 |
- |
|
|