Difference between revisions of "Recitaldump"
From Recital Documentation Wiki
Peterkelly (Talk | contribs) (→-d directory) |
Peterkelly (Talk | contribs) (→-o outfile) |
||
Line 24: | Line 24: | ||
==== -o outfile ==== | ==== -o outfile ==== | ||
− | Specify the output backup file name. When you need to restore this file use the [[dbrestore]] command. | + | Specify the output backup file name. When you need to restore this file use the [[dbrestore]] command. For example to create a backup file called accountants.tar.gz; |
+ | |||
+ | |||
+ | <code lang="bash"> | ||
+ | dbdump -D southwind -o accountants | ||
+ | </code> |
Revision as of 08:25, 2 November 2009
The dbdump utility is administrated with the dbdump command. It takes the following arguments.
Note: dbdump must be run as root. For systems with a hidden root account, please precede commands with ’sudo’.
Contents
help
Using the help or -h argument will display a list of arguments for all the services.
dbdump help
-D database
This argument is used to specify the name of a database to create the dump from.
dbdump -D southwind
-d directory
This argument is used to specify the name of a directory create the dump from.
dbdump -d /data/application
-o outfile
Specify the output backup file name. When you need to restore this file use the dbrestore command. For example to create a backup file called accountants.tar.gz;
dbdump -D southwind -o accountants