Backupspace von 1und1

Backup, Restore und Transfer von Daten
bauer25
Posts: 17
Joined: 2003-09-04 14:35
 

Backupspace von 1und1

Post by bauer25 »

Hallo,
seit einigen Wochen funktioniert der Backupspace von 1und1 sehr unzuverlässig.
Reoback gibt immer wieder neue Fehlermeldungen aus.
Hat noch jemand so ein Problem?

Gruss
Christoph
lufthansen
Posts: 390
Joined: 2002-09-24 17:31
Location: NRW
 

Re: Backupspace von 1und1

Post by lufthansen »

habe ich auch.
vllt mal ganz intressant :;)
http://217.160.191.12/cgi-bin/smokeping ... ftp_backup
ryukia
Posts: 58
Joined: 2004-07-16 14:40
Location: Karlsruhe
 

Re: Backupspace von 1und1

Post by ryukia »

LuftHansen wrote:habe ich auch.
vllt mal ganz intressant :;)
http://217.160.191.12/cgi-bin/smokeping ... ftp_backup
D.h. man macht das Backup besser tagsüber, zumindest den Transfer auf den Backupspace *g*

Aber es gab auch so Probleme mit dem Backupspace. Bei einem Teil der Alturo (und auch 1&1)-Kunden war der Backspace ne Woche lang überhaupt nicht erreichbar. Erst konnte der FTP-Server nicht ins Homeverzeichnis wechseln, dann war der Backupspace ne Zeit lang nur r/o gemounted... Seit ein paar Tagen funktioniert aber alles wieder.

Ciao
Ryukia
Anonymous
 

Re: Backupspace von 1und1

Post by Anonymous »

wie realisiert ihr euer backup bei 1und1 mit dem backupspace?
lambras
Posts: 90
Joined: 2002-05-29 16:35
Location: Frankfurt am Main
 

Re: Backupspace von 1und1

Post by lambras »

#Cron Backups
37 4 * * * root nice -19 /usr/sbin/backup-manager --no-upload > /dev/null 2>&1
13 5 * * * root nice -19 /usr/sbin/backup-manager -c /etc/backup-manager-mysql.conf --no-upload > /dev/null 2>&1
47 5 * * * root nice -19 /usr/local/bin/sitecopy -u backup --quiet > /dev/null 2>&1
backup-manager packt von mir ausgewählte Verzeichnisse in tar.bz2 auf lokal /backup.
das gleiche mit ausgeqählten SQL-Datenbanken (das script macht im Endeffekt einen mysqldump).
Sitecopy synchronisiert lokal /backup mit dem remote ftp.

Configfiles kann ich gerne posten, wenn Interesse, die sind nicht geheim. :)
blnsnoopy26
Posts: 660
Joined: 2002-10-19 14:01
 

Re: Backupspace von 1und1

Post by blnsnoopy26 »

Wäre an dein Backupscript interessiert :D
habe auch ein Rooti von 1&1.

Wäre mal nett wennst mir geben könntest mit ner readme zu einbinden :)
lambras
Posts: 90
Joined: 2002-05-29 16:35
Location: Frankfurt am Main
 

Re: Backupspace von 1und1

Post by lambras »

conf-file für backup-manager:

Code: Select all

#  Backup Manager Configuration File
#
#  Global notes:
#
#  * Whenver you see a configuration key set to yes, you can 
#    safely change it to no. They are booleans.
#  * This configuration file is divided into sections.
#    The 'global' section is mandatory, every keys defined in 
#    this section are inherited in the other sections.
#  * There are one section per "backup method", you have to 
#    to fill the section of the chosen method.
#
##############################################################

##############################################################
# Repository - everything about where archives are
#############################################################

# Where to store the archives
export BM_REPOSITORY_ROOT="/backup"

# For security reasons, the archive repository and the generated 
# archives will be readable/writable by a given user/group.
# This is recommanded to set this to yes.
export BM_REPOSITORY_SECURE="true"

# The repository will be readable/writable only by a specific 
# user:group pair if BM_REPOSITORY_SECURE is set to yes.
export BM_REPOSITORY_USER="root"
export BM_REPOSITORY_GROUP="root"

##############################################################
# Archives - let's focus on the precious tarballs...
##############################################################

# Number of days we have to keep an archive (Time To Live)
export BM_ARCHIVE_TTL="10"

# Do you want to replace duplicates by symlinks? 
# (archive-DAY is a duplicate of archive-(DAY - 1) if they 
# are both the same size).
export BM_ARCHIVE_PURGEDUPS="false"

# Prefix of every archive on that box (default is HOSTNAME)
export BM_ARCHIVE_PREFIX="$HOSTNAME"

# The backup method to use.
export BM_ARCHIVE_METHOD="tarball"

##############################################################
# Section "TARBALL"
# - Backup method: tarball
#############################################################

# Archive filename format
#       long  : host-full-path-to-folder.tar.gz
#       short : parentfolder.tar.gz
export BM_TARBALL_NAMEFORMAT="long"

# Type of archives, available types are tar, tar.gz, tar.bz2, zip.
export BM_TARBALL_FILETYPE="tar.bz2"

# Do you want to dereference the files pointed by symlinks ? 
# enter yes or no (yes can leed to huge archives, be careful).
export BM_TARBALL_DUMPSYMLINKS="false"

# Directories you want to backup as tarballs (separated by spaces)
export BM_TARBALL_DIRECTORIES="/etc /root /usr/local /var/www/dvdboard /var/www/bjoern"

# /home
# Files to exclude when generating tarballs
export BM_TARBALL_BLACKLIST=""

##############################################################
# Section "RSYNC"
# Backup method: rsync
#############################################################

##############################################################
# Backup method: MYSQl
#############################################################
# this method is dedicated to MySQL databses.
# You should not use the tarball method for backuping database
# directories or you may have corrupted archives.

# Enter here the list of databses
export BM_MYSQL_DATABASES="banner dvdboard horde mysql phpmyadmin gods FAQ bjoerngalerie filmreviews"

# The user who is allowed to read every databases filled in BM_MYSQL_DATABASES
export BM_MYSQL_ADMINLOGIN="root"

# its password
export BM_MYSQL_ADMINPASS="LALALALALALALA(nein, das ist nicht mein echtes Passwort)"

# the host where the databse is
export BM_MYSQL_HOST="localhost"

# the port where MySQL listen to on the host
export BM_MYSQL_PORT="3306"

# which compression format to use? (gzip or bzip2)
export BM_MYSQL_FILETYPE="bzip2"

##############################################################
# Backup method: pipe
#############################################################
# This is the generic method, everything on STDOUT will be used
# as a content.

# for each word in this list, BM_PIPE_COMMAND will be launched,
# and the token "$looparg" will be expended to the current item
# of BM_PIPE_LOOPARGS
export BM_PIPE_LOOPARGS=""

# the command to launch
export BM_PIPE_COMMAND=""

# should the content be compressed?
export BM_PIPE_FILETYPE="bzip2"


##############################################################
# Burning system
#############################################################
##############################################################
# Upload system
#############################################################



##############################################################
# Section "UPLOAD"
# - The upload system allow you to send the archives to 
#   to remote hosts, either with FTP or SSH.
#############################################################

# The list of remote host, if you want to enable the upload
# systemn jsut put some remote hosts here (fqdn or IPs)
export BM_UPLOAD_HOSTS=""

#backup150.pureserver.info

# which protocol to use for tranfert ? (scp or ftp)
export BM_UPLOAD_METHOD="ftp"

# User for opening the remote connection
export BM_UPLOAD_FTP_USER=""
export BM_UPLOAD_SSH_USER=""

# Password, only needed for ftp transfert, scp is based on key identification.
export BM_UPLOAD_FTP_PASSWD=""

# cleans specified ftp folder before uploading (yes or no)
export BM_UPLOAD_FTP_PURGE="false"

# if scp mode is used, an identity file is needed
export BM_UPLOAD_KEY=""

#"/backup/upload/"
export BM_UPLOAD_DESTINATION="/current"


##############################################################
# Section "BURNING" 
# - Automatic CDR/CDRW burning
#############################################################

# set this to yes if you want automatic burning.
export BM_BURNING="false"

# When the CD is burnt, it is possible to check every file's 
# MD5 checksum to see if the CD is not corrupted.
export BM_BURNING_CHKMD5="true"

# The device to use for mounting the cdrom
export BM_BURNING_DEVICE="/dev/cdrom"

# You can force cdrecord to use a specific device
# Fill in the full path to the device to use or even
# e.g. BM_BURNING_DEVFORCED="/dev/cdrom"
# If none specified, the default cdrecord device will be used.
export BM_BURNING_DEVFORCED=""

# the method of burning archives from the list :
#  - CDRW : blanking the CDRW and burning the all 
#           ARCHIVES_REPOSITORY or only 
#           the generated archives.
#  - CDR  : burning all the ARCHIVES_REPOSITORY or 
#           only the generated archives.
export BM_BURNING_METHOD="CDRW"

# enter here the max size of your media
export BM_BURNING_MAXSIZE="700"


##############################################################
# Advanced settings, use this with care.
#############################################################

# Every output made can be sent to syslog
# set this to "yes" or "no"
export BM_LOGGER="true"

# You can choose which facility to use
export BM_LOGGER_FACILITY="user"

# Enter here some shell script.
# It will be executed before the first action of backup-manager.
export BM_PRE_BACKUP_COMMAND=""

