.\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . .TH "KDB\-EXPORT" "1" "2015-11-19" "" "" . .SH "NAME" \fBkdb\-export\fR \- Export keys from the key database . .SH "SYNOPSIS" \fBkdb export []\fR . .SH "DESCRIPTION" This command allows a user to export keys from the key database\. . .br Keys are exported to \fBstdout\fR in whichever format is specified\. . .br The default format is \fBdump\fR but can be changed by editing the value of the \fBsw/kdb/current/format\fR key\. . .br This command can also be used to view full key(s) including their values\. . .SH "USAGE" Where \fBsource\fR is the path of the key(s) you want to export\. . .br Additionally, the user can specify a format to use by passing it as the option argument \fBformat\fR\. . .br The \fBformat\fR attribute relies on Elektra\'s plugin system to export the keys in the desired format\. The user can view all plugins available for use by running the kdb\-list(1) command\. To learn about any plugin, the user can simply use the kdb\-info(1) command\. . .SH "OPTIONS" . .TP \fB\-H\fR, \fB\-\-help\fR Show the man page\. . .TP \fB\-V\fR, \fB\-\-version\fR Print version info\. . .TP \fB\-E\fR, \fB\-\-without\-elektra\fR Omit the \fBsystem/elektra\fR directory\. . .SH "EXAMPLES" To view your full key database in Elektra\'s native \fBdump\fR format: \fBkdb export /\fR . .P To backup your full key database in Elektra\'s native \fBdump\fR format to a file called \fBfull\-backup\.ecf\fR: \fBkdb export / > full\-backup\.ecf\fR . .P To view a keyset stored in \fBuser/keyset\fR in the XML format: \fBkdb export user/keyset xmltool\fR . .P To backup a keyset stored in \fBuser/keyset\fR in the \fBini\fR format to a file called \fBkeyset\.ini\fR: \fBkdb export user/keyset ini > keyset\.ini\fR . .SH "SEE ALSO" . .IP "\(bu" 4 For an introductions into plugins, read elektra\-plugins(7) \fIelektra\-plugins\.md\fR\. . .IP "\(bu" 4 Only storage plugins can be used for formatting\. . .IP "" 0