[ 
https://issues.apache.org/jira/browse/ARTEMIS-4092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17637854#comment-17637854
 ] 

ASF subversion and git services commented on ARTEMIS-4092:
----------------------------------------------------------

Commit 481d07f27e5c69b0b20c30ed7b24ca4a4b70d338 in activemq-artemis's branch 
refs/heads/main from Robbie Gemmell
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=481d07f27e ]

ARTEMIS-4092: resolve issues with upgrade backups, tweaks for clarity and 
consistency, additional output detail

Adds test verifications that expected files are backed up and match pre-upgrade 
reference files.

This closes #4291


> ./artemis upgrade backup is not created properly / incomplete
> -------------------------------------------------------------
>
>                 Key: ARTEMIS-4092
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4092
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.27.0
>            Reporter: Stephen Baker
>            Assignee: Robbie Gemmell
>            Priority: Major
>             Fix For: 2.28.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When ./artemis upgrade is run, the backup files are written to a file named 
> after their parent directory, and only the last file is included.
>  
> To reproduce, run the artemis:ubuntu-11 docker image for artemis 2.17 in tty 
> mode.
> Access the console, modify artemis.profile with new properties, e.g. for us 
> we have several properties starting with RAVE_* that we pass into a second 
> JAVA_ARGS line for injection into broker.xml
> cd /opt/apache-artemis/bin
> ./artemis upgrade /var/lib/artemis-instance
>  
> Navigate to /var/lib/artemis-instance/old-config-bkp.0
> Observe that etc and bin are files not directories.
> cat etc to see that it contains artemis.profile. bootstrap.xml is not backed 
> up.
>  
> There is a tmp directory which contains all files modified but does not 
> contain their original state, the added parameters will be missing.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to