3 ms·
Can you somehow associate snapshots from separate machines? Lets say I have two servers that provide services for an app, one runs a postgresql db and the other
by infogulch 5y ago
Can you somehow associate snapshots from separate machines? Lets say I have two servers that provide services for an app, one runs a postgresql db and the other is just a front for a directory that stores attachments (it's an example ok). Both servers are running ZFS and each service is running on its own volume which has regular snapshots taken. If I'm not too worried about the snapshots being in perfect sync (its ok if I have an extra attachment or have to pull an attachment from the next snapshot; I'm not asking for a solution to the distributed consensus problem here), is there some particular way I should store or manage the snapshots? Or do I need to write some custom scripts to associate the snapshots and restore them together in case of a recovery situation?
- justinsaccount 5y agosnapshots are usually just named based on the date, like 2021-07-29-10-hour 2021-07-29-10-53-minute or similar. Then it's just a matter of ensuring that you have NTP working and your clocks are in sync.