From 0d1e0f22efcac59eeb5f5edc599ac1ee96140262 Mon Sep 17 00:00:00 2001 From: RP1 Date: Wed, 12 Feb 2025 08:35:31 +0100 Subject: [PATCH] some bug fixes --- backup-raveos.sh | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/backup-raveos.sh b/backup-raveos.sh index 13e6663..f755dff 100644 --- a/backup-raveos.sh +++ b/backup-raveos.sh @@ -40,6 +40,7 @@ if [[ $user_choice = *"BACKUP All of My Data and Settings"* ]]; then rsync -ap --info=progress2 /home/$USER/Games $FOLDER rsync -ap --info=progress2 /home/$USER/.librewolf $FOLDER 2>/dev/null rsync -ap --info=progress2 /home/$USER/.steam $FOLDER 2>/dev/null + mkdir -p $FOLDER/.config rsync -ap --info=progress2 /home/$USER/.config/Bitwarden $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/heroic $FOLDER/.config 2>/dev/null @@ -73,17 +74,20 @@ if [[ $user_choice = *"BACKUP All of My Data and Settings"* ]]; then rsync -ap --info=progress2 /home/$USER/.config/kdeconnect $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/Helvum $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/calibre $FOLDER/.config 2>/dev/null - #mkdir -p $FOLDER/.local/share/ - rsync -ap --info=progress2 --relative /home/$USER/.local/share/gnome-shell $FOLDER/.local/share 2>/dev/null + + mkdir -p $FOLDER/.local/share/ + rsync -ap --info=progress2 /home/$USER/.local/share/gnome-shell $FOLDER/.local/share 2>/dev/null rsync -ap --info=progress2 /home/$USER/.local/share/flatpak/overrides/ $FOLDER/.local/share/flatpak 2>/dev/null rsync -ap --info=progress2 /home/$USER/.local/share/lutris $FOLDER/.local/share 2>/dev/null rsync -ap --info=progress2 /home/$USER/.local/share/TelegramDesktop $FOLDER/.local/share 2>/dev/null + mkdir -p $FOLDER/.var/app/ - rsync -ap --info=progress2 --relative /home/$USER/.var/app/ $FOLDER/.var/app 2>/dev/null + rsync -ap --info=progress2 /home/$USER/.var/app/ $FOLDER/.var/app 2>/dev/null - sudo rsync -ap --info=progress2 --relative /etc/libvirt $FOLDER 2>/dev/null + mkdir $FOLDER/etc/ + sudo rsync -ap --info=progress2 /etc/libvirt $FOLDER 2>/dev/null - sudo rsync -ap --info=progress2 --relaitve /usr/share/jellyfin/web/config.json $FOLDER 2>/dev/null + sudo rsync -ap --info=progress2 /usr/share/jellyfin/web/config.json $FOLDER 2>/dev/null if [[ $Locale == LANG=hu_HU.UTF-8 ]]; then echo ${bold}${yellow}Hungarian Language detected.${normal} @@ -131,7 +135,7 @@ if [[ $user_choice = *"Restore all of my data and settings"* ]]; then echo Copying ${bold}${yellow}Restoring $USER Settings and Files ${normal} into ${bold}${yellow}$FOLDER/${normal} sudo rsync -ap --info=progress2 $FOLDER/etc/libvirt /etc/ - sudo rsync -ap --info=progress2 $FOLDER/usr/share/jellyfin/web/config.json /usr/share/jellyfin/web/ + sudo rsync -ap --info=progress2 $FOLDER/config.json /usr/share/jellyfin/web/ rsync -ap --info=progress2 $FOLDER /home/$USER/ if [[ $Desktop == GNOME ]]; then