From bdb5959bb80ebd53be031c2a43c22bd2442f8fa1 Mon Sep 17 00:00:00 2001 From: Cristian Miranda Date: Tue, 30 Jan 2024 11:28:48 -0300 Subject: [PATCH] :wrench: crontab: export esh db dump weekly --- home/.crontab | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/.crontab b/home/.crontab index 206b48e6..66d2f423 100644 --- a/home/.crontab +++ b/home/.crontab @@ -10,3 +10,8 @@ # Backup entire home directory to external drive # @weekly bash $HOME/bin/backup + +# +# Creates a dump of the local ESH Oracle database +# +@weekly docker exec -it esh-db bash -c "source /home/oracle/.bashrc; bash /media/esh-db-dumps/extract-dump.sh > /media/esh-db-dumps/extract-dump.log 2>&1"