$ sudo su - postgres
$ psql -U postgres -W
$ \list
$ \q
$ exit
$ ./main.sh Name_DB_for_create_dump
$ crontab -e
add line
0 23 * * * /bin/bash -l -c 'cd /home/deployer/backup_psql && ./main.sh Name_DB_for_create_dump'
err!!!
$ ./psql_dump_script.sh Name_DB_for_create_dump &>> log/psql_dump_script_log.log
log!!!
$ ./psql_dump_script.sh >> log/psql_dump_script_log.log
#TODO
- Add size dump to log