Skip to content
Snippets Groups Projects
Verified Commit 88141d30 authored by David Beniamine's avatar David Beniamine
Browse files

backup before installing dolibarr

parent d3c8135f
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,9 @@ then
echo "Current version of Dolibarr is the last version in our repo, nothing to do"
exit
fi
echo "Backing up database"
mysqldump --databases dolibarr > /root/dolibbarr.sql
mysqldump --all-databases > /root/dbs.sql
echo "Installing $package"
dpkg -i $package
echo "Fixing dependencies"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment