Skip to content

Commit 3f109db

Browse files
Dinesh GujarDinesh Gujar
Dinesh Gujar
authored and
Dinesh Gujar
committed
CAT-1147 cleanup
1 parent a009ea4 commit 3f109db

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

templates/xtrabackup.sh.epp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ set -o pipefail
2323
<%- } -%>
2424
<% } -%>
2525

26-
2726
cleanup()
2827
{
2928
find "${DIR}/" -mindepth 1 -maxdepth 1 -mtime +${ROTATE} -print0 | xargs -0 -r rm -rf
@@ -33,15 +32,8 @@ cleanup()
3332
cleanup
3433
<% } -%>
3534

36-
37-
38-
39-
40-
41-
4235
<%= $backupmethod %> <%= $innobackupex_args %> $@
4336

44-
4537
<% unless $delete_before_dump {-%>
4638
if [ $? -eq 0 ] ; then
4739
cleanup
@@ -51,7 +43,6 @@ if [ $? -eq 0 ] ; then
5143
fi
5244
<% } -%>
5345

54-
5546
<% if $postscript { -%>
5647
<%- [$postscript].flatten().filter |$value| {$value}.each |$script| {%>
5748
<%= $script %>

0 commit comments

Comments
 (0)