From 6c63d02746bba02f15c885812abb4f907be696ab Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Mon, 23 Dec 2024 12:22:06 -0300 Subject: [PATCH] Add echo statements for readability --- yams | 3 +++ 1 file changed, 3 insertions(+) diff --git a/yams b/yams index 951e2c5..4893ba1 100755 --- a/yams +++ b/yams @@ -121,6 +121,7 @@ fi if [ "$option" == "backup" ]; then echo "Stopping YAMS services..." $dc stop > /dev/null 2>&1 + echo echo "Backing up YAMS to $destination..." echo "This may take a while depending on the size of your installation." @@ -132,11 +133,13 @@ if [ "$option" == "backup" ]; then cp $(which yams) $install_directory tar --exclude='transcoding-temp' -caf "$backup_file" -C "$install_directory" . + echo echo "Backup completed! 🎉" echo "Starting YAMS services..." $dc start > /dev/null 2>&1 + echo send_success_message "Backup completed successfully! 🎉" echo "Backup file: $backup_file" fi