summaryrefslogtreecommitdiffstats
path: root/.local/bin/vps
blob: 2828ed1497341e142d8da2bf9a2400639d8082eb (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
28
29
30
31
32
33
34
35
#!/bin/sh

serv_addr="root@jozanofastora.xyz"

# jozanofastora-www
rsync -urvhP --delete-after \
	  --exclude '.*' \
	  --exclude 'README.org' \
	  --exclude 'LICENSE' \
	  --exclude 'asm-example.cgi' \
	  "$HOME"/dev/web/jozanofastora-www/ \
	  $serv_addr:/usr/local/www/jozan
# gitjoe-cgit
rsync -urvhP \
	  --exclude '.*' \
	  --exclude 'README.org' \
	  --exclude 'LICENSE' \
	  "$HOME"/dev/web/gitjoe-cgit/ \
	  $serv_addr:/usr/local/www/gitjoe
# jozanofastora-gemini
rsync -urvhP --delete-after \
	  --exclude '.*' \
	  --exclude 'README.org' \
	  --exclude 'LICENSE' \
	  "$HOME"/dev/web/jozanofastora-gemini/ \
	  $serv_addr:/usr/local/gemini
# jozanofastora-scripts
rsync -urvhP --delete-after \
	  --exclude '.*' \
	  --exclude 'README.org' \
	  --exclude 'LICENSE' \
	  "$HOME"/dev/perl/jozanofastora-scripts/ \
	  $serv_addr:/root/scripts
# backups
rsync -urvhP "$HOME/.config/newsboat/urls" $serv_addr:/root/backup/apps/newsboat