- TUI Launcher.java, AKA Command-Line Interface (CLI), handles the Terminal User Interface (TUI).
Data used for the following examples :
- Areca installation directory :
E:\areca - Workspace :
C:\Users\jdoe\.areca\workspace - Target id :
1234567890 - XML configuration file :
C:\Users\jdoe\.areca\workspace\1234567890.bcfg - Backup repository :
E:\backups
infos
Examples
E:\areca\areca_cl.bat infos(Specifies the full path if Areca is not defined in thePATHsystem variable)areca_cl.bat infosareca_cl.exe infos./bin/areca_cl.sh infos(for GNU/Linux)
describe -config (xml configuration file or directory)
Examples
E:\areca\areca_cl.bat describe -config C:\Users\jdoe\.areca\workspace\1234567890.bcfgareca_cl.bat describe -config C:\Users\jdoe\.areca\workspace\1234567890.bcfg
backup -config (xml configuration file or directory) [-f] [-d] [-c] [-wdir (working directory)] [-s] [-title (archive title)]
-fto force full backup (instead of incremental backup)-dto force differential backup (instead of incremental backup)-cto check the archive consistency after backup-wdirto use a specific working directory during archive check-resumeto resume a pending backup if found-cresume(nb days) to resume a pending backup if younger than 'nb days'-sto disable asynchronous processing when handling a target group-titleto set a title to the archive
merge -config (xml configuration file) [-title (archive title)] [-k] -date (merged date : YYYY-MM-DD) / -from (nr of days - 0='-infinity') -to (nr of days - 0='today')
-kto keep deleted files in the merged archive-titleto set a title to the archive-cto check the archive consistency after merge-wdirto use a specific working directory-dateto specify the reference date used for merging
OR-from/-to(nr of days) to specify the archive range used for merging
delete -config (xml configuration file) [-date (deletion date : YYYY-MM-DD) / -delay (nr of days)]
recover -config (xml configuration file) -destination (destination folder) [-date (recovered date : YYYY-MM-DD)] [-c]
-cto check consistency of recovered files-oto overwrite existing files-nosubdirto prevent Areca to perform the recovery in a subdirectory-dateto specify the recovery date
check -config (xml configuration file) [-wdir (working directory)] [-date (checked date : YYYY-MM-DD)] [-a]
-wdirto use a specific working directory-ato check all files (not only those contained in the archive denoted by the date argument)-dateto specify the archive which will be checked
See printHelp() of TUI Launcher.java.
E:\areca\areca_cl.bat
INFO - - ------------------------------------------------------------------
INFO - - Areca Backup
INFO - - Copyright 2005-2025, Olivier PETRUCCI
INFO - - List of valid arguments :
INFO -
INFO - - Show informations about Areca :
INFO - - infos
INFO -
INFO - - Describe targets :
INFO - - describe -config (xml configuration file or directory)
INFO -
INFO - - Launch a backup :
INFO - - backup -config (xml configuration file or directory) [-f] [-d] [-c] [-wdir (working directory)] [-s] [-title (archive title)]
INFO - - -f to force full backup (instead of incremental backup)
INFO - - -d to force differential backup (instead of incremental backup)
INFO - - -c to check the archive consistency after backup
INFO - - -wdir to use a specific working directory during archive check
INFO - - -resume to resume a pending backup if found
INFO - - -cresume (nb days) to resume a pending backup if younger than 'nb days'
INFO - - -s to disable asynchronous processing when handling a target group
INFO - - -title to set a title to the archive
INFO -
INFO - - Merge archives :
INFO - - merge -config (xml configuration file) [-title (archive title)] [-k] -date (merged date : YYYY-MM-DD) / -from (nr of days - 0='-infinity') -to (nr of days - 0='today')
INFO - - -k to keep deleted files in the merged archive
INFO - - -title to set a title to the archive
INFO - - -c to check the archive consistency after merge
INFO - - -wdir to use a specific working directory
INFO - - -date to specify the reference date used for merging
INFO - - OR -from/-to (nr of days) to specify the archive range used for merging
INFO -
INFO - - Delete archives :
INFO - - delete -config (xml configuration file) [-date (deletion date : YYYY-MM-DD) / -delay (nr of days)]
INFO -
INFO - - Recover archives :
INFO - - recover -config (xml configuration file) -destination (destination folder) [-date (recovered date : YYYY-MM-DD)] [-c]
INFO - - -c to check consistency of recovered files
INFO - - -o to overwrite existing files
INFO - - -nosubdir to prevent Areca to perform the recovery in a subdirectory
INFO - - -date to specify the recovery date
INFO -
INFO - - Check archives :
INFO - - check -config (xml configuration file) [-wdir (working directory)] [-date (checked date : YYYY-MM-DD)] [-a]
INFO - - -wdir to use a specific working directory
INFO - - -a to check all files (not only those contained in the archive denoted by the date argument)
INFO - - -date to specify the archive which will be checked
INFO -
INFO - - ------------------------------------------------------------------
INFO -
INFO - - Error : invalid arguments (a command must be provided)