a little, unimportant rewrite
This commit is contained in:
parent
e4693ff82a
commit
b8e925c26c
@ -1,15 +1,17 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# simple config backup script for nebula
|
# simple config backup script for nebula
|
||||||
|
remote="rooot@git.dotya.ml:"
|
||||||
|
myrsync="rsync -auvP"
|
||||||
|
|
||||||
rsync -auvP root@git.dotya.ml:/etc/gitea/app.ini ~/utils/nebula &
|
$myrsync $remote:/etc/gitea/app.ini ~/utils/nebula &
|
||||||
rsync -auvP root@git.dotya.ml:/etc/ssh/sshd_config ~/utils/nebula &
|
$myrsync $remote:/etc/ssh/sshd_config ~/utils/nebula &
|
||||||
rsync -auvP root@git.dotya.ml:/etc/fstab ~/utils/nebula &
|
$myrsync $remote:/etc/fstab ~/utils/nebula &
|
||||||
rsync -auvP root@git.dotya.ml:/etc/crypttab ~/utils/nebula &
|
$myrsync $remote:/etc/crypttab ~/utils/nebula &
|
||||||
rsync -auvP root@git.dotya.ml:/etc/lvm/lvm.conf ~/utils/nebula &
|
$myrsync $remote:/etc/lvm/lvm.conf ~/utils/nebula &
|
||||||
|
|
||||||
rsync -auvP root@git.dotya.ml:/root/.zshrc ~/utils/nebula/root/zshrc
|
$myrsync $remote:/root/.zshrc ~/utils/nebula/root/zshrc
|
||||||
rsync -auvP root@git.dotya.ml:/root/.ssh/ ~/utils/nebula/root/ssh
|
$myrsync $remote:/root/.ssh/ ~/utils/nebula/root/ssh
|
||||||
|
|
||||||
rsync -auvP root@git.dotya.ml:/home/vis/.ssh/ ~/utils/nebula/vis/ssh
|
$myrsync $remote:/home/vis/.ssh/ ~/utils/nebula/vis/ssh
|
||||||
rsync -auvP root@git.dotya.ml:/home/vis/.config/ --exclude="*Bittorrent-data*" ~/utils/nebula/vis/config
|
$myrsync $remote:/home/vis/.config/ --exclude="*Bittorrent-data*" ~/utils/nebula/vis/config
|
||||||
|
Loading…
Reference in New Issue
Block a user