Skip to content
Discussions/App Development/Cloning a ledgerForum ↗

Cloning a ledger

App Development4 posts515 views4 likesLast activity Aug 2020
PI
Piyush_BediOP
Aug 2020

Is there any method to take a dump/snapshot of a ledger and load it into sandbox/other ledger?
This would be quite useful for creating a temporary test environment or a support environment that mirrors production.

BE
bernhard
Aug 2020

There is currently no way to do that out of the box.

LU
Luciano
Aug 2020

You could consider using the SQL persistence feature on Sandbox. I’m not sure if it would cover your use-case, but it sounds like it …

See also:

Is there a way to persist the sandbox’s state so that it doesn’t get lost if I stop and restart the sandbox?
Hi, Quick question - i know in your documentation you mention you can persist a sandbox instance to a postgres database which works great. I was wondering though as it uses a standard jdbc connection url would it be possible to switch out a postgres database with an oracle one? I have attempted it myself with no luck but wasnt sure if that was to do with my local configuration so thought Id check here if anyone else has tried? Many thanks in advance Cheers
BE
bernhard
Aug 2020

That works from Sandbox to Sandbox (within one SDK version), or from daml-on-sql to daml-on-sql (for obvious reasons), but it doesn’t help you move a daml-on-fabric ledger to Sandbox.

← Back to Discussions