A small but powerful sync/backup tool.
⚠ Right now the project is in the early proof of concept stage.
Works only on Windows with limited functionality.
Why make another sync/backup tool when there are plenty of them around? Well, here is my story…
- Ensure you are on Windows.
- Download and unpack the latest release (8 MB) or clone the repo.
- In the
app
dir, copyapp_sample.rb
and rename toapp.rb
. - Edit
app.rb
:
Define@local_1
,@local_2
and@storages
.
The simples storage config looks like:
@storages = {
LocalFS: {
dir_path: 'F:/FarDrive_storage'
}
}
- Now in the main dir you can open cmd and do
run -up
andrun -down
.
Read other samples with comments in that file.
For example, if you want to exclude some dirs, look for the -update_filter
command.
Replace those set_rule
lines with something like this:
sync.filter.set_rule(
dir_paths: ['app/logs', 'build/cache'],
subdirs: true,
exclude_files: '*'
)
And then use run -update_filter
once to save the filter for the current backup.
If you have any questions/feedback — welcome to Discussions and our Subreddit.
Any issues — welcome to Issues.
If you like the concept and would like to support the development — here is my Patreon.