# Enter here some shell script.
# It will be executed after the last action of backup-manager.
export BM_POST_BACKUP_COMMAND=""
redhat99
Posts: 112
Joined: 2003-02-17 12:58
Location: Meckenheim
 

Re: Backupspace von 1und1

Post by redhat99 »

Guten Morgen,

eine Frage @LamBras.

Du schiebst die Sicherungsdateien per Sitecopy und nicht mit der enthaltenen Uploadfunktion hoch.

Ich nehme an, das der backup manager die alten Dateien auf dem Server also nicht löschen würde?

Oder hat dies andere Gründe?


Grüsse Mario
lambras
Posts: 90
Joined: 2002-05-29 16:35
Location: Frankfurt am Main
 

Re: Backupspace von 1und1

Post by lambras »

> Ich nehme an, das der backup manager die alten Dateien auf dem Server also nicht löschen würde?

Bingo.
sitecopy macht das sehr zuverlässig.
redhat99
Posts: 112
Joined: 2003-02-17 12:58
Location: Meckenheim
 

Re: Backupspace von 1und1

Post by redhat99 »

Moin,

@LamBras,

danke für die schnelle Antwort!

Grüsse Mario
wecki
Posts: 101
Joined: 2005-01-27 08:55
 

Re: Backupspace von 1und1

Post by wecki »

Backupmanager kann aber bestehende Backups nach x Tagen löschen, sagt zumindet die Feauturelist...

Ich test's mal
lambras
Posts: 90
Joined: 2002-05-29 16:35
Location: Frankfurt am Main
 

Re: Backupspace von 1und1

Post by lambras »

Sagt die Featurelist, aus mir nicht erfindlichen Gründen macht ers aber nicht. :)
Hatte es erst gemerkt, als der gesamte Backupplatz vollgemüllt war und ich mich gewundert habe, warum im Traffic-mrtg morgens keine peaks mehr waren...
wecki
Posts: 101
Joined: 2005-01-27 08:55
 

Re: Backupspace von 1und1

Post by wecki »

Ja, scheint so, bei mir funzt's auch nicht....
irrertrucker
Posts: 8
Joined: 2005-10-19 08:09
 

Überprüfen

Post by irrertrucker »

Hi zusammen,
wie kann ich auf dem Backupspace von 1&1 nachschauen was da alles liegt und was das an Platz braucht. Gibts da ein Script? Hab ein Backupscript zum testen eingebaut und das auch testweise ein paarmal laufen lassen.

Wie kann ich die Daten die gesichert wurden löschen um den Backupspace wieder jungfräulich zu machen?

Grüße

Thomas
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: Überprüfen

Post by Roger Wilco »

irrerTrucker wrote:Wie kann ich die Daten die gesichert wurden löschen um den Backupspace wieder jungfräulich zu machen?
Mit einem beliebigen FTP-Client von deinem Server aus.
mattiass
Userprojekt
Userprojekt
Posts: 608
Joined: 2005-12-16 17:57
 

Re: Überprüfen

Post by mattiass »

irrerTrucker wrote:
wie kann ich auf dem Backupspace von 1&1 nachschauen was da alles liegt und was das an Platz braucht.
man ncftp
oxygen
Posts: 2138
Joined: 2002-12-15 00:10
Location: Bergheim
 

Re: Backupspace von 1und1

Post by oxygen »

Ich lösche alles was älter als 30 Tage ist auf dem Backupspace per:
lufis fs=ftpfs,host=backup67.alturo-server.de,username=bakXXXXXx,password=XXXXXXXX /mnt/backup -s && find /mnt/backup -type f -mtime +30 | xargs rm -rf && umount /mnt/backup
e2e4
Posts: 17
Joined: 2003-08-03 23:10
 

Re: Backupspace von 1und1

Post by e2e4 »

Mal eine Frage zur Option
export BM_REPOSITORY_SECURE="true"
Ich habe diese auf "false" gesetzt, da ich Remotesicherung via SCP durchführen möchte. Dennoch werden die Archive immer als root:root mit entsprechenden Rechten gesichert, sodass der SCP-User nicht zugreifen kann.

EDIT: Problem gelöst und zwar über die Option "true" und Vergabe entsprechender User- und Gruppenberechtigung.

Grüße, e2e4
janko1000
Posts: 9
Joined: 2005-11-24 06:00
 

reoback 1und1 backupserver voll

Post by janko1000 »

hi,

wie kann man am besten denn nun einmal den gesammten backup server bei 1und1 wieder leer machen denn ich hab auch das problem das reoback die files nicht automatisch löscht was mir nun auch bei mrtg aufgefallen ist :lol:

mdelete klappt leider nicht so ganz wirklich da fragt er mich dann immer ob ich die ordner wirklich löschen möchte und ich kann dann drücken was ich will ohne das er es wirklich macht... 8O

bin da für jeden tip dankbar denn sonst darf ich nun jedes backup von hand löschen...

danke :)