gadasin/backup.sh

3 lines
120 B
Bash
Raw Permalink Normal View History

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