From 0558fb9b9f9fecf1f4424b30a2a61f0c3831c56e Mon Sep 17 00:00:00 2001 From: Pavel Dmitriev Date: Wed, 21 Jun 2023 11:19:04 +0300 Subject: [PATCH] delta bugfix --- backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup.sh b/backup.sh index 88d7383..aa59a66 100755 --- a/backup.sh +++ b/backup.sh @@ -52,7 +52,7 @@ do #${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 xsuffix=".diff" ${sqldump_prefix} ${sql_item//:/ } | rdiff delta ${prefix}/incremental/${sql_item//:/.}.sql.sign > ${prefix}/${stamp}/${sql_item//:/.}.sql.delta