aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xscripts/backup.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/scripts/backup.sh b/scripts/backup.sh
index 7501d1d..739e94c 100755
--- a/scripts/backup.sh
+++ b/scripts/backup.sh
@@ -10,11 +10,6 @@ if [ ! -d ~/UTCLOUD/ ]; then
exit 1
fi
-if [ ! -d ~/archive/ ]; then
- yellow "$HOME/archive/ folder doesn't exist. Downloading latest version from ~/UTCLOUD/archive/ into ~/archive/."
- rsync --verbose --progress --stats --update --recursive ~/UTCLOUD/archive/ ~/archive
-fi
-
if [ ! -d ~/borgbackup/ ]; then
yellow "$HOME/borgbackup/ repository doesn't exist. Downloading latest version from ~/UTCLOUD/borg/borgbackup/ into ~/borgbackup/."
# The initial borg repo was created with:
@@ -58,10 +53,6 @@ git push origin master
popd
green "Done."
-yellow "Syncing ~/archive to ~/UTCLOUD/archive"
-rsync --verbose --progress --stats --update --recursive ~/archive/ ~/UTCLOUD/archive/
-green "Done"
-
yellow "Syncing ~/borgbackup to ~/UTCLOUD/borg/borgbackup/"
rsync --verbose --progress --stats --update --recursive ~/borgbackup/ ~/UTCLOUD/borg/borgbackup/
green "Done"