summaryrefslogtreecommitdiffstats
path: root/.local/bin/vps
blob: eef6c7997219014cc3f4656efd53ab96ea42262b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh

serv_addr="root@jozanofastora.xyz"

rsync -urvhP --delete-after \
	  --exclude '.*' \
	  --exclude 'README.org' \
	  "$HOME"/dev/web/jozanofastora.xyz/ \
	  $serv_addr:/usr/local/www/jozan
rsync -urvhP --delete-after \
	  --exclude '.*' \
	  --exclude 'README.org' \
	  --exclude 'users' \
	  "$HOME"/dev/web/gitjoe/ \
	  $serv_addr:/usr/local/www/gitjoe
rsync -urvhP --delete-after \
	  --exclude '.*' \
	  --exclude 'README.org' \
	  "$HOME"/dev/web/jozan_gemini/ \
	  $serv_addr:/usr/local/gemini
rsync -urvhP --delete-after \
	  --exclude '.*' \
	  --exclude 'README.org' \
	  --exclude 'LICENSE' \
	  "$HOME"/dev/perl/serv-scripts/ \
	  $serv_addr:/root/scripts
rsync -urvhP "$HOME/.config/newsboat/urls" $serv_addr:/root/backup/apps/newsboat