Ok, so what I am trying to do is backup 1 system and restore to another system, so this provides a warm standby. Warm standby is a clone of the production system after everything is installed so encryption key and sql are both the same and I have changed IP’s and hostname. I can login to both systems privacyidea gui.
Both systems are:
I run the following command:
/opt/privacyidea/bin/pi-manage backup create -d /opt/backup
With the following output:
tar: Removing leading
/' from member names tar: Removing leading /’ from hard link targets
tar: The following options were used after any non-optional arguments in archive create or update mode. These options are positional and affect only arguments that follow them. Please, rearrange them properly.
tar: --exclude ‘/etc/privacyidea/enckey’ has no effect
tar: Exiting with failure status due to previous errors
When I run the restore command on the second server:
/opt/privacyidea/bin/pi-manage backup restore “filename”
The standby system does not have any of the updates that system 1 has, for example I created realms and resolvers and these are not on the second system.
Does anyone have any ideas.