https://github.com/wtower/sysadmin-backup
Console backup app
https://github.com/wtower/sysadmin-backup
backup-cli
Last synced: 9 months ago
JSON representation
Console backup app
- Host: GitHub
- URL: https://github.com/wtower/sysadmin-backup
- Owner: Wtower
- License: bsd-3-clause
- Created: 2016-12-29T16:41:29.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-31T14:31:57.000Z (almost 9 years ago)
- Last Synced: 2025-02-02T18:26:19.564Z (11 months ago)
- Topics: backup-cli
- Language: C++
- Size: 1.06 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
sysadmin-backup
===============
Console backup app
Features
--------
- Backup methods: tar, rsync
- Backup modes: normal, incremental
- Email notification
- Mysqldump/postgres dump
- Log file
- Exclude file list
- Destination types: local, ssh, usb
- Automatic usb media mount and decryption
- Size quota (soon)
- Configuration files
How to use
----------
::
$ ./sysadmin-backup
SYSadmin Backup
(c) 2011-2017 George Karakostas
Version 1.20
Missing parameter [destination] [fail]
Missing parameter [directories] [fail]
Usage: ./sysadmin-backup (options) (configuration file)
Options:
--destination: Where to place backup files.
--destination-backup-dir: Where to keep incremental backups (rsync only).
--destination-database: Specify where to output database dumps (if enabled).
--destination-device: If usb, it is the device to be mounted (eg /dev/sdd1).
--destination-encrypted-key: If encrypted usb, set to pathfilename of keyfile.
--destination-encrypted-map: If encrypted usb, set to mappoint.
--destination-quota: Up to which size to allow old backups (in GB).
--forward: Specify type of backup destination (local, ssh, usb).
--directories: Which directories to include.
-n, --dry-run: Simulate backup.
--excludes: Which files or directories to exclude.
-h, --help: This help screen.
--ignore-existing: Ignores existing files on destination (rsync only).
-i, --incremental: If on then increment period is *month* (every month one full backup).
--logfile: Where to keep a log file.
-d, --mysqldump: Run a mysqldump before the backup.
--name: Backup job name.
-p, --postgresdump: Run a postgresdump before the backup.
--recipient: Where to send mail to notify. If empty no email will be sent.
--type: Specify the backup method (tar, rsync).
-v, --verbose: Print additional information.
See also the provided configuration examples under ``/etc``.