Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to delete a dir/file in an archive? #2858

Closed
rugk opened this issue Jul 22, 2017 · 4 comments
Closed

How to delete a dir/file in an archive? #2858

rugk opened this issue Jul 22, 2017 · 4 comments
Labels

Comments

@rugk
Copy link
Contributor

rugk commented Jul 22, 2017

How can one delete a part of one (or multiple) archive(s) such as a dir or file?
Obviously you cannot use borg delete for that.

However, also borg mount does not work as – at least in my tests – it seems to mount the repo in read-only mode, i.e. I cannot create files in there e.g.

So how can this be accomplished? (With borg itself, without third-party tools… at least, preferably)

@rugk rugk changed the title How to delete dir/file in an archive? How to delete a dir/file in an archive? Jul 22, 2017
@enkore
Copy link
Contributor

enkore commented Jul 22, 2017

@rugk
Copy link
Contributor Author

rugk commented Jul 22, 2017

Ah, thanks so this example basically shows it:

borg recreate /mnt/backup --exclude home/icke/Pictures/drunk_photos

However this is only available in v1.1.0, so there is no way with borg <1.1.0?
And secondly, does this redownload the archives? When I do not use rechunking or compression?

And thirdly you may include this question in the FAQ.

@rugk
Copy link
Contributor Author

rugk commented Aug 27, 2017

And secondly, does this redownload the archives? When I do not use rechunking or compression?

?

@enkore
Copy link
Contributor

enkore commented Aug 28, 2017

When I do not use rechunking or compression, does this redownload the archives?

In this case only metadata is processed, the actual data of the archive is not processed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants