Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OskarStenberg
SnipeIt
Commits
c42c32c1
Commit
c42c32c1
authored
Jul 14, 2021
by
OskarStenberg
Browse files
Updated backup with package installations
parent
1d7cace0
Changes
1
Hide whitespace changes
Inline
Side-by-side
backup.sh
View file @
c42c32c1
...
@@ -99,6 +99,8 @@ if ! [ -f "$dbDumpFile" ]; then
...
@@ -99,6 +99,8 @@ if ! [ -f "$dbDumpFile" ]; then
exit
0
exit
0
fi
fi
dnf
install
-y
patch php-zip diffutils
#Update value in config file to get correct format
#Update value in config file to get correct format
sed
-i
's/protected $useExtendedInserts = true;/protected $useExtendedInserts = false;/'
$dbDumpFile
sed
-i
's/protected $useExtendedInserts = true;/protected $useExtendedInserts = false;/'
$dbDumpFile
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment