[Babase] Re: Fwd: Cron <root@papio> /usr/local/sbin/rsync_backup
--single-link --pull backup-server1 /etc/rsync.d/backup-server1.secrets
--exclude-here '/var/lib/mlocate/*' / /boot /var
Karl O. Pinc
kop at meme.com
Mon Oct 19 20:31:59 EDT 2009
On 10/19/2009 06:57:46 PM, Lacey Roerish wrote:
> Hey Karl,
>
> Got the following error message. I just want to make sure I
> understand
> it. It is saying connection was terminated, presumably because you
> unhooked
> it to ship it?
I think this one is because I kicked the power cord out with my
foot by accident. :-)
FYI
This is just the sort of message you get when the backup fails.
This one is a failure of a backup of the backup server. The
line that says:
> rsync_backup[11187]: 12: root at backup-server1::pull-backup//: rsync of
> backup-server1 failed
Is the indication that it is 'backup-server1' that has a problem
being backed up.
I wanted dumbo to itself be backed up, so papio backs itself
up to dumbo's disk and also backs dumbo up to disk on papio.
FWIW, backup-server1 is another name for dumbo. This is in case
we re-purpose dumbo to do something else and, perhaps, switch
to using a different computer for papio backups.
---
If you ever want to get something off the backup
connect to dumbo and cd into the directory /srv/backups/papio/.
The backups are in directories named by date and time.
You may want to poke around there....
Use the ls command to list directory contents.
http://www.debian.org/doc/manuals/debian-reference/
ch01.en.html#_basic_unix_commands
You would recover files with the scp command:
Login to papio and then type (on one line) something like:
scp -l yourusername backup-server1:/srv/backups/papio/2009-10-19-05-20/
somemorestuff /where/you/want/somemorestuff/on/papio
The above copies the 'somemorestuff' file from the 2009-10-19
backup made at 05:19am Eastern time to the a file on
papio named 'papio' in the directory
'/where/you/want/somemorestuff/on/'.
If you think it's worthwhile you could put the above somewhere on
the wiki.
>
> Lacey
>
> ---------- Forwarded message ----------
> From: Cron Daemon <root at papio.biology.duke.edu>
> Date: Mon, Oct 19, 2009 at 7:34 PM
> Subject: Cron <root at papio> /usr/local/sbin/rsync_backup --single-link
> --pull
> backup-server1 /etc/rsync.d/backup-server1.secrets --exclude-here
> '/var/lib/mlocate/*' / /boot /var
> To: papiobackupadmin at papio.biology.duke.edu
>
>
> Read from remote host backup-server1: Connection reset by peer
> rsync: connection unexpectedly closed (63831909 bytes received so
> far)
> [receiver]
> rsync error: error in rsync protocol data stream (code 12) at
> io.c(359)
> rsync: connection unexpectedly closed (2571167 bytes received so far)
> [generator]
> rsync error: error in rsync protocol data stream (code 12) at
> io.c(359)
> rsync_backup[11187]: 12: root at backup-server1::pull-backup//: rsync of
> backup-server1 failed
>
>
>
> --
> - -
> Lacey K. Maryott Roerish
> Alberts Lab
> Department of Biology
> Duke University
> ph: 919-660-7306
> fax: 919-660-7293
> Lacey.Maryott at duke.edu
>
Karl <kop at meme.com>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein
More information about the Babase
mailing list