Hallo Liste, seit Upgrade zu openSUSE 11.0 macht ein rsync Backup Script Probleme, was bis dato unter 10.3 problemlos gelaufen hat. Die rsync-Version ist 3.0.2-15.1. Über diese "out of memory" Fehlermeldung wird im Internet nicht häufig berichtet, bei mir sieht sie so [1] aus. Empfohlen wird an einer Stelle ein strace rsync. Ich habe das Ende der Meldungen unter [2] zitiert. Das Skript zitiere ich mal unter [3]. Vielleicht kann jemand helfen. Habe seit Längerem kein anständiges Backup fahren können. Gruß, Guido === [1] === guido@amilo:~> sh /home/guido/.rsync/rsync_backup_guido building file list ... done ./ sent 82 bytes received 26 bytes 24.00 bytes/sec total size is 0 speedup is 0.00 building file list ... done ERROR: out of memory in make_file rsync error: received SIGUSR1 (code 19) at main.c(1095) [receiver=2.6.8] rsync error: error allocating core memory buffers (code 22) at util.c(120) [generator=2.6.8] rsync: connection unexpectedly closed (8 bytes received so far) [sender] rsync error: error allocating core memory buffers (code 22) at io.c(635) [sender=3.0.2] === [2] === guido@amilo:~> strace sh /home/guido/.rsync/rsync_backup_guido [snip] wait4(-1, building file list ... done ERROR: out of memory in make_file rsync error: received SIGUSR1 (code 19) at main.c(1095) [receiver=2.6.8] rsync error: error allocating core memory buffers (code 22) at util.c(120) [generator=2.6.8] rsync: connection unexpectedly closed (8 bytes received so far) [sender] rsync error: error allocating core memory buffers (code 22) at io.c(635) [sender=3.0.2] [{WIFEXITED(s) && WEXITSTATUS(s) == 22}], 0, NULL) = 18858 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- wait4(-1, 0x7fff8dc40464, WNOHANG, NULL) = -1 ECHILD (No child processes) rt_sigreturn(0xffffffffffffffff) = 0 rt_sigaction(SIGINT, {SIG_DFL}, {0x7fbb85bdcbe3, [], SA_RESTORER|SA_RESTART, 0x7fbb84dbe660}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(255, "", 1775) = 0 exit_group(22) = ? === [3] === #!/bin/sh # This script does personal backups to a rsync backup server. You will end up # with a 7 day rotating incremental backup. The incrementals will go # into subdirectories named after the day of the week # and will therefore be deleted after 7 days, # and the current full backup goes into a directory called "current" # tridge@linuxcare.com # modified by GMP for backups on a LCS 8220 via ssh with passwordless login # directories to backup BDIR1=/home/guido/ # BDIR2=/archive # excludes file - this contains a wildcard pattern per line of files to exclude EXCLUDES=/home/guido/.rsync/exclude_guido # the IP of the backup machine BSERVER=192.168.2.91 # backup directory on backup server BSERVERDIR=/mnt/backup/amilo/guido # path to rsync on backup server RSYNCREMOTE=/mnt/user/rsync/rsync # your password on the backup server # export RSYNC_PASSWORD=xxxxxxx # path to your local ssh authentication key SSHKEY=/home/guido/.ssh/rsync-key ######################################################################## # directories on backup server cont. incremental backups INCRBACKUPDIR=`date +%a` OPTS="--rsync-path=$RSYNCREMOTE --force --ignore-errors --delete-excluded -- exclude-from=$EXCLUDES --include=* --include=.* --delete --backup --backup- dir=$BSERVERDIR/$INCRBACKUPDIR -av" # in case your local path is not complete to find your local rsync, uncomment # export PATH=$PATH:/bin:/usr/bin:/usr/local/bin # the following line clears the last weeks incremental directory [ -d $HOME/.emptydir ] || mkdir $HOME/.emptydir rsync --rsync-path=$RSYNCREMOTE --delete -av -e "ssh -i $SSHKEY" $HOME/.emptydir/ $BSERVER:$BSERVERDIR/$INCRBACKUPDIR rmdir $HOME/.emptydir # now the actual transfer rsync $OPTS -e "ssh -i $SSHKEY" $BDIR1 $BSERVER:$BSERVERDIR/current -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org