Type:
New Feature
Priority:
Minor
Resolution:
Unresolved
Fix Version/s:
None
The mariabackup backup phase consists of 2 steps:
a) --backup
b) --prepare
The second step b) can be done after backup or before restore. Step b) can take in certain cases significant amount of time. Further it theoretically can fail because of bugs etc.
So it makes sense from operations reliability point of view to do --prepare immediately after backup to safe the time during restore AND we know already at backup time if it works or not.
To make it simple (just 1 step instead of 2) I prefer thus to have the --backup-and-prepare option to run both steps at the same time.
For all those doing incremental backups they still can do it in separate steps as they want. But I would say that in 90% of the cases users are NOT doing incremental backups.
duplicates
MDEV-20058
Make Mariabackup handle both --backup and --prepare in a single execution
Open
Elena Stepanova
made changes -
2021-01-31 19:23
Field
Original Value
New Value
Affects Version/s
10.5
[ 23123
]
Affects Version/s
10.6
[ 24028
]
Environment
n.a.
Issue Type
Bug
[ 1
]
Task
[ 3
]
Sergei Golubchik
made changes -
2021-12-06 21:21
Workflow
MariaDB v3
[ 118574
]
MariaDB v4
[ 131443
]
Sergei Golubchik
made changes -
2025-02-14 20:07
Summary
Feature Request: mariabackup is missing --backup-and-prepare option
mariabackup is missing --backup-and-prepare option
{"report":{"fcp":783.9000005722046,"ttfb":179.80000019073486,"pageVisibility":"visible","entityId":96368,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"aafe71da-6ae4-4faf-9e1a-6ba1906371b9","navigationType":0,"readyForUser":851.6000003814697,"redirectCount":0,"resourceLoadedEnd":700.8000001907349,"resourceLoadedStart":185.9000005722046,"resourceTiming":[{"duration":7.899999618530273,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":185.9000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":185.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":193.80000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":7.899999618530273,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":186.20000076293945,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":186.20000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":194.10000038146973,"responseStart":0,"secureConnectionStart":0},{"duration":80.60000038146973,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":186.30000019073486,"connectEnd":186.30000019073486,"connectStart":186.30000019073486,"domainLookupEnd":186.30000019073486,"domainLookupStart":186.30000019073486,"fetchStart":186.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":186.30000019073486,"responseEnd":266.9000005722046,"responseStart":266.9000005722046,"secureConnectionStart":186.30000019073486},{"duration":117.90000057220459,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":186.5,"connectEnd":186.5,"connectStart":186.5,"domainLookupEnd":186.5,"domainLookupStart":186.5,"fetchStart":186.5,"redirectEnd":0,"redirectStart":0,"requestStart":186.5,"responseEnd":304.4000005722046,"responseStart":304.4000005722046,"secureConnectionStart":186.5},{"duration":121.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":186.80000019073486,"connectEnd":186.80000019073486,"connectStart":186.80000019073486,"domainLookupEnd":186.80000019073486,"domainLookupStart":186.80000019073486,"fetchStart":186.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":186.80000019073486,"responseEnd":308.30000019073486,"responseStart":308.30000019073486,"secureConnectionStart":186.80000019073486},{"duration":121.89999961853027,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":186.9000005722046,"connectEnd":186.9000005722046,"connectStart":186.9000005722046,"domainLookupEnd":186.9000005722046,"domainLookupStart":186.9000005722046,"fetchStart":186.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":186.9000005722046,"responseEnd":308.80000019073486,"responseStart":308.80000019073486,"secureConnectionStart":186.9000005722046},{"duration":122,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":187.20000076293945,"connectEnd":187.20000076293945,"connectStart":187.20000076293945,"domainLookupEnd":187.20000076293945,"domainLookupStart":187.20000076293945,"fetchStart":187.20000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":187.20000076293945,"responseEnd":309.20000076293945,"responseStart":309.20000076293945,"secureConnectionStart":187.20000076293945},{"duration":226.80000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":187.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":187.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":414.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":122.10000038146973,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":187.5,"connectEnd":187.5,"connectStart":187.5,"domainLookupEnd":187.5,"domainLookupStart":187.5,"fetchStart":187.5,"redirectEnd":0,"redirectStart":0,"requestStart":187.5,"responseEnd":309.6000003814697,"responseStart":309.6000003814697,"secureConnectionStart":187.5},{"duration":226.5999994277954,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":187.70000076293945,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":187.70000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":414.30000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":122.40000057220459,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":187.80000019073486,"connectEnd":187.80000019073486,"connectStart":187.80000019073486,"domainLookupEnd":187.80000019073486,"domainLookupStart":187.80000019073486,"fetchStart":187.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":187.80000019073486,"responseEnd":310.20000076293945,"responseStart":310.20000076293945,"secureConnectionStart":187.80000019073486},{"duration":232.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":188.80000019073486,"connectEnd":188.80000019073486,"connectStart":188.80000019073486,"domainLookupEnd":188.80000019073486,"domainLookupStart":188.80000019073486,"fetchStart":188.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":188.80000019073486,"responseEnd":421.30000019073486,"responseStart":421.30000019073486,"secureConnectionStart":188.80000019073486},{"duration":233.39999961853027,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":188.9000005722046,"connectEnd":188.9000005722046,"connectStart":188.9000005722046,"domainLookupEnd":188.9000005722046,"domainLookupStart":188.9000005722046,"fetchStart":188.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":188.9000005722046,"responseEnd":422.30000019073486,"responseStart":422.30000019073486,"secureConnectionStart":188.9000005722046},{"duration":33.30000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":442.9000005722046,"connectEnd":442.9000005722046,"connectStart":442.9000005722046,"domainLookupEnd":442.9000005722046,"domainLookupStart":442.9000005722046,"fetchStart":442.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":442.9000005722046,"responseEnd":476.20000076293945,"responseStart":476.20000076293945,"secureConnectionStart":442.9000005722046},{"duration":220.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":480.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":480.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":700.8000001907349,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":16,"responseStart":179,"responseEnd":183,"domLoading":183,"domInteractive":904,"domContentLoadedEventStart":904,"domContentLoadedEventEnd":952,"domComplete":1528,"loadEventStart":1528,"loadEventEnd":1529,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":881.5},{"name":"bigPipe.sidebar-id.end","time":882.3000001907349},{"name":"bigPipe.activity-panel-pipe-id.start","time":882.5},{"name":"bigPipe.activity-panel-pipe-id.end","time":884.6000003814697},{"name":"activityTabFullyLoaded","time":971.1000003814697}],"measures":[],"correlationId":"e9b767a38c24a8","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":108,"dbReadsTimeInMs":15,"dbConnsTimeInMs":24,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}