[MGNLBACKUP-132] Running backup from cli against running instance fails on "The backup target directory cannot be a relative path" Created: 25/Mar/20 Updated: 29/Mar/22 Resolved: 25/Mar/20 |
|
| Status: | Closed |
| Project: | Backup |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.4 |
| Type: | Improvement | Priority: | Major |
| Reporter: | Milan Divilek | Assignee: | Milan Divilek |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Sprint: | UI Framework 20 |
| Story Points: | 1 |
| Team: |
| Description |
|
Running backup from cli against running instance fails on 2020-03-25 16:07:50,313 ERROR ule.backup.executor.ObservationAwareBackupExecutor: The backup target directory cannot be a relative path java.lang.IllegalArgumentException: The backup target directory cannot be a relative path at info.magnolia.module.backup.executor.BackupExecutor.execute(BackupExecutor.java:60) ~[magnolia-module-backup-2.5-SNAPSHOT.jar:?] This is because protocol "file://" is added into location while calling rest command endpoint, but BackupCommand#executeBackup expect plain path without the protocol |