Difference between revisions of "Automatic backup"
Jump to navigation
Jump to search
(Stump created) |
(fix title format) |
||
| Line 1: | Line 1: | ||
| − | = Bisq2 automatic backup & retention system = | + | === Bisq2 automatic backup & retention system === |
The Bisq application automatically creates a backup whenever a data storage file is updated. Recent backups are retained more densely, while older ones are gradually thinned out. This approach maintains a good balance between storage usage and ensuring that sufficiently recent backups are available when needed. | The Bisq application automatically creates a backup whenever a data storage file is updated. Recent backups are retained more densely, while older ones are gradually thinned out. This approach maintains a good balance between storage usage and ensuring that sufficiently recent backups are available when needed. | ||
Revision as of 18:04, 14 December 2025
Bisq2 automatic backup & retention system
The Bisq application automatically creates a backup whenever a data storage file is updated. Recent backups are retained more densely, while older ones are gradually thinned out. This approach maintains a good balance between storage usage and ensuring that sufficiently recent backups are available when needed.
Backup snapshots are created on every write (the backup filename is the store filename plus the timestamp format yyyy-MM-dd_HHmm) and are grouped by the store’s parent filename.
The system keeps backup snapshots based on the following rules and the MaxBackupSize (default 100MB):
- Last hour: a snapshot every minute\n\
- Past hour → 24 hours: the most recent snapshot from each hour is kept
- Past day → 7 days: the most recent snapshot from each day is kept
- Past week → 28 days: the most recent snapshot from each week is kept
- Past month → 1 year: the most recent snapshot from each month is kept
- Older than a year: the most recent snapshot from each year is kept