updates to nebula config hoarder script
This commit is contained in:
parent
f721da8dcb
commit
443fb031bf
@ -1,17 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
# simple config backup script for nebula
|
||||
remote="root@git.dotya.ml"
|
||||
remote="root@dotya.ml"
|
||||
myrsync="rsync -auvP"
|
||||
|
||||
$myrsync $remote:/etc/gitea/app.ini ~/utils/nebula &
|
||||
$myrsync $remote:/etc/nginx/nginx.conf ~/utils/nebula &
|
||||
$myrsync $remote:/etc/smtpd/{smtpd.conf,mailname,aliases,vdoms,vusers,creds} ~/utils/nebula/smtpd &
|
||||
$myrsync $remote:/etc/ssh/sshd_config ~/utils/nebula &
|
||||
$myrsync $remote:/etc/fstab ~/utils/nebula &
|
||||
$myrsync $remote:/etc/crypttab ~/utils/nebula &
|
||||
$myrsync $remote:/etc/lvm/lvm.conf ~/utils/nebula &
|
||||
|
||||
$myrsync $remote:/root/.zshrc ~/utils/nebula/root/zshrc
|
||||
$myrsync $remote:/root/.ssh/ ~/utils/nebula/root/ssh
|
||||
$myrsync $remote:/root/.zshrc ~/utils/nebula/root/zshrc &
|
||||
$myrsync $remote:/root/.ssh/ ~/utils/nebula/root/ssh &
|
||||
|
||||
$myrsync $remote:/home/vis/.ssh/ ~/utils/nebula/vis/ssh
|
||||
$myrsync $remote:/home/vis/.config/ --exclude="*Bittorrent-data*" ~/utils/nebula/vis/config
|
||||
$myrsync $remote:/home/vis/.ssh/ ~/utils/nebula/vis/ssh &
|
||||
$myrsync $remote:/home/vis/.config/ --exclude="*Bittorrent-data*" ~/utils/nebula/vis/config &
|
||||
|
Loading…
Reference in New Issue
Block a user