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 make sure consistency when backup a volume? #1405

Open
DongBeiDaMao opened this issue Nov 30, 2021 · 2 comments
Open

How to make sure consistency when backup a volume? #1405

DongBeiDaMao opened this issue Nov 30, 2021 · 2 comments

Comments

@DongBeiDaMao
Copy link

If an app writes data into the volume when the restic is running, how to make sure the backup data is right?

@hossainemruz
Copy link
Contributor

You can use Stash hooks to freeze the file system before backup and unfreeze after backup.
Ref: https://stash.run/docs/v2021.11.24/guides/latest/hooks/overview/

@DongBeiDaMao
Copy link
Author

Thank you for your answer. I've read the ref carefully.
Now I wonder if freezing the file system will affect the use of app when the backup process continues for a long time.

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

No branches or pull requests

2 participants