From 493609f498865d3a8d213999d8936eb42bde6c79 Mon Sep 17 00:00:00 2001
From: RP1 <bla@example.com>
Date: Tue, 4 Feb 2025 21:28:11 +0100
Subject: [PATCH] finished 1.0 Backup/Restore script

---
 backup-raveos.sh | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/backup-raveos.sh b/backup-raveos.sh
index 96f95d8..ba67ed2 100644
--- a/backup-raveos.sh
+++ b/backup-raveos.sh
@@ -34,7 +34,7 @@ fi
 if [[ $user_choice = *"BACKUP All of My Data and Settings"* ]]; then
   echo
   echo -----------------------------------------------------
-  echo Copying ${bold}${yellow}$USER settings${normal} into ${bold}${yellow}$FOLDER/${normal}
+  echo Copying ${bold}${yellow}$USER Settings and Files${normal} into ${bold}${yellow}$FOLDER/${normal}
 
   # GNOME SECTION
   dconf dump / > $FOLDER/$USER-ui
@@ -88,7 +88,7 @@ if [[ $user_choice = *"BACKUP All of My Data and Settings"* ]]; then
   rsync -ap --info=progress2 --relative /home/$USER/.config/pamac $FOLDER/.config/
   rsync -ap --info=progress2 --relative /home/$USER/.config/kdeconnect $FOLDER/.config/
   rsync -ap --info=progress2 --relative /home/$USER/.config/Helvum $FOLDER/.config/
-  rsync -ap --info=progress2 --relative /home/$USER/.config/ $FOLDER/.config/
+  rsync -ap --info=progress2 --relative /home/$USER/.config/calibre $FOLDER/.config/
   rsync -ap --info=progress2 --relative /home/$USER/.config/ $FOLDER/.config/
   rsync -ap --info=progress2 --relative /home/$USER/.local/share/gnome-shell $FOLDER/.local/share
   rsync -ap --info=progress2 --relative /home/$USER/.local/share/flatpak/overrides/ $FOLDER/.local/share/flatpak/
@@ -103,7 +103,7 @@ if [[ $user_choice = *"BACKUP All of My Data and Settings"* ]]; then
   rsync -ap --info=progress2 --relative /home/$USER/.config/konsave $FOLDER/.config/
   rsync -ap --info=progress2 --relative /home/$USER/.local/state/dolphinstaterc $FOLDER/.local/state/
 
-  echo ${bold}${yellow}$USER settings${normal} copied.
+  echo ${bold}${yellow}$USER settings copied. ${normal}
   echo -----------------------------------------------------
   sudo chown -R $USER:$GROUP $FOLDER
   echo
@@ -112,16 +112,16 @@ fi
 if [[ $user_choice = *"Restore all of my data and settings"* ]]; then
   echo
   echo -----------------------------------------------------
-  echo Copying ${bold}${yellow}Mozilla settings${normal} into ${bold}${yellow}$FOLDER/${normal}
+  echo Copying ${bold}${yellow}Restoring $USER Settings and Files ${normal} into ${bold}${yellow}$FOLDER/${normal}
   
-  sudo rsync -ap --info=progress2 $FOLDER /home/$USER
-  sudo rsync -ap --info=progress2 --relative /etc/libvirt $FOLDER/etc/
-  sudo rsync -ap --info=progress2 --relative /usr/share/jellyfin/web/config.json $FOLDER/usr/share/jellyfin/web/
+  rsync -ap --info=progress2 $FOLDER /home/$USER/
+  sudo rsync -ap --info=progress2 $FOLDER/etc/libvirt /etc/
+  sudo rsync -ap --info=progress2 --relative $FOLDER/usr/share/jellyfin/web/config.json /usr/share/jellyfin/web/
 
-  echo ${bold}${yellow}Mozilla settings${normal} copied.
   echo -----------------------------------------------------
-  sudo chown -R $USER:$GROUP /home/$USER
+  sudo chown -R $USER:$GROUP /home/$USER/
   echo
+  echo ${bold}${yellow}$USER settings RESTORED! ${normal}
 fi
 
-exit 1
\ No newline at end of file
+exit
\ No newline at end of file