-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables_example.txt
70 lines (60 loc) · 2.13 KB
/
variables_example.txt
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#!/usr/bin/env bash
#
# Copyright S. Hesterberg, 2016
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 3, or (at your option) any
# later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; see the file COPYING. If not, write to the
# Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
#
# Author: Scott C. Hesterberg <[email protected]>
#this is an example file of variables nessesary for performing a backup
#file should be named variable.txt
#variables for zfs snapshot backup
#email variables
email=youremail
smtp_server=smtpservername
send_email={yes|no} #send emails from scripts reporting results
send_fail_email={yes|no} #if the above is no would you like to send emails on failure
#backup server variables
backup_server_hostname=backupserverhostname
backup_server=backupzfsserveripordns
backup_pool_name=nameforbackupfileshare
store_backup_fileshare=nameforfilesharetobackupto
#ssh key on backup system for authenticating to system to be backed up
ssh_backup_key=fullpathtosshkeylocation
#storage server properties
store_server_hostname=storeserverhostname
store_server=storagezfsserveripordns
store_pool_name=storepoolname
store_fileshare_name=nameforfileshare
store_vm_fileshare_name=nameforvirtualmachinefileshare
user=username
#################
#dns variables
domain=yourdomainname
nameserver1=nameserverip
nameserver2=nameserverip
#git variables
git_username=gitusername
git_user_email=gituseremail
#vim
vim_author="vim author"
vim_email=vimemail
#rsync variables
backup_share=sharetobebackedupto
backup_mountpoint=mountpointforbackupshare
rsync_exclude=/path/fileofitemstoexcluefrombackup
to_backup=directorytobackup
root_home=/root/*
root_backup_dest=pathtorootbackuplocation