mirror of
https://github.com/IntenseWebs/dns-backups.git
synced 2024-07-07 04:43:00 -05:00
11 lines
265 B
Bash
11 lines
265 B
Bash
|
#! /bin/bash
|
||
|
|
||
|
cd ~/bind-backups
|
||
|
sudo cp -f /etc/bind/named.* .
|
||
|
sudo cp -f /var/lib/bind/* .
|
||
|
sudo cp -f /etc/resolv.conf .
|
||
|
sudo cp -f /etc/hosts .
|
||
|
sudo cp -f /etc/hostname .
|
||
|
sudo cp -f /etc/network/interfaces .
|
||
|
# scp -f * privacy@sd:/home/privacy/Repos/dns-backups/
|