diff options
author | EuAndreh <eu@euandre.org> | 2019-06-02 14:11:49 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-06-02 14:11:49 -0300 |
commit | 3e0f6632d1ff2e283c3bcc4d7bf7bbe410b2ef7e (patch) | |
tree | 4a841e1cc3fab6eb359956e9cc4109a68edab222 /scripts | |
parent | TODOs.org (diff) | |
download | dotfiles-3e0f6632d1ff2e283c3bcc4d7bf7bbe410b2ef7e.tar.gz dotfiles-3e0f6632d1ff2e283c3bcc4d7bf7bbe410b2ef7e.tar.xz |
Remove ad-hoc ~/archive/ rsync from backup
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/backup.sh | 9 |
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" |