Solved

Getting error "Child exited prematurely" during backup of server

Posted on 2008-06-17
2
1,460 Views
Last Modified: 2013-12-15
I have recently started getting a backup failure ("Child exited prematurely") on 1 out of our 6 servers being backed-up by backuppc on a debian Linux server.  Previously this server has been backing up with no problems.

Looking at the error log, there are thousands of lines as follows:

Can't open /var/lib/backuppc/pc/<server>/new//f%2fetc/ for empty output

which I assume are the reason for the "Child exited prematurely" error.   Notice I just put <server> in place of the actual server name that shows up there.  

How can I fix this?

-----------

Here is a bit more directly from the log:

Running: /usr/bin/ssh -q -x -l backuppc postman nice -n 19 sudo /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group --devices --links --times --block-size=2048 --recursive --ignore-times . /etc/
Xfer PIDs are now 14751
Got remote protocol 29
Xfer PIDs are now 14751,14752
.: md4 doesn't match: will retry in phase 1; file removed
[ skipped 939 lines ]
Can't open /var/lib/backuppc/pc/postman/new//f%2fetc/ for empty output
[ skipped 1 lines ]
Can't open /var/lib/backuppc/pc/postman/new//f%2fetc/ for empty output
[ skipped 1 lines ]
Can't open /var/lib/backuppc/pc/postman/new//f%2fetc/ for empty output
[ skipped 1 lines ]
... and on and on repeated
0
Comment
Question by:mvid
2 Comments
 
LVL 29

Expert Comment

by:MikeOM_DBA
ID: 21805453

Must be a very precocious child {snicker}...


0
 

Accepted Solution

by:
mvid earned 0 total points
ID: 21821469
I may have fixed the problem... at least I'm not getting errors anymore and the backup is working again.  I changed --devices to -D for variables $Conf{RsyncArgs} and $Conf{RsyncRestoreArgs} in file /etc/backuppc/config.pl
I found this suggestion elsewhere but pertaining to an older version of backuppc... so I'm not sure if this is what fixed it, but seeing as I changed nothing else, it must be.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
AWS - HAProxy- KeepAlived 5 41
Hacked File Timestamps 4 61
centos commands 6 52
synology Replace Drives to Expand Storage Capacity 8 32
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question