Difference between revisions of "Borg"

From DWIKI
m
 
(One intermediate revision by the same user not shown)
Line 14: Line 14:


= FAQ =
= FAQ =
==Enter passphrase for key==
probably means the BORG_PASSPHRASE


== Remote: Using a pure-python msgpack! This will result in lower performance ==
== Remote: Using a pure-python msgpack! This will result in lower performance ==
Line 29: Line 31:


=== Connection closed by remote host. Is borg working on the server? ===
=== Connection closed by remote host. Is borg working on the server? ===
Usually ssh key problem.
Usually ssh key problem of it means borg is not installed on the server
 
 


=== BlockingIOError: [Errno 11] Resource temporarily unavailable ===
=== BlockingIOError: [Errno 11] Resource temporarily unavailable ===

Latest revision as of 14:18, 23 June 2022

Borg backup

Links

Tools

FAQ

Enter passphrase for key

probably means the BORG_PASSPHRASE

Remote: Using a pure-python msgpack! This will result in lower performance

On CentOS: try installing python34-msgpack?

  'user@borgserver' ?

 

 

Error messages

Connection closed by remote host. Is borg working on the server?

Usually ssh key problem of it means borg is not installed on the server

BlockingIOError: [Errno 11] Resource temporarily unavailable

windows?


Corrupted segment reference count - corrupted index or hints

For some reason it might help to run

borg check --repository-only



Exception: FD exception occurred

Probably running borg on cygwin, could be ssh key issue. Try

BORG_RSH="ssh -vvv" borg ...

Also check your quotes

 

Cache, or information obtained from the security directory is newer than repository - this is either an attack or unsafe (multiple repos with same ID)

Something broke during a backup, try (re)moving ~/.config/borg/security/<id> and ~/.cache/borg/<id>.

 

Prune: Chunk ID missing from chunks index, corrupted chunks index - aborting transaction.

Try

borg check ( --repair )

If check finds no problem, delete cache:

mv ~/.cache/borg ~/.cache/borg_corrupted

ValueError: stats_against: key contained in self but not in master_index.

Try

borg check ( --repair )

BrokenPipeError: [Errno 32] Broken pipe

Rename repository

  • On server: rename repository
  • On client: change previous_location in ~/.cache/borg/*.config
  • BORG_RELOCATED_REPO_ACCESS_IS_OK=yes

Extract with pattern

borg extract server:repo sh:path/to/files.*

4 orphaned objects found!

job for borg check


Deduplicated size

For single archive: total size of unique chunks for this archive