2 lines
124 B
Bash
2 lines
124 B
Bash
#!/bin/bash
|
|
su postgres -s /bin/bash -lc "pg_dump -d pleroma --format=custom > /saves/pleroma-`date +%Y-%m-%d-%H-%M`.pgdump" |