debconf-copydb sourcedb destdb [--pattern=pattern] [--owner-pattern=pattern] [--config=Foo:bar]
Foo: bar
In debconf.conf, except you probably want to leave off the space on the command line (or quote it: ``Foo: bar''). Generally must be used multiple times, to build up a full configuration stanza. While blank lines are used to separate stanzas in debconf.conf, this program will assume that ``Name:dbname'' denotes the beginning of a new stanza.
ನಕಲಿಸಿ
0debconf-copydb configdb backupdebconf-copydb | ಉದಾಹರಣೆ
Copy all of configdb to backup, assuming you already have the backup database defined in debconf.conf.
--config=Name:newdb --config=Driver:File \ --config=Filename:newdb.datನಕಲಿಸಿ
0debconf-copydb configdb newdb --pattern='^slrn/' \debconf-copydb | ಉದಾಹರಣೆ
Copy slrn's data out of configdb, and into newdb. newdb is not defined in the rc file, so the --config switches set up the database on the fly.
-c InFd:none --pattern='^foo/'ನಕಲಿಸಿ
0debconf-copydb configdb stdout -c Name:stdout -c Driver:Pipe \debconf-copydb | ಉದಾಹರಣೆ
Spit out all the items in the debconf database related to package foo.
--config=Driver:Pipe --config=InFd:none | \ನಕಲಿಸಿ
0debconf-copydb configdb pipe --config=Name:pipe \debconf-copydb | ಉದಾಹರಣೆ
--config=Name:pipe --config=Driver:Pipeನಕಲಿಸಿ
0ssh remotehost debconf-copydb pipe configdb \debconf-copydb | ಉದಾಹರಣೆ
This uses the special purpose pipe driver to copy a database to a remote system.