simple backup script for nebula configs

This commit is contained in:
surtur 2019-10-03 01:15:44 +02:00
parent 30cbcbc12a
commit 0e5ae2f0d4
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

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