Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-mysqlbackend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-mysqlbackend
Commits
ffed88c0
Verified
Commit
ffed88c0
authored
4 months ago
by
Daniel Hornung
Browse files
Options
Downloads
Patches
Plain Diff
WIP: Patch
parent
eb5e1695
Branches
Branches containing commit
No related tags found
1 merge request
!33
Fix accent sensitivity
Pipeline
#60562
passed
4 months ago
Stage: test
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.docker/docker-compose.yml
+1
-1
1 addition, 1 deletion
.docker/docker-compose.yml
Makefile
+6
-6
6 additions, 6 deletions
Makefile
doc/Maintenance.rst
+2
-5
2 additions, 5 deletions
doc/Maintenance.rst
with
9 additions
and
12 deletions
.docker/docker-compose.yml
+
1
−
1
View file @
ffed88c0
version
:
'
3.6'
version
:
'
3.6'
services
:
services
:
sqldb
:
sqldb
:
image
:
mariadb:1
0.5
image
:
mariadb:1
1.4
volumes
:
volumes
:
-
type
:
volume
-
type
:
volume
source
:
"
caosdb-sqldata"
source
:
"
caosdb-sqldata"
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
6
−
6
View file @
ffed88c0
...
@@ -62,10 +62,10 @@ test-dump-update:
...
@@ -62,10 +62,10 @@ test-dump-update:
# Run tests with a database which is started in a MariaDB Docker container
# Run tests with a database which is started in a MariaDB Docker container
.PHONY
:
test-docker
.PHONY
:
test-docker
test-docker
:
test-docker
:
@
docker
kill
caosdb
-mysqlserver-test
||
true
@
docker
kill
linkahead
-mysqlserver-test
||
true
@
docker container
rm
-v
caosdb
-mysqlserver-test
||
true
@
docker container
rm
-v
linkahead
-mysqlserver-test
||
true
@
docker run
--name
caosdb
-mysqlserver-test
-p
"330
7
:3306"
\
@
docker run
--name
linkahead
-mysqlserver-test
-p
"330
6
:3306"
\
-e
MYSQL_ROOT_PASSWORD
=
"pass-for-test"
-d
mariadb:1
0.11
-e
MYSQL_ROOT_PASSWORD
=
"pass-for-test"
-d
mariadb:1
1.4
@
sleep
10
@
sleep
10
MAINPATH
=
$(
realpath
tests/docker_env
)
utils/make_db
test
--fresh
MAINPATH
=
$(
realpath
tests/docker_env
)
utils/make_db
test
--fresh
make test-docker-stop
make test-docker-stop
...
@@ -73,8 +73,8 @@ test-docker:
...
@@ -73,8 +73,8 @@ test-docker:
# if automatic stopping failed
# if automatic stopping failed
.PHONY
:
test-docker-stop
.PHONY
:
test-docker-stop
test-docker-stop
:
test-docker-stop
:
docker
kill
caosdb
-mysqlserver-test
docker
kill
linkahead
-mysqlserver-test
docker container
rm
-v
caosdb
-mysqlserver-test
docker container
rm
-v
linkahead
-mysqlserver-test
# Compile the standalone documentation
# Compile the standalone documentation
.PHONY
:
doc
.PHONY
:
doc
...
...
This diff is collapsed.
Click to expand it.
doc/Maintenance.rst
+
2
−
5
View file @
ffed88c0
Maintenance
Maintenance
===========
===========
Creating a Backup
Creating a Backup
-----------------
-----------------
You can use the Python script ``utils/backup.py`` to create a backup (SQL dump)
You can use the Python script ``utils/backup.py`` to create a backup (SQL dump)
of the SQL-Backend::
of the SQL-Backend::
./utils/backup.py -d folder/where/the/backup/is/created
./utils/backup.py -d folder/where/the/backup/is/created
You can do this while
CaosDB
is online.
You can do this while
LinkAhead
is online.
Restoring a Backup
Restoring a Backup
------------------
------------------
CaosDB
should be offline for restoring.
LinkAhead
should be offline for restoring.
You can use the Bash script ``utils/make_db`` to restore a backup (SQL dump)
You can use the Bash script ``utils/make_db`` to restore a backup (SQL dump)
of the SQL-Backend::
of the SQL-Backend::
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment