Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zingale/backup_machine
A simple python script to backup important files and directories to another filesystem periodically.
https://github.com/zingale/backup_machine
Last synced: about 2 months ago
JSON representation
A simple python script to backup important files and directories to another filesystem periodically.
- Host: GitHub
- URL: https://github.com/zingale/backup_machine
- Owner: zingale
- License: bsd-3-clause
- Created: 2014-09-07T20:46:49.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-06-04T14:57:32.000Z (over 1 year ago)
- Last Synced: 2024-03-20T16:20:43.561Z (10 months ago)
- Language: Python
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# backup_machine
A simple python script that can be run as a cron job to backup
important files and directories to a different filesystem (such as a
different disk in the computer). The number of copies to store can be
set. An e-mail is sent when the copy is completed.The details of the backup are specified in an inputs file (see the
sample `example.ini`). This follows the INI format. In particular,
root directories are given a heading in `[...]` and the list of
subdirectories and files under the root to be copied are
listed with the `files = ` and `dirs = ` options. E.g.:```
[/home/user]
files = a, t, this, that,
next,
anotherdirs = bin/,
development/,
stuff/, otherstuff/
```The global information for the backup is specified in the `[main]`
section as:```
[main]root = /raid/backup/auto/
prefix = my-backup-nstore = 3
email_sender = [email protected]
email_receiver = [email protected]```
Here `nstore` is the number of simultaneous backups to keep around.
Older ones will be deleted.