Blame view

install/mondo.sh 556 Bytes
6f151a822   mj   [IMP] ADD install...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  #!/bin/bash
  
  # INSTALL mondo on Debian 8 Host .. must be root
  
  cd /tmp
  
  apt-get install wget
  
  wget -q ftp://ftp.mondorescue.org/debian/8/mondorescue.pubkey -O- | apt-key add -
  
  wget -O /etc/apt/sources.list.d/mondorescue.sources.list ftp://ftp.mondorescue.org/debian/8/mondorescue.sources.list
  
  apt-get update
  
  apt-get install mondo nfs-common
  
  mkdir /mnt/data && mount nfs.gjserver.de:/mnt/data /mnt/data
  
  cd ~/
  
  rm -r /tmp/*
  
  wget -O ./nfsbackup.sh http://git.str8.biz/ecommun/shell/raw/master/helpers/nfsbackup.sh
  
  chmod +x nfsbackup.sh
  
  ./nfsbackup.sh