Difference between revisions of "Recitaldump"
Peterkelly (Talk | contribs) (→-t) |
Peterkelly (Talk | contribs) (→-d directory) |
||
Line 18: | Line 18: | ||
==== -d directory ==== | ==== -d directory ==== | ||
This argument is used to specify the name of a directory create the dump from. | This argument is used to specify the name of a directory create the dump from. | ||
+ | |||
+ | <code lang="bash"> | ||
+ | dbdump -d /data/application | ||
+ | </code> | ||
+ | |||
+ | ==== --r ==== | ||
+ | This argument is used in conjunction with the -d option to recursively process subdirectories. | ||
<code lang="bash"> | <code lang="bash"> |
Revision as of 08:31, 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
--r
This argument is used in conjunction with the -d option to recursively process subdirectories.
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 of the southwind database called accountants.tar.gz;
dbdump -D southwind -o accountants
-t
This argument is used to add a time stamp to output file name. For example if today was the 2nd of November 2009 at 03:27pm the following command would create a file called southwind-20091102-1527.tar.gz from backing up the southwind database.
dbdump -D southwind -t