man CustomEnsimBackup or ./CustomEnsimBackup -h will display the help or usage information.

NAME
CustomEnsimBackup ver. 9.10.21

SYNOPSIS
Usage: CustomEnsimBackup [-acCdefrstT][-h | --help]
[-v | --version][--low][--medium][--high][--update]
[--backup-one-site <domain>][--backup-excluded-sites]
[--backup-everything][--full-database-dump][--fix-cross-link]

DESCRIPTION
Provides for a fast and simple means of backing up a linux Ensim 4.0.x Server (or higher) either from cron job, or a command line.

OPTIONS
No options defaults to [-e] Backup everything (minus optional stuff configured for exclusion)

-h, --help
Display this help message and exits.

--low
Backup low numbered sites except domains marked for exclusion if enabled.

--medium
Backup medium numbered sites except domains marked for exclusion if enabled.

--high
Backup high numbered sites except domains marked for exclusion if enabled.

--backup-excluded-sites
Backup the domains marked for exclusion by normal backups.

--backup-one-site <domain>
Backup only one site or an individual domain. If the domain name is not supplied, it will ask for it.

--update
Finds the most recent version of CustomEnsimBackup, downloads it, and installs it.

--backup-everything
Backs up everything ie. The appliance, all available resellers, all available sites, the configured extra
files and databases. NO EXCLUSIONS!

--full-database-dump
Backs up all server databases. NO EXCLUSIONS!

--fix-cross-link
Fixes the "Unknown Error: [Errno 18] Invalid cross-device link" error

-a
Backs up the Ensim control panel appliance.

-c
Cleans out old local and ftp backup files.

-C
Copy local files to secondary mounted drive (if configured for that)

-d
Backs up the extra databases if so configured.

-e
Backs up everything excluding domains (if configured for that) and including the optional extra files and
database (if configured).

-f
Backs up the extra files if so configured.

-r
Backs up the resellers if any exist.

-s
Backs up all sites excluding domains marked for exclusion (if configured).

-t
Sends today's backup files to your remote ftp server (if configured).

-T
Fetch files from a remote ftp server (if configured). It will ask the questions, and you just need to
answer.

-v, --version
Display the CustomEnsimBackup version number

EXAMPLES
Command line examples:
# ./CustomEnsimBackup => Backs up everything.

# ./CustomEnsimBackup --full-database-dump => Backups up all the server databases.

# ./CustomEnsimBackup --update => Checks for and updates CustomEnsimBackup if available.

# ./CustomEnsimBackup --backup-one-site and answer the questions, or # ./CustomEnsimBackup --backup-one-site
<somedomain.com> to just get the site backed up with no other intervention.

Crontab examples for CustomEnsimBackup:

0 1 * * * root /root/CustomEnsimBackup/CustomEnsimBackup >/dev/null 2>&1 => Backs up everything, everyday

For those stressed out servers, using the --low, --medium, and --high options, I would suggest:

0 1 * * 0,3 root /root/CustomEnsimBackup/CustomEnsimBackup --low >/dev/null 2>&1

0 1 * * 1,4 root /root/CustomEnsimBackup/CustomEnsimBackup --medium >/dev/null 2>&1

0 1 * * 2,5 root /root/CustomEnsimBackup/CustomEnsimBackup --high >/dev/null 2>&1

# For all stagger methods or none of the old files get deleted when they should!

0 9 * * * root /root/CustomEnsimBackup/CustomEnsimBackup -c >/dev/null 2>&1

This will do the low numbered sites on Sun., Wed. The Mediums on Mon., Thurs. and the Highs on Tues., Fri.

Logging is in /var/log/CustomEnsimBackup/CustomEnsimBackup.log and it is rotated weekly.

AUTHOR
Written by Joseph Dobransky

REPORTING BUGS
Report bugs to <crankycronos@customensimbackup.com>.

COPYRIGHT
Copyright 2004-2009 Joseph Dobransky, Nightowls Webspace http://www.nightowlswebspace.com and http://www.customensimbackup.com

October 21, 2009 CustomEnsimBackup(1)



Copyright © 2004-2009, CustomEnsimBackup.com . All rights reserved.
CustomEnsimBackup.com is proudly powered by Nightowls Webspace