mt4-backup
Command-line backup tool for MTOS/MT 4.
Changes
- 0.1 (2008-06-25 14:13:53 +0900):
- Initial release.
- 0.2 (2008-06-25 23:31:37 +0900):
- Add --dryrun option.
Overview
MTOS/MT version 4 or later has provided the backup/restore feature including entire MT::Objects, however, MTOS/MT provides users with only Web UI to manipulate backup images. This fact reduces the usability and significance of this feature *greatly*, I think.
mt4-backup CLI tool generates backup images, compatible with ones that are generated through Web UI. Therefore, by invoking this command typically from "cron" daemon, you can automatically and periodically generate snapshots of your blogs.
Usage
usage: ./backup [--dir <dir>] [--blog_ids <id1,id2,...>] [--size <num>] [--archive=zip|tgz] [--dryrun]
backup $VERSION - A command-line backup tool for MTOS/MT version 4
--dir <dir>
Specify the destination directory. By default, the backup
files are created under the directory, specified by the
value of TempDir in your mt-config.cgi.
--blog_ids <id1,id2,...>
Specify the blogs to include this backup. By default,
all blogs are included in the backup.
--size <num>
Specify approximate file size (<num> kbytes) per backup file.
If not specified, backup files are never divided.
--archive=zip|tgz
Specify the archive format. If not specified, this program
just generates a set of backup files and does not create
a compressed archive file.
--dryrun
Dry run; perform a simulation of backup task that would
occur but do not actually generate a backup.
See Also
- mt4-backup.ja_JP (Japanese version of this article)
- mt4-backup (TracBrowser)
