Add ayon backup/restore targets to makefile and manage.ps1 (not just by a project)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- docker, docker-compose, postgresql, powershell
- Ambito
- databases, devops, infrastructure
Direzione di ricerca
Inizia confrontando i target esistenti di dump e ripristino del progetto in Makefile e manage.ps1. Esamina i comandi proposti di docker compose pg_dump e psql, insieme ai file elencati storage/, addons/, docker-compose.yml e backup.sql. Il lavoro è completato quando vengono aggiunti target chiaramente denominati per il backup e il ripristino completi del database senza popolarlo con valori predefiniti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Is there an existing issue for this?
- I have searched the existing issues.
Please describe the feature you have in mind and explain what the current shortcomings are?
Complete db backup and restore
How would you imagine the implementation of the feature?
- run
docker compose exec postgres pg_dump -U ayon > backup.sqlto create database dump - copy storage/, addons/, docker-compose.yml and backup.sql to the new machine (and other supporting files)
- run
docker compose up postgreson the new machine to start only the database (if you run the entire stack, it will be populated with defaults, we want to keep it empty for now) - run
docker compose exec -T postgres psql -U ayon ayon < backup.sqlto restore the backup - start everything using docker compose up
Are there any labels you wish to add?
- I have added the relevant labels to the enhancement request.
Describe alternatives you've considered:
No response
Additional context:
keep in mind we already have dump restore targets for projects, so we need to think about names as well
- Lingua principale
- PowerShell
- Stelle
- 60
- Fork
- 51
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ynput/ayon-docker
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
ynput/ayon-docker#42 ·
-
Add multiple languagesAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
ynput/ayon-docker#40 · 1 commento ·
-
Arm64 supportAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
ynput/ayon-docker#28 · 10 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
ynput/ayon-docker#21 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
ynput/ayon-docker#18 · 1 commento · 1 reazione ·
Tutte le issue di ynput/ayon-docker
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
medication_catalog: a name ending in a tab or non-breaking space is a 500 the second time, and a blank name is acceptedForse già presa @ZoliQua l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
snowflakedb/gosnowflake#1872 ·
-
Affects: Data Module: Import Needs: Lead Needs: Triage Theme: Identifiers
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
internetarchive/openlibrary#14882 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
backend bug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
sumamakhan761/tryinstance#59 ·
I maintainer di solito rispondono entro 1 giorno