Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Where does rdiff-backup need free space and how much is required? What is the problem when rdiff-backup says “ValueError: Incorrect length of data produced”?

0
Posted

Where does rdiff-backup need free space and how much is required? What is the problem when rdiff-backup says “ValueError: Incorrect length of data produced”?

0

When backing up, rdiff-backup needs free space in the mirror directory. The amount of free space required is usually a bit more than the size of the file getting backed up, but can be as much as twice the size of the current file. For instance, suppose you ran rdiff-backup foo bar and the largest file, foo/largefile, was 1GB. Then rdiff-backup would need 1+GB of free space in the bar directory. When restoring or regressing, rdiff-backup needs free space in the default temp directory. Under unix systems this is usually the /tmp directory. The temp directory that rdiff-backup uses can be set using the –tempdir and –remote-tempdir options available in versions 1.1.13 and newer. See the entry for tempfile.tempdir in the Python tempfile docs for more information on the default temp directory. The amount of free space required can vary, but it usually about the size of the largest file being restored.

0

When backing up, rdiff-backup needs free space in the mirror directory. The amount of free space required is usually a bit more than the size of the file getting backed up, but can be as much as twice the size of the current file. For instance, suppose you ran rdiff-backup foo bar and the largest file, foo/largefile, was 1GB. Then rdiff-backup would need 1+GB of free space in the bar directory. When restoring, rdiff-backup needs free space in the default temp directory. Under unix systems this is usually the /tmp directory—see the entry for tempfile.tempdir in the Python tempfile docs for more information on the default temp directory. The amount of free space required can vary, but it usually about the size of the largest file being restored. Usually free space errors are intelligible, like IOError: [Errno 28] No space left on device or similar. However, do to a gzip quirk they may look like ValueError: Incorrect length of data produced.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123