simple backup script for nebula configs
This commit is contained in:
parent
30cbcbc12a
commit
0e5ae2f0d4
15
getnebulaconfigs
Executable file
15
getnebulaconfigs
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
# simple config backup script for nebula
|
||||
|
||||
rsync -auvP root@git.dotya.ml:/etc/gitea/app.ini ~/utils/nebula &
|
||||
rsync -auvP root@git.dotya.ml:/etc/ssh/sshd_config ~/utils/nebula &
|
||||
rsync -auvP root@git.dotya.ml:/etc/fstab ~/utils/nebula &
|
||||
rsync -auvP root@git.dotya.ml:/etc/crypttab ~/utils/nebula &
|
||||
rsync -auvP root@git.dotya.ml:/etc/lvm/lvm.conf ~/utils/nebula &
|
||||
|
||||
rsync -auvP root@git.dotya.ml:/root/.zshrc ~/utils/nebula/root/zshrc
|
||||
rsync -auvP root@git.dotya.ml:/root/.ssh/ ~/utils/nebula/root/ssh
|
||||
|
||||
rsync -auvP root@git.dotya.ml:/home/vis/.ssh/ ~/utils/nebula/vis/ssh
|
||||
rsync -auvP root@git.dotya.ml:/home/vis/.config/ ~/utils/nebula/vis/config
|
Loading…
Reference in New Issue
Block a user