2023-05-05 19:03:23 +02:00
|
|
|
simple_backup
|
|
|
|
|
============
|
2015-12-08 11:32:45 +01:00
|
|
|
A simple backup script
|
|
|
|
|
|
|
|
|
|
## Description
|
2023-04-15 19:49:33 +02:00
|
|
|
simple_backup is a Python script that allows you to backup your files.
|
2023-05-05 19:03:23 +02:00
|
|
|
Parameters like input files/directories, output directory etc. can be specified in a configuration file, or on the command line. Run:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
simple_backup -h
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
to print all possible command line options.
|
2015-12-08 11:32:45 +01:00
|
|
|
|
|
|
|
|
## Dependencies
|
2023-05-05 19:03:23 +02:00
|
|
|
The script uses rsync to actually run the backup, so you will have to install it on your system. For example on Arch Linux:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
sudo pacman -Syu rsync
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Install
|
|
|
|
|
To install the program, first clone the repository:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
git clone https://github.com/Fuxino/simple_backup.git
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Then run:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
cd simple_backup
|
|
|
|
|
python -m build --wheel
|
|
|
|
|
python -m installer dist/*.whl
|
|
|
|
|
|
|
|
|
|
For Arch Linux, a PKGBUILD that automates this process is provided.
|
|
|
|
|
|