Add echo statements for readability

This commit is contained in:
Roger Gonzalez 2024-12-23 12:22:06 -03:00
parent cb849cae2e
commit 6c63d02746
Signed by: rogs
GPG Key ID: C7ECE9C6C36EC2E6

3
yams
View File

@ -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