Die Struktur geändert um künftig mehrere Server in einem Ruth zu sichern
Change-Id: If82413b0b88b04028459ef329cd3151d38ed7966
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
# Von welchem Server soll ein Backup gemacht werden, Domain oder IP-Adresse
|
||||
REMOTE_HOST='example.com'
|
||||
|
||||
# Mit welchem User soll backup gemacht werden. root ist empfohlen
|
||||
REMOTE_USER='root'
|
||||
|
||||
# Wechle Ordner sollen gesichert werden als BASH-Array z.B. ("/home" "/var/www")
|
||||
FOLDERS=()
|
||||
|
||||
# Wie lange sollen Backups gesichert bleiben z.B. 8W
|
||||
# ==================================================
|
||||
# Remove the incremental backup information in the destination
|
||||
# directory that has been around longer than the given time.
|
||||
# time_spec can be either an absolute time, like "2002-01-04", or
|
||||
# a time interval. The time interval is an integer followed by
|
||||
# the character s, m, h, D, W, M, or Y, indicating seconds, minutes,
|
||||
# hours, days, weeks, months, or years respectively, or a
|
||||
# number of these concatenated. For example, 32m means 32 minutes,
|
||||
# and 3W2D10h7s means 3 weeks, 2 days, 10 hours, and 7 seconds.
|
||||
# In this context, a month means 30 days, a year is 365
|
||||
# days, and a day is always 86400 seconds.
|
||||
DELETE_OLD_FILES='8W'
|
||||
|
||||
# Zu sichernde MySQL-Datenbanken als BASH-Array z.B. ("mail" "piwik" "mybb")
|
||||
# Leere Array () => es werden keine MySQL-Datenbanken gesichert
|
||||
MYSQL_DB=()
|
||||
|
||||
# MySQL User
|
||||
MYSQL_USER='root'
|
||||
|
||||
# MySQL Passwort
|
||||
MYSQL_PASS='secret'
|
||||
|
||||
# Wo auf dem Remote Server soll SQL_Dump abgelegt werden.
|
||||
# Dieser Ordner wird zusammen mit $FOLDERS gesichert
|
||||
MYSQL_DUMP_DIR='/var/backups/sqldump'
|
||||
Reference in New Issue
Block a user