summaryrefslogtreecommitdiffstats
path: root/.local/bin/vps
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x.local/bin/vps31
1 files changed, 17 insertions, 14 deletions
diff --git a/.local/bin/vps b/.local/bin/vps
index 78cffc2..0a11344 100755
--- a/.local/bin/vps
+++ b/.local/bin/vps
@@ -1,44 +1,47 @@
#!/bin/sh
-serv_addr="root@95.179.223.82"
+serv_addr="95.179.223.82"
# joe-www
-rsync -urvhP --delete-after \
+rsync -rlptDvh --progress --delete-after \
--exclude '.*' \
--exclude 'README.org' \
--exclude 'LICENSE' \
--exclude 'asm-example.cgi' \
"$HOME"/dev/web/joe-www/ \
- $serv_addr:/usr/local/www/jozan
+ root@$serv_addr:/usr/local/www/jozan
# joe-gemini
-rsync -urvhP --delete-after \
+rsync -rlptDvh --progress --delete-after \
--exclude '.*' \
--exclude 'README.org' \
--exclude 'LICENSE' \
"$HOME"/dev/web/joe-gemini/ \
- $serv_addr:/usr/local/gemini
+ root@$serv_addr:/usr/local/gemini
# gitjoe-cgit
-rsync -urvhP \
+rsync -rlptDvh --progress --delete-after \
+ --exclude 'cgit.cgi' \
--exclude '.*' \
--exclude 'README.org' \
--exclude 'LICENSE' \
"$HOME"/dev/web/gitjoe-cgit/ \
- $serv_addr:/usr/local/www/gitjoe
+ root@$serv_addr:/usr/local/www/gitjoe
+rsync -lptDvh --progress \
+ "$HOME"/dev/perl/gitjoe-scripts/git-ro-daemon.csh \
+ git-ro@$serv_addr:/usr/local/git/git-ro
# joe-scripts
-rsync -urvhP --delete-after \
+rsync -rlptDvh --progress --delete-after \
--exclude '.*' \
--exclude 'README.org' \
--exclude 'LICENSE' \
"$HOME"/dev/perl/joe-scripts/ \
- $serv_addr:/root/bin/joe
-
+ root@$serv_addr:/root/bin/joe
# gitjoe-scripts
-rsync -urvhP --delete-after \
+rsync -rlptDvh --progress --delete-after \
--exclude '.*' \
--exclude 'README.org' \
--exclude 'LICENSE' \
"$HOME"/dev/perl/gitjoe-scripts/src/ \
- $serv_addr:/root/bin/gitjoe
+ root@$serv_addr:/root/bin/gitjoe
# backups
-rsync -uvhP "$XDG_CONFIG_HOME"/newsboat/urls $serv_addr:/root/backup/apps/newsboat
-rsync -uvhP "$HOME"/.mozilla/firefox/jozan_privacy.tar.xz $serv_addr:/root/backup/apps/firefox
+rsync -lptDvh --progress "$XDG_CONFIG_HOME"/newsboat/urls root@$serv_addr:/root/backup/apps/newsboat
+rsync -lptDvh --progress "$HOME"/.mozilla/firefox/jozan_privacy.tar.xz root@$serv_addr:/root/backup/apps/firefox