[Eisfair] [E1] rsnapshot Backup Fragen
Hilmar Böhm
hilmar.boehm at web.de
Mo Feb 26 14:19:19 CET 2018
Hi, vielleicht kann mir jemand bei meinem rsnapshot-Backup helfen.
Habe rsnapshot installiert (Eis-Package Version: 1.00, Programm Version
1.4.2)
Ich wünschte mir eine normale Sicherung nach der GVS-Methode
(Tag/Woche/Monat)
- Im "setup" habe ich lediglich bei den "Backup times and amounts" die
stündlichen Backups auf 2 gesetzt
--> btw. "2" ist der niedrigst mögliche Wert, d.h. gar keine Stündlichen
Sicherungen zu machen geht nicht! Ich brauche z.Zt. keine stündlichen
Sicherungen.
- Den Rest des Setups habe ich unverändert belassen.
Ich füge alle Parameter/Info weiter unten an.
Anmerkung: das Schlüsselwort "intervall" wurde in der Version 1.4.x
durch "retain" ersetzt.
?? Der weekly Job läuft immer nur "mon" (montags), s.u.. Das hat bei mir
heute noch nicht funktioniert, weil daily.6 zu diesem Zeitpunkt noch
nicht da war:
-------------
[2018-02-26T00:30:05] /media/usb/sda1/rsnap/daily.6 not present (yet),
nothing to copy
-------------
Ich hoffe, dass das weekly dann ab nächsten Montag läuft.
?? kann ich, falls die Kapazität des Backup-Mediums droht überschritten
zu werden, einfach das älteste Monthly-Backup löschen?
Vielen Dank für eine Hilfe und Grüße. / Hilmar.
----------------------------------------------------------------------
Anhang:
-------
==>/etc/config.d/rsnapshot
...
#------------------------------------------------------------------------------
# Backup times and amounts
#------------------------------------------------------------------------------
RSNAPSHOT_BACKUPS_PER_DAY='2' # 2, 3, 4, 6, 8 or 12 backups per day
RSNAPSHOT_WEEKLY_BACKUP_DAY='mon' # First three letters of english
weekdays
RSNAPSHOT_MONTHLY_BACKUPS_TO_KEEP='3' # How many month keep backups
...
-------------------------------------------------------------------------------
==>/etc/rsnapshot.conf
...
# backup intervals
interval hourly 2
interval daily 7
interval weekly 4
interval monthly 3
...
-------------------------------------------------------------------------------
==> aus: # crontab -l (in fcrontab stehen die gleichen Jobs/Zeiten)
...
# -------------------------------------------------------
# /var/cron/etc/root/rsnapshot created by /var/install/config.d/rsnapshot.sh
#
# DO NOT EDIT THIS FILE BY HAND! (use eisfair setup!)
#
# Created: 2018-02-19T23:56:58+01:00
# -------------------------------------------------------
0 1,13 * * * /usr/bin/rsnapshot hourly
45 0 * * * /usr/bin/rsnapshot daily
30 0 * * mon /usr/bin/rsnapshot weekly
15 0 1 * * /usr/bin/rsnapshot monthly
#----------------------------------------------------------------------------
...
-------------------------------------------------------------------------------
==> Backup-Dir (Ziel)
total 32
drwxr-xr-x 3 root root 4096 Feb 25 01:10 daily.0
drwxr-xr-x 3 root root 4096 Feb 24 01:05 daily.1
drwxr-xr-x 3 root root 4096 Feb 23 01:04 daily.2
drwxr-xr-x 3 root root 4096 Feb 22 01:12 daily.3
drwxr-xr-x 3 root root 4096 Feb 21 01:02 daily.4
drwxr-xr-x 3 root root 4096 Feb 20 02:12 daily.5
drwxr-xr-x 3 root root 4096 Feb 26 01:04 hourly.0
drwxr-xr-x 3 root root 4096 Feb 25 13:19 hourly.1
-------------------------------------------------------------------------------
Mehr Informationen über die Mailingliste Eisfair