delta bugfix
This commit is contained in:
parent
3bad661432
commit
0558fb9b9f
|
@ -52,7 +52,7 @@ do
|
||||||
|
|
||||||
#${sqldump_prefix} ${sql_item//:/ } | gzip > ${prefix}/${stamp}/${sql_item//:/.}.sql.gz
|
#${sqldump_prefix} ${sql_item//:/ } | gzip > ${prefix}/${stamp}/${sql_item//:/.}.sql.gz
|
||||||
|
|
||||||
if [[ -f "${prefix}/incremental/${sql_item//:/.}.sql" ]]
|
if [[ -f "${prefix}/incremental/${sql_item//:/.}.sql.sign" ]]
|
||||||
then
|
then
|
||||||
xsuffix=".diff"
|
xsuffix=".diff"
|
||||||
${sqldump_prefix} ${sql_item//:/ } | rdiff delta ${prefix}/incremental/${sql_item//:/.}.sql.sign > ${prefix}/${stamp}/${sql_item//:/.}.sql.delta
|
${sqldump_prefix} ${sql_item//:/ } | rdiff delta ${prefix}/incremental/${sql_item//:/.}.sql.sign > ${prefix}/${stamp}/${sql_item//:/.}.sql.delta
|
||||||
|
|
Loading…
Reference in New Issue