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

Allow for 'restore latest' #234

Open
zz0rk opened this issue Apr 19, 2024 · 5 comments
Open

Allow for 'restore latest' #234

zz0rk opened this issue Apr 19, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@zz0rk
Copy link

zz0rk commented Apr 19, 2024

Note: if you have a question or want discussion please post in the discussions area.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
N/A

Describe the solution you'd like
A clear and concise description of what you want to happen.
restic restore allows for a full snapshot/backup restore using 'restore latest'. Could the same be implemented in Backrest?

Additional context
Add any other context or screenshots about the feature request here.
Add an option under 'Browse and Restore Files in Backup' to select and run a full 'restore latest', e.g. 'Restore Latest' [checkbox] Run.

image

@zz0rk zz0rk added the enhancement New feature or request label Apr 19, 2024
@garethgeorge
Copy link
Owner

Hey, not sure I understand the feature request -- the latest snapshot is always visible in the GUI and should be restorable.

@zz0rk
Copy link
Author

zz0rk commented Apr 19, 2024

I am new to Backrest and restic for that matter, so I may be missing something.

This would restore the latest backup (all files/folders)
restic -r /mnt/backup/restic/5520/full_system/ restore latest --target /tmp/5520

In Backrest I only see the option to restore/browse individual files/folders one at a time but not restore the complee backup all at once.
image

@garethgeorge
Copy link
Owner

garethgeorge commented Apr 19, 2024

Ah, I see — sounds like the major problem is that there isn’t a single entry in the tree to restore the whole snapshot from. I’ll aim to fix this by inserting an extra directory node for the root of the backup tree /

@zz0rk
Copy link
Author

zz0rk commented Apr 19, 2024

inserting an extra directory node for the root of the backup tree /

Excellent, thank you!

@garethgeorge
Copy link
Owner

Addressed in 6045c87

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

No branches or pull requests

2 participants