[#wallet-WalletDatabase-Backup]
= xref:wallet.adoc[wallet]::xref:wallet/WalletDatabase.adoc[WalletDatabase]::Backup
:relfileprefix: ../../
:mrdocs:

Back up the entire database to a file&period;

== Synopsis

Declared in `&lt;wallet&sol;db&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
bool
Backup(std::string const& strDest) const = 0;
----

== Return Value

true if the backup succeeded&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *strDest*
| Path to the destination backup file&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
