Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARNING! There was an error (Nr. 141) during archive creation. #154

Closed
cwnam14 opened this issue Sep 5, 2012 · 13 comments
Closed

WARNING! There was an error (Nr. 141) during archive creation. #154

cwnam14 opened this issue Sep 5, 2012 · 13 comments
Assignees

Comments

@cwnam14
Copy link

cwnam14 commented Sep 5, 2012

I've got following error, when I run the backup. Pls help me out.

[root@STM-Secondary rear]# rear -v mkbackup
Relax and Recover 1.13.0 / 2012-04-17
Creating disk layout
Creating root FS layout
WARNING: To login as root via ssh you need to setup an authorized_keys file in /root/.ssh
Copy files and directories
Copy binaries and libraries
Copying kernel modules
Checking udev
Create initramfs
Copying resulting files to usb location
Creating tar archive '/tmp/rear.UtaUpLgdeR30965/outputfs/STM-Secondary/backup.tar.gz'
Preparing archive operationOK
WARNING !
There was an error (Nr. 141) during archive creation.
Please check the archive and see '/tmp/rear-STM-Secondary.log' for more information.

Since errors are oftenly related to files that cannot be saved by
tar, we will continue the mkbackup process. However, you MUST
verify the backup yourself before trusting it !


Finished in 30 seconds

This error log

2012-09-05 15:28:58 Creating tar archive '/tmp/rear.UtaUpLgdeR30965/outputfs/STM-Secondary/backup.tar.gz'
2012-09-05 15:28:58 tar --sparse --block-number --totals --verbose --no-wildcards-match-slash --one-file-system --ignore-failed-read --gzip -X /tmp/rear.UtaUpLgdeR30965/tmp/backup-exclude.txt -C / -c -f /tmp/rear.UtaUpLgdeR30965/outputfs/STM-Secondary/backup.tar.gz / /boot /tmp/rear-STM-Secondary.log
tar: /tmp/rear.UtaUpLgdeR30965/outputfs/STM-Secondary/backup.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Removing leading `/' from member names
2012-09-05 15:29:01 WARNING !
There was an error (Nr. 141) during archive creation.
Please check the archive and see '/tmp/rear-STM-Secondary.log' for more information.

Since errors are oftenly related to files that cannot be saved by
tar, we will continue the mkbackup process. However, you MUST
verify the backup yourself before trusting it !
@gdha
Copy link
Member

gdha commented Sep 5, 2012

Can you share the /etc/rear/local.conf file please?

On Wed, Sep 5, 2012 at 8:36 AM, cwnam14 notifications@github.com wrote:

I've got following error, when I run the backup. Pls help me out.

[root@STM-Secondary rear]# rear -v mkbackup
Relax and Recover 1.13.0 / 2012-04-17
Copying resulting files to usb location
Creating tar archive '/tmp/rear.UtaUpLgdeR30965/outputfs/STM-Secondary/backup.tar.gz'
Preparing archive operationOK

Seems to be an USB disk somehow. Did you implement any special security
rule for the USB disk (SElinux)?

@cwnam14
Copy link
Author

cwnam14 commented Sep 5, 2012

Here we go;

# sample local configuration

# Create Rear rescue media as ISO image
# OUTPUT=ISO

BACKUP=NETFS
OUTPUT=USB
#BACKUP_URL="usb:///dev/sdb1"
BACKUP_URL="usb:///dev/disk/by-label/REAR-000"


KERNEL_CMDLINE="console=tty0 console=ttyS1"

@dagwieers
Copy link
Contributor

I noticed this is a relative old release. We have improved the handling of tar in the meantime due to an issue you reported before (#119). Is there a reason why you insist on using this older release ?

@cwnam14
Copy link
Author

cwnam14 commented Sep 5, 2012

No, I don't have any reason to use the old one. But I downloaded it from ReaR website.
Please let me know how to get the new one.

@dagwieers
Copy link
Contributor

Try: http://relax-and-recover.org/download/ and use the latest snapshot release !

@cwnam14
Copy link
Author

cwnam14 commented Sep 5, 2012

As I know, when I recover the os, I have to clean up boot area using dd command.
Can I have any way to skip this procedure?

@dagwieers
Copy link
Contributor

I do not understand what you are talking about. What do you mean with boot area ? And why should you clean it up ?

@gdha
Copy link
Member

gdha commented Sep 5, 2012

I assume @cwnam14 means the MBR area:

./layout/prepare/GNU/Linux/10_include_partition_code.sh
dd if=/dev/zero of=$disk bs=512 count=1

@cwnam14
Copy link
Author

cwnam14 commented Sep 5, 2012

That's right.

@cwnam14
Copy link
Author

cwnam14 commented Sep 5, 2012

I,d like to skip this procedure.

@dagwieers
Copy link
Contributor

Why do you have to clean up the MBR ? It should not be necessary to manually use dd on the MBR.

Please show us what you are doing and explain why you are doing this, I do not want to make assumptions in order to help you. In fact, I prefer to do other things rather than help you if you insist on making it hard for me to grasp what you need help with. Sigh...

@gdha Feel free to handle this issue if you can see through the vagueness.

@ghost ghost assigned gdha Sep 5, 2012
@gdha
Copy link
Member

gdha commented Oct 12, 2012

Is this issue still open? If yes, run once rear dump to view your current setup and paste it here. As @dagwieers already mentioned there is no need to run manually a MBR.
By the way, did you format the USB disk before running rear -v mkbackup ?

@cwnam14
Copy link
Author

cwnam14 commented Oct 15, 2012

Let me close this issue. Thanks.

@cwnam14 cwnam14 closed this as completed Oct 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants