rose_arch§
This built-in application provides a generic solution to configure site-specific archiving of suite files for use with rose task-run.
Note
rose_arch is designed to work with suite files so runs under
rose task-run. It cannot run under
rose app-run.
The application is normally configured in a rose-app.conf. Global
settings may be specified in an rose_arch[arch]
section. Each archiving target will have its own [arch:TARGET]
section for specific settings, where TARGET would be a URI to
the archiving location on your site-specific archiving system. Settings
in a [arch:TARGET] section would override those in the global
rose_arch[arch] section for the given TARGET.
A target is considered compulsory, i.e. it must have at least one
source, unless it is specified with the syntax [arch:(TARGET)].
In which case, TARGET is considered optional. The application will
skip an optional target that has no actual source.
The application provides some useful functionalities:
- Incremental mode: store the archive target settings, checksums of source files and the return code of archive command. In a retry, it would only redo targets that did not succeed in the previous attempts.
- Rename source files.
- Tar-Gzip or Gzip source files before sending them to the archive.