📖 DOC: Added Volume /var/run/docker.sock
This commit is contained in:
17
README.md
17
README.md
@@ -59,4 +59,19 @@ docker exec -i -e PGPASSWORD=Na21907722 postgresDB pg_dump -U postgres phoenix
|
||||
|
||||
|
||||
|
||||
docker exec -i postgresDB /var/lib/postgresql/data/pg_dump -U postgres phoenix > postgres-backup.sql
|
||||
docker exec -i postgresDB /var/lib/postgresql/data/pg_dump -U postgres phoenix > postgres-backup.sql
|
||||
|
||||
/Users/yurilima/Downloads/mainphx/backup-phoenix/node_modules/@amitbar/pg-dump-restore-node-wrapper/bin/macos/bin/pg_dump
|
||||
|
||||
docker exec -i -e PGPASSWORD=Na21907722 postgresDB pg_dump -U postgres -h localhost -p 5432 -d phoenix -f postgres_2021-01-21_10-00-00.sql
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
docker exec -i -e PGPASSWORD=Na21907722 postgresDB pg_dump -U postgres phoenix > postgres-backup.sql
|
||||
|
||||
chmod +x backup.sh
|
||||
|
||||
/opt/containers/phx/backup.sh
|
||||
|
||||
4
backup.sh
Executable file
4
backup.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Run pg_dump command inside the postgresDB container
|
||||
docker exec -i -e PGPASSWORD=Na21907722 postgresDB pg_dump -U postgres phoenix > postgres-backup.sql
|
||||
4
server_custom/backup.sh
Executable file
4
server_custom/backup.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Run pg_dump command inside the postgresDB container
|
||||
docker exec -i -e PGPASSWORD=Na21907722 postgresDB pg_dump -U postgres phoenix > postgres-backup.sql
|
||||
Reference in New Issue
Block a user