gadasin/backup.sh

3 lines
113 B
Bash
Raw Normal View History

2024-12-19 01:16:37 +03:00
docker exec d4dd199a4566 pg_dump -U postgres postgres > $(pwd)/backups/$(date -d "today" +"%Y-%m-%d-%H-%M").sql