3 lines
89 B
Bash
3 lines
89 B
Bash
#!/bin/sh
|
|
su - pgsql -c "~/bin/pg_dump -C syshost > /user/dump/pgsql_`date +%Y%m%d`.sql"
|