We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24bcf43 commit 34464e1Copy full SHA for 34464e1
bin/v-dump-database
@@ -79,16 +79,12 @@ else
79
fi
80
81
if [ "$output" = "file" ]; then
82
- # echo filename for use in the php
83
- echo "${user}_${database}_${TYPE}_${timestamp}.${extension}"
84
-
85
cp $dump $BACKUP/${user}_${database}_${TYPE}_${timestamp}.${extension}
86
87
# echo file location for use in the php
88
echo "$BACKUP/${user}_${database}_${TYPE}_${timestamp}.${extension}"
89
90
# cleanup
91
- echo "rm $BACKUP/${user}_${database}_${TYPE}_${timestamp}.${extension}" | at now + 1 hour
+ echo "rm $BACKUP/${user}_${database}_${TYPE}_${timestamp}.${extension}" | at now + 1 hour > /dev/null 2>&1
92
else
93
cat $dump
94
0 commit comments