Skip to content

Commit

Permalink
workflows.org backup symlinks with rsync
Browse files Browse the repository at this point in the history
  • Loading branch information
tgbugs committed Dec 13, 2023
1 parent 186507f commit e209aa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/workflows.org
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ pushd /var/www/sparc/sparc/
*** elsewhere
#+begin_src bash
pushd /path/to/backup
rsync -z -v -r -e ssh cassava:/var/www/sparc sparc-$(date -I)
rsync -z -v -r --links -e ssh cassava:/var/www/sparc sparc-$(date -I)
# export is big, so probably only keep two of these around, current and previous, copy current locally and then rsync into it again
rsync -z -v -r -e ssh cassava-sparc:/var/lib/sparc/.local/share/sparcur/export sparcur-export-$(date -I)
rsync -z -v -r --links -e ssh cassava-sparc:/var/lib/sparc/.local/share/sparcur/export sparcur-export-$(date -I)
#+end_src

#+begin_src bash
Expand Down

0 comments on commit e209aa0

Please sign in to comment.