Sendbackup error: no backup size line

From The Open Source Backup Wiki (Amanda, MySQL Backup, BackupPC)
Jump to navigationJump to search

This article is a part of the Troubleshooting collection.

Problem

amdump(8) fails with sendbackup error "no backup size line" for a DLE.

| ? gtar: /var/lib/amanda/gnutar-lists/machinename_home_src_1.new: Missing record terminator
| ? gtar: Error is not recoverable: exiting now
| sendbackup: error [no backup size line]

Check sendbackup debug logs on the Amanda client. It is usually in /tmp/amanda/client/<amanda configuration>/ directory.

Explanation

  • /var filesystem on Amanda client does not have free space
  • GNU tar state file /var/lib/amanda/gnutar-lists/machinename_home_src_1.new is corrupted.
  • Trivial problem: The directory which should be backedup does not exist anymore

Solution

  • Create more space in /var filesystem if needed.
  • Force a full backup for the DLE to rewrite the state file.
  • Upgrade/downgrade to a working version of tar
  • For trivial problem: Remove or change directory in disklist file