Metadata-Version: 2.1
Name: rsyncer
Version: 0.1.0
Summary: Rsync backup tool.
Author-email: Douglas Keller <dg.kllr.jr@gmail.com>
License: MIT License
        
        Copyright (c) 2024 Doug Keller
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/dkllrjr/rsyncer
Project-URL: Repository, https://github.com/dkllrjr/rsyncer.git
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: click

# rsyncer

Simple backup command. Uses `rsync` and `ssh`, with your `ssh` configs.

Need to write `.logs` for it to log.

Dependencies:
- `rsync`
- `ssh`

## Example Config

Default location in `~/.config/rsyncer.toml`.

```
[sources]
[sources.hostname] # for remote sources
paths = ["/path/to/dir/to/backup", "/different/path/to/another/dir", "/a/third/path/etc"]

[sources.local] # for local sources
paths = ["/path/to/dir/to/backup", "/different/path/to/another/dir", "/a/third/path/etc"]

[destinations]
[destinations.hostname]
path = "/path/on/host"

[frequency]
frequencies = ["daily", "weekly", "monthly"] # allowed are dailly, weekly, and monthly

[log]
path = "~/.logs/rsyncer.log"
```

## Usage

## For Development

To install locally for testing:

```
source pyenv/bin/activate
pip install -e .
```


