[MDEV-12813] mariabackup does not complain on bad backup-dir Created: 2017-05-16 Updated: 2017-05-16 Resolved: 2017-05-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Backup |
| Affects Version/s: | 10.1.23 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Oli Sennhauser | Assignee: | Vladislav Vaintroub |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Linux Ubuntu 14.04 |
||
| Description |
|
When a bad --backup-dir location is choosen mariabackup does not complain but just falls back to default $HOME/xtrabackup_backupfiles This is IMHO a bad behaviour for Enterprise Class systems and against the fail-fast approach. shell> mariabackup --user=root --backup-dir=/tmp/backup/full --backup |
| Comments |
| Comment by Vladislav Vaintroub [ 2017-05-16 ] |
|
There is no --backup-dir parameter. It is called --target-dir |
| Comment by Oli Sennhauser [ 2017-05-16 ] |
|
<shinguz> wlad, sorry I do not agree MDEV 12813 |
| Comment by Vladislav Vaintroub [ 2017-05-16 ] |
|
well, this is Percona xtrabackup behavior, https://bugs.launchpad.net/percona-xtrabackup/+bug/1645533. xtrabackup reads That behavior is since the inception of xtrabackup/innobackupex, 2009. The behavior should be very well known by now. |