1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-27 02:08:54 +00:00

mention borg delete borg

this makes it clear how to start from scratch, in case the chunk cache
was failed to be copied and so on.
This commit is contained in:
Antoine Beaupré 2015-10-03 12:46:23 -04:00
parent c91c5d0029
commit fded2219a8

View file

@ -931,10 +931,6 @@ def run(self, args=None):
the first backup after the conversion takes longer than expected the first backup after the conversion takes longer than expected
due to the cache resync. due to the cache resync.
the conversion can PERMANENTLY DAMAGE YOUR REPOSITORY! Attic
will also NOT BE ABLE TO READ THE BORG REPOSITORY ANYMORE, as
the magic strings will have changed.
it is recommended you run this on a copy of the Attic it is recommended you run this on a copy of the Attic
repository, in case something goes wrong, for example: repository, in case something goes wrong, for example:
@ -942,6 +938,17 @@ def run(self, args=None):
borg upgrade -n borg borg upgrade -n borg
borg upgrade borg borg upgrade borg
upgrade should be able to resume if interrupted, although it
will still iterate over all segments. if you want to start
from scratch, use `borg delete` over the copied repository to
make sure the cache files are also removed:
borg delete borg
the conversion can PERMANENTLY DAMAGE YOUR REPOSITORY! Attic
will also NOT BE ABLE TO READ THE BORG REPOSITORY ANYMORE, as
the magic strings will have changed.
you have been warned.""") you have been warned.""")
subparser = subparsers.add_parser('upgrade', parents=[common_parser], subparser = subparsers.add_parser('upgrade', parents=[common_parser],
description=self.do_upgrade.__doc__, description=self.do_upgrade.__doc__,