We use RDM at our site and it is local served by DPS server on-site. We are looking at our disaster recovery posture and we need to way to export the whole of our repository, on a regular basis (daily), in an encrypted HTML file onto a USB drive and cloud storage i.e. MS Sharepoint. So in the event of a DR situation we have access to all our credentials without the need of the server or indeed the software.
Is there a way I can script this with the PowerShell function or is there something nativity available?
I have looked through the forum and found snippets of information, but nothing that gives me the complete solution.
Please could you help.
Hello,
To export entries to a HTML file, you can use the RDM PowerShell cmdlet Export-RDMsession cmdlet.
You will find a PowerShell sample script you can use in the following forum post.
https://forum.devolutions.net/topic31488-resolved-export-all-credentials-entries-of-all-repositories.aspx#post126500
Just replace the Export-RDMSession command line in the script with the following to export in a HTML file.
Export-RDMSession -Path "C:\temp\Sessions_$reponame.html" -Sessions $sessions -HTML -Password $passwd
Let us know if you need further assistance on this.
Best regards,
Érica Poirier
Brilliant. Thank Erica. That worked perfectly. Only addition I added was -force so it overwrite the older file.
Hello,
Thank you for your feedback and glad that you're satisfied with the provided solution. And thanks for the -force addition :)
Best regards,
Érica Poirier