Commands
The following is a list of the help messages for all available commands:
eloy help
Usage: eloy.sh <subcommand> [path/to/eloy.cf] Type 'eloy.sh help <subcommand>' for help on a specific subcommand. Available subcommands: backup compress diff (d) help (?, h) info (i) list (l) restore (r) Project homepage: http://evaserver.com/projects/eloy/
eloy backup
backup: create a new backup. usage: backup [path/to/eloy.cf] Creates an initial backup, if no current backup is available. Otherwise a partial backup is created automatically. It is recommended to setup a cron job to create at least one backup per day. If you would like to backup your system every hour, you should use the compress subcommand to reduce the hourly backups after 24 hours. Valid options: -l : write output to logfile
eloy compress
compress: delete older backups. usage: compress [path/to/eloy.cf] Deletes all but one backup of each day. If COMPRESS_KEEP_BACKUPS is not zero, Eloy also deletes old backups if there are more than COMPRESS_KEEP_BACKUPS backups, todays backups not included. It is recommended to use this command in a cron job which is executed every day in the hour before midnight. That way, all backups of at least the last 24 hours are kept and older backups are reduced to one per day. Valid options: -l : write output to logfile -m recipient : email logfile to recipient and archive logfile
eloy diff
diff (d): compare a file with a backup. usage: diff <filename> [path/to/eloy.cf] Compares the file with <filename> in the current directory with the last change that is available in the backup. Valid options: -b backup : compare the file with this backup
eloy info
info (i): print information about the Eloy setup. usage: info [path/to/eloy.cf]
eloy list
list (l): list backups. usage: list [path/to/eloy.cf] Lists all files that have changed in the backup history. Valid options: -c count : list <count> backups (defaults to 5) -f filename : filter by <filename>
eloy restore
restore (r): restore a file from the backup. usage: restore <filename> [path/to/eloy.cf] Restores the file with <filename> in the current directory with the last change that is available in the backup. Use the diff command to see the changes made between the current version and the backup. Valid options: -b backup : restore the file from this backup
