root@srv-007:/home/users/tuser# barman cron
Processing xlog segments for btest
no file found
root@srv-007:/home/users/tuser# barman -v
1.3.2
root@srv-007:/home/users/tuser# barman -h
usage: barman [-h] [-v] [-c CONFIG] [-q] [-d] [-f {console}]
{cron,list-server,show-server,status,check,diagnose,backup,list-backup,show-backup,list-files,recover,delete,rebuild-xlogdb}
...
positional arguments:
{cron,list-server,show-server,status,check,diagnose,backup,list-backup,show-backup,list-files,recover,delete,rebuild-xlogdb}
cron Run maintenance tasks
list-server List available servers, with useful information
show-server Show all configuration parameters for the specified
servers
status Shows live information and status of the PostgreSQL
server
check Check if the server configuration is working. This
command returns success if every checks pass, or
failure if any of these fails
diagnose Diagnostic command (for support and problems detection
purpose)
backup Perform a full backup for the given server
list-backup List available backups for the given server (supports
'all')
show-backup This method shows a single backup information
list-files List all the files for a single backup
recover Recover a server at a given time or xid
delete Delete a backup
rebuild-xlogdb Rebuild the WAL file database guessing it from the
disk content.
optional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-c CONFIG, --config CONFIG
uses a configuration file (defaults: ~/.barman.conf,
/etc/barman.conf, /etc/barman/barman.conf)
-q, --quiet be quiet (default: False)
-d, --debug debug output (default: False)
-f {console}, --format {console}
output format (default: console)
root@srv-007:/home/users/tuser#
The Ubuntu man page says only:
cron
Perform maintenance tasks, such as moving incoming WAL files to the
appropriate directory.
What is it for example?
Can that be useed to run backup once a Day/ week ? ....
Regards,
Basti