PostgreSQL 曜日別バックアップ設定の例

投稿者:

0 6 * * 0 postgres run-parts /home/postgres/db.sun
0 6 * * 1 postgres run-parts /home/postgres/db.mon
0 6 * * 2 postgres run-parts /home/postgres/db.tue
0 6 * * 3 postgres run-parts /home/postgres/db.wed
0 6 * * 4 postgres run-parts /home/postgres/db.thu
0 6 * * 5 postgres run-parts /home/postgres/db.fri
0 6 * * 6 postgres run-parts /home/postgres/db.sat
run-parts 以下のディレクトリにバックアップ実行シェルを配置する

Thank you for reading this post, don't forget to subscribe!