Skip to content

how to roll back a repository transaction #9270

@geek-andi

Description

@geek-andi

I misunderstood recreate AND entered an invalid recreate command. Can I recover the data from borg-test::initial? borg-test still has its original size on the filesystem. (the borg-test repo ist just for demonstration what happened)

borg 1.4.1

~$ borg create borg-test::initial test-data --stats
------------------------------------------------------------------------------
Repository: /home/andi/borg-test
Archive name: initial
Archive fingerprint: 5cb7e81700c428e71e00ada0168c6101ed6ec560f3ee133cdcab184b3acf5653
Time (start): Thu, 2026-01-22 22:51:49
Time (end):   Thu, 2026-01-22 22:51:49
Duration: 0.00 seconds
Number of files: 1
Utilization of max. archive size: 0%
------------------------------------------------------------------------------
                       Original size      Compressed size    Deduplicated size
This archive:                  524 B                494 B                494 B
All archives:                   23 B                 26 B                687 B

                       Unique chunks         Total chunks
Chunk index:                       3                    3
------------------------------------------------------------------------------
~$ borg list borg-test
initial                              Thu, 2026-01-22 22:51:49 [5cb7e81700c428e71e00ada0168c6101ed6ec560f3ee133cdcab184b3acf5653]
~$ borg list borg-test::initial
drwxrwxr-x andi   andi          0 Thu, 2026-01-22 22:51:40 test-data
-rw-rw-r-- andi   andi         23 Thu, 2026-01-22 22:50:43 test-data/test-file
~$ borg recreate borg-test /this/does/not/exist::initial borg-test
Processing initial
~$ borg list borg-test::initial
~$ 

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions