boobo94 / customenu

Customenu - Help your customers find dishes more easily. Throw away your classic menu, forget about the hard-to-use pdf menu and digitize your restaurant with a customized solution.
11 stars 1 forks source link

Set backup for db #33

Closed boobo94 closed 2 years ago

boobo94 commented 2 years ago

https://stackoverflow.com/questions/24718706/backup-restore-a-dockerized-postgresql-database

boobo94 commented 2 years ago
docker exec -t customenu-database pg_dumpall -c -U customenu_user > dump_`date +%d-%m-%Y"_"%H_%M_%S`.sql

docker exec -t customenu-database pg_dumpall -c -U customenu_user | gzip > ./dump_$(date +"%Y-%m-%d_%H_%M_%S").gz
boobo94 commented 2 years ago

https://docs.ceph.com/en/latest/radosgw/s3/objectops/

boobo94 commented 2 years ago

Configured with linodecli https://www.linode.com/docs/products/storage/object-storage/guides/linode-cli#install-and-configure-the-cli