Script to queue backup or backup removal in BackupPC from command line
Go to file
2017-03-06 17:21:37 +01:00
backuppcQueueBackup Fix display of the help message 2017-03-06 17:21:37 +01:00
README.md Fix markdown syntax 2017-03-06 17:18:13 +01:00

Script to queue backup in BackupPC from command line

This script permit to queue backup (for all or specified host(s)) in BackupPC from command line. It's provide parameters permiting :

  • to specify witch type of backup to queue (full or incr) ;
  • to specify as wich user the backup is run for BackupPC ;
  • to stop running backup instead of starting new one, and how many hour(s) BackupPC could not start automatically backup ;

Usage

backuppcQueueBackup

Script to queue backup in BackupPC from command line

Options:
  --verbose,-v                  Increase verbosity
  --help,-h                     Display this message

  --hostname,-H                 Only queue backup for the specified host
  --exclude,-x                  Do not queue backup for the specified host
  --all,-a                      queue backup for all BackupPC hosts
  --start-first,-f              Start first queuing backup for this specified host(s)
  --includeBackupsDisableHosts  Queue backup for all BackupPC hosts
  --type,-t                     Backup type : full or incr
  --user,-u                     BackupPC user that doing this action for BackupPC
  --stop                        Stop Backup instead of queuing new one
  --backoff                     During stop Backup action, say BackupPC do not automatically
                                start backup during next x hour(s) (Default : 1 hour(s))
  --dry-run,-j                  Perform a trial run (do nothing real)