Re: [Fwd: rsnapshot. conf anpassen, brauche hier Hilfe]

2006-05-25 Diskussionsfäden Christian Brabandt
Hallo Klaus!

Klaus Ponnath schrieb am Dienstag, den 23. Mai 2006:

 ich muß mir die rsnapshot.conf anpassen, ich blicke aber da nicht so
 richtig durch, mein englisch ist nicht gut genug dafür, folgendes
 Szenario möchte ich einrichten:

Hilft Dir [1] weiter?


  1. http://www.wb-it.de/linux-tipps-und-tricks/backups-mit-rsnapshot.html

Grüße,
Christian
-- 
Je mehr ein Mann weiß und je weiter er reist, desto wahrscheinlicher
wird es, daß er einmal ein Mädchen vom Lande heiratet.
-- George Bernard Shaw


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: [Fwd: rsnapshot. conf anpassen, brauche hier Hilfe]

2006-05-25 Diskussionsfäden Klaus Ponnath
Hallo Andreas,

Du hast ja recht, es sieht alles sehr einfach aus, aber gebranntes Kind
scheut das Feuer, ich habe schon des öfteren bei solchen Dateien
aufgrund  der Einstellung es wird schon nichts passieren mein System
kaputt gemacht, des wegen frage ich immer besser nochmals nach, danke
Dir für die Hilfe und auch der Link von Christian war äuserst hilfreich.

Grüße Klaus

 On 23.05.06 17:03:11, Klaus Ponnath wrote:
  ich muß mir die rsnapshot.conf anpassen, ich blicke aber da nicht so
  richtig durch, mein englisch ist nicht gut genug dafür, folgendes
  Szenario möchte ich einrichten:
 
 Huh?  Das versteh ich nicht so ganz. Aber wenn du meinst.
 
  Sicherung des /home/klaus wöchentlich, die Sicherung soll auf /dev/hda2
  erfolgen.
  
  Hier die Datei:
 
 Das ist IMHO unhoeflich, denn
 
 1. Die Leute die rsnapshot wissen koennen dir genau die notwendigen
 Konfig-Zeilen sagen
 2. Haettest du wenigstens die Kommentare entfernen koennen
 
 Ansonsten ist das ja alles schon vorbereitet, wenn ich mich nicht irre.
 Du musst nur noch sagen was du sichern willst und wann.
 
  #interval   hourly  6
  #interval   daily   7
  #interval   weekly  4
 
 Diesen Eintrag entkommentieren (also die # entfernen)
 
  ###
  ### BACKUP POINTS / SCRIPTS ###
  ###
  
  # LOCALHOST
  backup  /home/  localhost/
 
 Und da willst du dann noch klaus/ dahinterhaengen.
 
  backup  /etc/   localhost/
  backup  /usr/local/ localhost/
 
 Diese Eintraege kannst du dann wohl entfernen.
 
 Also ganz ehrlich, selbst mit minimalen Englischkentnissen kriegt man
 wohl raus das man diese Teile aendern muss, IMHO.
 
 Andreas
 
 -- 
 You will have long and healthy life.
 
 


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



[Fwd: rsnapshot. conf anpassen, brauche hier Hilfe]

2006-05-23 Diskussionsfäden Klaus Ponnath
Hallo Lister,

ich muß mir die rsnapshot.conf anpassen, ich blicke aber da nicht so
richtig durch, mein englisch ist nicht gut genug dafür, folgendes
Szenario möchte ich einrichten:

Sicherung des /home/klaus wöchentlich, die Sicherung soll auf /dev/hda2
erfolgen.

Hier die Datei:

#
# rsnapshot.conf - rsnapshot configuration file #
#
#   #
# PLEASE BE AWARE OF THE FOLLOWING RULES:   #
#   #
# This file requires tabs between elements  #
#   #
# Directories require a trailing slash: #
#   right: /home/   #
#   wrong: /home#
#   #
#

###
# CONFIG FILE VERSION #
###

config_version  1.2

###
# SNAPSHOT ROOT DIRECTORY #
###

# All snapshots will be stored under this root directory.
#snapshot_root  /var/cache/rsnapshot/
snapshot_root /media/hda2

# If no_create_root is enabled, rsnapshot will not automatically create
the
# snapshot_root directory. This is particularly useful if you are
backing
# up to removable media, such as a FireWire drive.
#
#no_create_root 1

#
# EXTERNAL PROGRAM DEPENDENCIES #
#

# LINUX USERS:   Be sure to uncomment cmd_cp. This gives you extra
features.
# EVERYONE ELSE: Leave cmd_cp commented out for compatibility.
#
# See the README file or the man page for more details.
#
cmd_cp  /bin/cp

# uncomment this to use the rm program instead of the built-in perl
routine.
cmd_rm  /bin/rm

# rsync must be enabled for anything to work.
cmd_rsync   /usr/bin/rsync

# Uncomment this to enable remote ssh backups over rsync.
cmd_ssh /usr/bin/ssh

# Comment this out to disable syslog support.
cmd_logger  /usr/bin/logger

# Uncomment this to specify a path to du for disk usage checks.
cmd_du  /usr/bin/du

#
#   BACKUP INTERVALS#
# Must be unique and in ascending order #
# i.e. hourly, daily, weekly, etc.  #
#

# The interval names (hourly, daily, ...) are just names and have no
influence
# on the length of the interval. The numbers set the number of snapshots
to
# keep for each interval (hourly.0, hourly.1, ...). 
# The length of the interval is set by the time between two executions
of
# rsnapshot interval name, this is normally done via cron.
# Feel free to adapt the names, and the sample cron file
under /etc/cron.d/rsnapshot
# to your needs. The only requirement is that the intervals must be
listed
# in ascending order. To activate just uncomment the entries.

#interval   hourly  6
#interval   daily   7
#interval   weekly  4
#interval   monthly 6


#  GLOBAL OPTIONS  #
# All are optional, with sensible defaults #


# If your version of rsync supports --link-dest, consider enable this.
# This is the best way to support special files (FIFOs, etc)
cross-platform.
# The default is 0 (off).
# In Debian GNU cp is available which is superior to link_dest, so it
should be
# commented out (disabled).
#
#link_dest  0

# Verbose level, 1 through 5.
# 1Quiet   Print fatal errors only
# 2Default Print errors and warnings only
# 3Verbose Show equivalent shell commands being executed
# 4Extra Verbose   Show extra verbose information
# 5Debug mode  More than you care to know
#
verbose 2

# Same as verbose above, but controls the amount of data sent to the
# logfile, if one is being used. The default is 3.
loglevel3

# If you enable this, data will be written to the file you specify. The
# amount of data written is controlled by the loglevel parameter.
logfile /var/log/rsnapshot.log

# The include and exclude parameters, if enabled, simply get passed
directly
# to rsync. If you have multiple include/exclude patterns, put each one
on a
# seperate line. Please look up the --include and --exclude options in
the
# rsync man page for more details. 
# 
#include???
#include???
#exclude???
#exclude???

# The include_file and exclude_file parameters, if enabled, simply get
# passed directly to rsync. Please look up the --include-from and
# --exclude-from options in the rsync man page for more details.
#
#include_file   /path/to/include/file
#exclude_file   /path/to/exclude/file

# Default rsync args. All rsync commands have at least these options
set.
#
#rsync_short_args   -a
#rsync_long_args--delete 

Re: [Fwd: rsnapshot. conf anpassen, brauche hier Hilfe]

2006-05-23 Diskussionsfäden Andreas Pakulat
On 23.05.06 17:03:11, Klaus Ponnath wrote:
 ich muß mir die rsnapshot.conf anpassen, ich blicke aber da nicht so
 richtig durch, mein englisch ist nicht gut genug dafür, folgendes
 Szenario möchte ich einrichten:

Huh?  Das versteh ich nicht so ganz. Aber wenn du meinst.

 Sicherung des /home/klaus wöchentlich, die Sicherung soll auf /dev/hda2
 erfolgen.
 
 Hier die Datei:

Das ist IMHO unhoeflich, denn

1. Die Leute die rsnapshot wissen koennen dir genau die notwendigen
Konfig-Zeilen sagen
2. Haettest du wenigstens die Kommentare entfernen koennen

Ansonsten ist das ja alles schon vorbereitet, wenn ich mich nicht irre.
Du musst nur noch sagen was du sichern willst und wann.

 #interval hourly  6
 #interval daily   7
 #interval weekly  4

Diesen Eintrag entkommentieren (also die # entfernen)

 ###
 ### BACKUP POINTS / SCRIPTS ###
 ###
 
 # LOCALHOST
 backup/home/  localhost/

Und da willst du dann noch klaus/ dahinterhaengen.

 backup/etc/   localhost/
 backup/usr/local/ localhost/

Diese Eintraege kannst du dann wohl entfernen.

Also ganz ehrlich, selbst mit minimalen Englischkentnissen kriegt man
wohl raus das man diese Teile aendern muss, IMHO.

Andreas

-- 
You will have long and healthy life.


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)