Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tooling for simplifing the backup and download of db #15

Open
wants to merge 1 commit into
base: v2
Choose a base branch
from

Conversation

sebastienbeau
Copy link
Member

No description provided.

Copy link
Member

@florian-dacosta florian-dacosta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usefull in a lot of project
Useless if some specific case, but I guess it does not worth a copier question

@@ -96,6 +96,8 @@ services:
- ./data/sessions:/data/odoo/sessions
# mount home dir
# - ./.home/.bash_history:/home/odoo/.bash_history
# mount backup directory
- ./backup:/odoo/backup
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we create a new dir at the root of the project or create a generic dir at the root and add backup as subfolder ? @Kev-Roche @hparfr

@@ -0,0 +1,3 @@
#!/bin/bash
rm -f "{{ project_name }}".dump
tsh scp --login=app --proxy=teleport.akretion.com:443 "{{ project_name }}"-ci:/home/app/backup/"{{ project_name }}".dump .
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe get db from pgci ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants