-
Notifications
You must be signed in to change notification settings - Fork 0
robertrottermann/funtester
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
install_test.py:
----------------
Configure an odoo13 site with a typical fernuni set of modules and users.
tools:
------
backup database:
----------------
create local backup of a database:
backup_local.sh
restore database:
----------------
restore local backup of a database:
restore_local.sh
# copy database
SELECT pg_terminate_backend(pg_stat_activity.pid) FROM pg_stat_activity
WHERE pg_stat_activity.datname = 'fsch_test' AND pid <> pg_backend_pid();
CREATE DATABASE fsch_test_copy WITH TEMPLATE fsch_test OWNER robert;
# refresh db
dropdb fsch_test
createdb fsch_test
gunzip -c fsch_test.zip | psql fsch_test
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published