I have been using rclone on Fedora 27 for several months with great success.
Today I installed rclone v1.41 on my newly installed Debian 9.
But rclone sync is not writing to destination and no errors are printed.
Here is a minimal example from HOME:
2018/05/17 19:54:42 NOTICE: Config file "/home/wolfv/.config/rclone/rclone.conf" not found - using defaults
2018/05/17 19:54:42 INFO : Local file system at /home/wolfv/test_rclone_dest: Modify window is 1ns
2018/05/17 19:54:42 INFO : Local file system at /home/wolfv/test_rclone_dest: Waiting for checks to finish
2018/05/17 19:54:42 INFO : Local file system at /home/wolfv/test_rclone_dest: Waiting for transfers to finish
2018/05/17 19:54:42 INFO : Waiting for deletions to finish
2018/05/17 19:54:42 INFO :
Transferred: 0 Bytes (0 Bytes/s)
Errors: 0
Checks: 0
Transferred: 0
Elapsed time: 0s
Maybe I just forgot something simple. What am I missing?
2018/05/20 14:43:49 DEBUG : filter_rules: Excluded from sync (and deletion)
2018/05/20 14:43:49 DEBUG : f2: Excluded from sync (and deletion)
Here is the entire log entry:
2018/05/20 14:43:49 DEBUG : rclone: Version "v1.41" starting with parameters ["rclone" "sync" "/home/wolfv/test_rclone_source" "/home/wolfv/test_rclone_dest" "--log-file=/home/wolfv/Documents/pc_maintenance/backup_systems/rclone_wolf/rclone_jobber.log" "--log-level=DEBUG" "--filter-from=/home/wolfv/test_rclone_source/filter_rules" "--checksum"]
2018/05/20 14:43:49 NOTICE: Config file "/home/wolfv/.config/rclone/rclone.conf" not found - using defaults
2018/05/20 14:43:49 INFO : Local file system at /home/wolfv/test_rclone_dest: Modify window is 1ns
2018/05/20 14:43:49 DEBUG : filter_rules: Excluded from sync (and deletion)
2018/05/20 14:43:49 DEBUG : f2: Excluded from sync (and deletion)
2018/05/20 14:43:49 INFO : Local file system at /home/wolfv/test_rclone_dest: Waiting for checks to finish
2018/05/20 14:43:49 INFO : Local file system at /home/wolfv/test_rclone_dest: Waiting for transfers to finish
2018/05/20 14:43:49 INFO : Waiting for deletions to finish
2018/05/20 14:43:49 INFO :
Transferred: 0 Bytes (0 Bytes/s)
Errors: 0
Checks: 0
Transferred: 0
Elapsed time: 0s
2018/05/20 14:43:49 DEBUG : 3 go routines active
2018/05/20 14:43:49 DEBUG : rclone: Version "v1.41" finishing with parameters ["rclone" "sync" "/home/wolfv/test_rclone_source" "/home/wolfv/test_rclone_dest" "--log-file=/home/wolfv/Documents/pc_maintenance/backup_systems/rclone_wolf/rclone_jobber.log" "--log-level=DEBUG" "--filter-from=/home/wolfv/test_rclone_source/filter_rules" "--checksum"]
One thing different about my new OS install is the use of a /DATA partition (I should have mentioned this in my original post).
On the previous install, all directories in HOME where in their default locations on the home partition,.
On this new install, the following directories in HOME are really symlinks to the /DATA partition:
I guess your filter_rules file matches the wrong names.
You try to include anything inside the /test_rclone_source folder, but this is also the folder you are copying.
Applying the include rule to your sync command, it would allow $HOME/test_rclone_source/test_rclone_source/... to be copied. If you are trying to sync the f2 folder, the filter_rules should look like this
f2 is a file.
Here is a minimal example to backup only the f2 file, from HOME:
$ pwd
/home/wolfv
$ rclone sync “$HOME/test_rclone_source” “$HOME/test_rclone_dest” --log-file=$HOME/Documents/pc_maintenance/backup_systems/rclone_wolf/rclone_jobber.log --log-level=DEBUG --filter-from=$HOME/test_rclone_source/filter_rules2
$ ls test_rclone_source
f2 filter_rules filter_rules2
$ ls test_rclone_dest
$ cat test_rclone_source/filter_rules2
+ test_rclone_source/f2
- *