The other one is the export help mentions this -p ...
# adobe
j
The other one is the export help mentions this -p flag. But the usage pattern doesn't mention it... nor does -p by itself seem to work. -p=password or -P=password do...
Copy code
cfsetup>help export
Usage Pattern:
export <category> <jsonfile> [<aliasName>|<cfhome>],export <category1,category2> <jsonfile>
[<aliasName>|<cfhome>],export all <jsonfile> [<aliasName>|<cfhome>]
Description:Command to export settings of category(s) from an instance to a json file.


Example: export runtime runtime.json cfusion 

  -p, -P=<passphrase>   provides passphrase to encrypt sensitive information
@Mark Takata (Adobe) FWIW - I opened a few bugs for these - and in the meantime will continue to use CFConfig I guess • CF-4218015 Open CFSetup Export All does not export everything 05/24/2023 • CF-4218014 Open CFSetup export help mentions -p flag but it does not work, nor do the usage pattern show how to use it 05/24/2023 • CF-4218013 Open In the CFSetup download the shell scripts have incorrect line endings 05/24/2023
āž• 1
m
@Rahul Chauhan @Charvi
t
weird... i just this this morning, and it did export the data sources and mail settings. It didn't do jvm, but i figured that was because it wasn't supposed to.
j
Interesting - what environment are you in? I'm doing this in a Debian env running in Docker. Just downloaded and copied in the cfsetup files.
Trying to export CF2018 settings so I can pull them into CF2023.
t
windows/iis
šŸ‘ 1
j
I would think ALL would do all of them and if there isn't anything there its an empty json struct...
Or at least output something along the lines of "nothing to export"
@Mark Takata (Adobe) let me know if I can debug this with anyone - sounds like it sort of works - and it may be a platform issue?
m
I'll see if we can figure it out on our side and get it fixed, if not maybe we can get on a screen share with an engineer and see what's going on
šŸ‘ 1