Closed JMarkin closed 2 years ago
Hi JMarkin,
We do plan to have selective sync as a feature in the future. I'll let you know here when we add it.
We have added selective sync. Try it out with jotta-cli sync selective set
.
Also, sync is now available on stable.
@coopersimon If I read your comments and the v2 documentation, it looks like the ".jottaignore" feature has been dropped with v2? Do I understand the documentation correctly?
This would be a complete showstopper for me. The ".jottaignore" was one of the greatest feature of the jotta-cli status, without it, Jotta would be a "simple" backup service like any other.
Hi gdav, we've replaced jotta ignore files with a new system. You can patch over to the new system with jotta-cli ignores patch
. See more here: https://docs.jottacloud.com/en/articles/1437235-ignoring-files-and-folders-from-backup-with-jottacloud-cli
If this doesn't fit your needs, I'd be curious to hear why, so please let me know :)
@coopersimon After upgrading jotta-cli version, the current .ignore
file stopped working (jotta uploaded everything).
In jotta-cli ignores --help
, I saw the command jotta-cli ignores use-version-2
and did it, and it fixed nothing.
After some checking, I saw the command jotta-cli ignores patch
and did it, but it says:
root@jottacloud:/src# jotta-cli ignores patch
ERROR error patching ignores:
[patch /backup/homes ignores: ([) not supported by patterns v2]
Now I'm stuck. What and how should I do to make my lengthy .ignore
file work again?
Using commands to add/remove ignores rules (and as The Only Way) is not a good idea. We need to EDIT the rules in our favorite editors (ex, vscode).
Make sure you are running the latest version of jotta-cli before reporting an issue.
jotta-cli release (
jotta-cli version
):jottad executable : /usr/local/Cellar/jotta-cli-unstable/0.11.44592/bin/jottad jottad appdata : /Users/user/.jottad jottad logfile : /Users/user/.jottad/jottabackup.log jottad version : 0.11.44592 jotta-cli version : 0.11.44592
Description of problem: I create .jottaignore with content
*.log
and start sync. Created test.log file and it upload to sync folder Please add .jottaignore ability for syncExpected: Files in .jottaignore don't watch and sync
jotta-cli status (
jotta-cli status
):Relevant logs for the issue (
~/.jottad/jottabackup.log or /var/lib/jotta/jottabackup.log
)Traceback
Additional info: