Skip to content

Instantly share code, notes, and snippets.

@ianling
Created December 9, 2015 22:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ianling/44b7a9028e0b69524d96 to your computer and use it in GitHub Desktop.
Save ianling/44b7a9028e0b69524d96 to your computer and use it in GitHub Desktop.
Run an incremental backup using BackupPC
---
- name: Incrementally back up host using BackupPC
hosts: all
remote_user: backup
tasks:
- name: Back up the host
local_action: command /usr/share/backuppc/bin/BackupPC_dump -i {{ inventory_hostname }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment