initial commit

This commit is contained in:
behruz-dev
2025-11-21 16:05:30 +05:00
commit cb0cdfde26
17 changed files with 569 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
file=/tmp/db-$(/usr/bin/date +\%Y-%m-%d-%H:%M:%S).sql
container=postgres
/usr/bin/docker container exec $container pg_dump -U postgres django > $file
mc cp $file b2/buket-name
rm $file