diff --git a/rsync/bin/exclude-Data.txt b/rsync/bin/exclude-Data.txt deleted file mode 100644 index b0918f7..0000000 --- a/rsync/bin/exclude-Data.txt +++ /dev/null @@ -1,15 +0,0 @@ -# Cartelle e file nella partizione Data, da escludere nei backup con rsync - -.Trash-1000/ -lost+found -.vscode-oss/ -fedora/ -imm-disco/ -musica-altro/ -Musica/Downloads/ -Nextcloud/* -SCGP/Immagini/* -Programmazione/*/venv/ -SteamLibrary/ -temp/ -VMs/ diff --git a/rsync/bin/rsync-Backup.sh b/rsync/bin/rsync-Backup.sh deleted file mode 100755 index 7578a3b..0000000 --- a/rsync/bin/rsync-Backup.sh +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/bash - -MNT_POINT='/media/luca/Backup' - -# Partizione "Data" -EXCLUDES=$HOME/bin/exclude-Data.txt -rsync -av --exclude-from=$EXCLUDES /Data/ $MNT_POINT/Data/ - -#rsync -av --mkpath /Data/imm-disco/ $MNT_POINT/imm-disco/ - -# Linux Mint 21 -rsync -av --mkpath --delete $HOME/Scaricati/ $MNT_POINT/Linux_Mint/Scaricati/ -rsync -av --mkpath --delete $HOME/Scrivania/ $MNT_POINT/Linux_Mint/Scrivania/ -## Config files (Git repository) -rsync -av --mkpath --delete $HOME/config-files/ $MNT_POINT/Linux_Mint/config-files/ -## file nascosti -#rsync -av --mkpath $HOME/.thunderbird/ $MNT_POINT/Linux_Mint/.thunderbird/ -#rsync -av --mkpath $HOME/.gnupg/ $MNT_POINT/Linux_Mint/.gnupg/ - -# Fedora KDE -#rsync -av --mkpath --delete $HOME/Scaricati/ $MNT_POINT/Fedora/Scaricati/ -#rsync -av --mkpath --delete $HOME/Scrivania/ $MNT_POINT/Fedora/Scrivania/ -## Config files (Git repository) -#rsync -av --mkpath --delete $HOME/config-files/ $MNT_POINT/Fedora/config-files/ - -# home (generica) -rsync -av --mkpath $HOME/Pubblici/ $MNT_POINT/home/Pubblici/ -rsync -av --mkpath $HOME/Modelli/ $MNT_POINT/home/Modelli/ -## bin -rsync -av --mkpath $HOME/bin/ $MNT_POINT/home/bin/ -rsync -av --mkpath $HOME/.local/bin/ $MNT_POINT/home/.local/bin/ -## file nascosti -rsync -av --mkpath $HOME/.local/share/strawberry/ $MNT_POINT/home/.local/share/strawberry/ -rsync -av --mkpath $HOME/.config/strawberry/ $MNT_POINT/home/.config/strawberry/ -rsync -a --mkpath --delete $HOME/.local/share/TelegramDesktop/ $MNT_POINT/home/.local/share/TelegramDesktop/ -## themes e icons -#rsync -av --mkpath --delete $HOME/.icons/ $MNT_POINT/home/.icons/ -#rsync -av --mkpath --delete $HOME/.themes/ $MNT_POINT/home/.themes/ -## altro -rsync -av --mkpath --delete $HOME/CD-audio/ $MNT_POINT/home/CD-audio/ -## VSCodium extensions -#rsync -a --mkpath --delete $HOME/.vscode-oss/extensions/ $MNT_POINT/home/.vscode-oss/extensions/ -## SSH keys -#rsync -av --mkpath $HOME/.ssh/ $MNT_POINT/home/.ssh/ - -# Argomenti di rsync -# -a = -rlptgoD (no -A -X -U -N -H) -# -r = recursive -# -l = copy symlinks as symlinks -# -p = preserve permissions -# -t = preserve modification times -# -g = preserve group -# -o = preserve owner -# -D = --devices --specials -# --devices = preserve device-files (super-user only) -# --specials = preserve special files diff --git a/rsync/bin/rsync-DRY-RUN-Backup.sh b/rsync/bin/rsync-DRY-RUN-Backup.sh deleted file mode 100755 index fadc58d..0000000 --- a/rsync/bin/rsync-DRY-RUN-Backup.sh +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/bash - -MNT_POINT='/media/luca/Backup' - -# Partizione "Data" -EXCLUDES=$HOME/bin/exclude-Data.txt -rsync -av -n --exclude-from=$EXCLUDES /Data/ $MNT_POINT/Data/ - -#rsync -av --mkpath -n /Data/imm-disco/ $MNT_POINT/imm-disco/ - -# Linux Mint 21 -rsync -av --mkpath -n --delete $HOME/Scaricati/ $MNT_POINT/Linux_Mint/Scaricati/ -rsync -av --mkpath -n --delete $HOME/Scrivania/ $MNT_POINT/Linux_Mint/Scrivania/ -## Config files (Git repository) -rsync -av --mkpath -n --delete $HOME/config-files/ $MNT_POINT/Linux_Mint/config-files/ -## file nascosti -#rsync -av --mkpath -n $HOME/.thunderbird/ $MNT_POINT/Linux_Mint/.thunderbird/ -#rsync -av --mkpath -n $HOME/.gnupg/ $MNT_POINT/Linux_Mint/.gnupg/ - -# Fedora KDE -#rsync -av --mkpath -n --delete $HOME/Scaricati/ $MNT_POINT/Fedora/Scaricati/ -#rsync -av --mkpath -n --delete $HOME/Scrivania/ $MNT_POINT/Fedora/Scrivania/ -## Config files (Git repository) -#rsync -av --mkpath -n --delete $HOME/config-files/ $MNT_POINT/Fedora/config-files/ - -# home (generica) -rsync -av --mkpath -n $HOME/Pubblici/ $MNT_POINT/home/Pubblici/ -rsync -av --mkpath -n $HOME/Modelli/ $MNT_POINT/home/Modelli/ -## bin -rsync -av --mkpath -n $HOME/bin/ $MNT_POINT/home/bin/ -rsync -av --mkpath -n $HOME/.local/bin/ $MNT_POINT/home/.local/bin/ -## file nascosti -rsync -av --mkpath -n $HOME/.local/share/strawberry/ $MNT_POINT/home/.local/share/strawberry/ -rsync -av --mkpath -n $HOME/.config/strawberry/ $MNT_POINT/home/.config/strawberry/ -rsync -a --mkpath -n --delete $HOME/.local/share/TelegramDesktop/ $MNT_POINT/home/.local/share/TelegramDesktop/ -## themes e icons -#rsync -av --mkpath -n --delete $HOME/.icons/ $MNT_POINT/home/.icons/ -#rsync -av --mkpath -n --delete $HOME/.themes/ $MNT_POINT/home/.themes/ -## altro -rsync -av --mkpath -n --delete $HOME/CD-audio/ $MNT_POINT/home/CD-audio/ -## VSCodium extensions -#rsync -a --mkpath -n --delete $HOME/.vscode-oss/extensions/ $MNT_POINT/home/.vscode-oss/extensions/ -## SSH keys -#rsync -av --mkpath -n $HOME/.ssh/ $MNT_POINT/home/.ssh/ - -# Argomenti di rsync -# -a = -rlptgoD (no -A -X -U -N -H) -# -r = recursive -# -l = copy symlinks as symlinks -# -p = preserve permissions -# -t = preserve modification times -# -g = preserve group -# -o = preserve owner -# -D = --devices --specials -# --devices = preserve device-files (super-user only) -# --specials = preserve special files diff --git a/rsync/bin/rsync-DRY-RUN-HDD-1.sh b/rsync/bin/rsync-DRY-RUN-HDD-1.sh deleted file mode 100755 index fd5a2b0..0000000 --- a/rsync/bin/rsync-DRY-RUN-HDD-1.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -MNT_POINT='/media/luca/HDD-1' - -rsync -av -n --mkpath /Data/temp/ $MNT_POINT/temp/ - -# Audio e Video -MULTIMEDIA=$MNT_POINT/Multimedia -rsync -av -n --mkpath /Data/Immagini/ $MULTIMEDIA/Immagini/ -rsync -av -n --mkpath --delete /Data/Musica/ $MULTIMEDIA/Musica/ -rsync -av -n --mkpath /home/luca/CD-audio/ $MULTIMEDIA/musica-altro/CD-audio/ -rsync -av -n --mkpath /Data/Podcast/ $MULTIMEDIA/Podcast/ -rsync -av -n --mkpath /Data/Video/ $MULTIMEDIA/Video/ - -# Documenti e altro -DOCS=$MNT_POINT/Documenti_e_altro -rsync -av -n --mkpath /Data/Libri/ $DOCS/Libri/ - diff --git a/rsync/bin/rsync-HDD-1.sh b/rsync/bin/rsync-HDD-1.sh deleted file mode 100755 index efb3ea9..0000000 --- a/rsync/bin/rsync-HDD-1.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -MNT_POINT='/media/luca/HDD-1' - -rsync -av --mkpath /Data/temp/ $MNT_POINT/temp/ - -# Audio e Video -MULTIMEDIA=$MNT_POINT/Multimedia -rsync -av --mkpath /Data/Immagini/ $MULTIMEDIA/Immagini/ -rsync -av --mkpath --delete /Data/Musica/ $MULTIMEDIA/Musica/ -rsync -av --mkpath /home/luca/CD-audio/ $MULTIMEDIA/musica-altro/CD-audio/ -rsync -av --mkpath /Data/Podcast/ $MULTIMEDIA/Podcast/ -rsync -av --mkpath /Data/Video/ $MULTIMEDIA/Video/ - -# Documenti e altro -DOCS=$MNT_POINT/Documenti_e_altro -rsync -av --mkpath /Data/Libri/ $DOCS/Libri/ - diff --git a/rsync/bin/rsync-Musica-linuxmint.sh b/rsync/bin/rsync-Musica-linuxmint.sh deleted file mode 100755 index 7c87ff3..0000000 --- a/rsync/bin/rsync-Musica-linuxmint.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -MNT_POINT='/media/luca/LUCA-32GB' - -rsync -av -n --delete --exclude "Downloads" /Data/Musica/ $MNT_POINT/Musica/ - -# -a = -rlptgoD (no -A -X -U -N -H) -# -r = recursive -# -l = copy symlinks as symlinks -# -p = preserve permissions -# -t = preserve modification times -# -g = preserve group -# -o = preserve owner -# -D = --devices --specials -# --devices = preserve device-files (super-user only) -# --specials = preserve special files diff --git a/rsync/bin/rsync-Scheda-SD.sh b/rsync/bin/rsync-Scheda-SD.sh deleted file mode 100644 index a67d5fc..0000000 --- a/rsync/bin/rsync-Scheda-SD.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -rsync -av --delete --exclude "Downloads" /Data/Musica/ /run/media/luca/SD-CARD/Musica/