From 0e5ae2f0d45a39f8a6c440f4d768a179ac1e28d2 Mon Sep 17 00:00:00 2001 From: surtur Date: Thu, 3 Oct 2019 01:15:44 +0200 Subject: [PATCH] simple backup script for nebula configs --- getnebulaconfigs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 getnebulaconfigs diff --git a/getnebulaconfigs b/getnebulaconfigs new file mode 100755 index 0000000..d476535 --- /dev/null +++ b/getnebulaconfigs @@ -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