Commit 6f151a822b71324f6237772c160702151b8784e4
1 parent
3effb8f014
Exists in
master
[IMP] ADD install/mondo.sh
Showing 1 changed file with 27 additions and 0 deletions Inline Diff
install/mondo.sh
File was created | 1 | #!/bin/bash | |
2 | |||
3 | # INSTALL mondo on Debian 8 Host .. must be root | ||
4 | |||
5 | cd /tmp | ||
6 | |||
7 | apt-get install wget | ||
8 | |||
9 | wget -q ftp://ftp.mondorescue.org/debian/8/mondorescue.pubkey -O- | apt-key add - | ||
10 | |||
11 | wget -O /etc/apt/sources.list.d/mondorescue.sources.list ftp://ftp.mondorescue.org/debian/8/mondorescue.sources.list | ||
12 | |||
13 | apt-get update | ||
14 | |||
15 | apt-get install mondo nfs-common | ||
16 | |||
17 | mkdir /mnt/data && mount nfs.gjserver.de:/mnt/data /mnt/data | ||
18 | |||
19 | cd ~/ | ||
20 | |||
21 | rm -r /tmp/* | ||
22 | |||
23 | wget -O ./nfsbackup.sh http://git.str8.biz/ecommun/shell/raw/master/helpers/nfsbackup.sh | ||
24 | |||
25 | chmod +x nfsbackup.sh | ||
26 | |||
27 | ./nfsbackup.sh | ||
28 |