stash icon indicating copy to clipboard operation
stash copied to clipboard

How to make sure consistency when backup a volume?

Open DongBeiDaMao opened this issue 4 years ago • 2 comments

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

DongBeiDaMao avatar Nov 30 '21 03:11 DongBeiDaMao

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/

hossainemruz avatar Nov 30 '21 04:11 hossainemruz

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.

DongBeiDaMao avatar Nov 30 '21 06:11 DongBeiDaMao