My favorites | Sign in
Project Logo
                
Search
for
Updated May 06, 2009 by hirotaka...@gmail.com
Labels: Featured, MT, MT4
Locales: en, ja
MT4Backup  
A command-line backup tool for MTOS/MT 4.

mt4-backup

Command-line backup tool for MTOS/MT 4.

Changes

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

License

Author & Copyright


Sign in to add a comment
Hosted by Google Code