What is the problem you are having with rclone?
Linux Fedora 41, some usernames are joe.smith. when I sync to Dropbox folder called Backup, I am getting
Backup
joe.smith
-- joe.smith
--- Maildir
-- Maildir
All the files are repeated in the Maildir.
I rclone from the Fedora 41 to my NAS over SMB.
Fedora Core (name shortened privacy)
root@mcq:/home/a.z# ls -al
total 24
drwx------ 5 a.z a.z 143 Jun 19 2013 .
drwxr-xr-x. 17 root root 276 Jan 28 16:22 ..
-rw------- 1 a.z a.z 86 Jun 19 2013 .bash_history
-rw-r--r-- 1 a.z a.z 18 Nov 2 2012 .bash_logout
-rw-r--r-- 1 a.z a.z 193 Nov 2 2012 .bash_profile
-rw-r--r-- 1 a.z a.z 124 Nov 2 2012 .bashrc
-rw-r--r-- 1 a.z a.z 334 Nov 17 2012 .emacs
drwxr-xr-x 2 a.z a.z 6 Jan 14 2012 .gnome2
drwx------ 54 a.z a.z 4096 Feb 16 14:23 Maildir
drwxr-xr-x 4 a.z a.z 39 May 22 2012 .mozilla
Dropbox, where a.z has a folder Maildir"
Run the command 'rclone version' and share the full output of the command.
rclone v1.69.1
os/version: raspbian 12.9 (64 bit)
os/kernel: 6.6.74+rpt-rpi-2712 (aarch64)
os/type: linux
os/arch: arm64 (ARMv8 compatible)
go/version: go1.24.0
go/linking: static
go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Dropbox w/clientID
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone sync --tpslimit 12 --tpslimit-burst 0 \
--exclude /mnt/raid10/BACKUP/Mcq/WWW-other/sbanetweb/base/vendor/symfony/symfony/src/Symfony/Component/ClassLoader/Tests/Fixtures/fallback/Pearlike /mnt/raid10/BACKUP/Mcq Dropbox:BACKUPS/Mcq --exclude-from=/mnt/raid10/exclude2.list \
--log-file=/home/wbs/logfile2.txt --log-level DEBUG
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[Dropbox]
type = dropbox
client_id = XXX
client_secret = XXX
token = XXX
### Double check the config for sensitive info before posting publicly
A log from the command that you were trying to run with the -vv
flag
[Only 2mb of log](https://gist.github.com/wspivak/783b7b4a0bf7f1b92f4ffaddbec10d47)
sorry it is not clear really (for me at least) what the issue is.
As your sync is:
rclone sync /mnt/raid10/BACKUP/Mcq Dropbox:BACKUPS/Mcq
Your local ls -al
is clear. And I assume it is your /mnt/raid10/BACKUP/Mcq
Can you post rclone ls Dropbox:BACKUPS/Mcq
and indicate what is wrong?
And where joe.smith
is from? It is nowhere in your commands.
In general:
show what is your local directory content
what is your sync command
what is your destination content and why you think it is wrong
[quote="kapitainsky, post:2, topic:50101"]
Your local ls -al
is clear. And I assume it is your /mnt/raid10/BACKUP/Mcq
[\quote]
Yes, that is where all individual user home directories get copied from my Fedora 41 box.
It is enormous... Lots of files due to large email stores. I did a directory to 2 levels
Dropbox:
I only present the mailboxes. Look at kc2njv (in "bold"). it repeats itself. The same for mailbox "panynjshomrim".
root@NAS:/home/wbs# rclone lsd Dropbox:BACKUPS/Mcq --max-depth 2
-1 1999-12-31 19:00:00 -1 a.z
**-1 1999-12-31 19:00:00 -1 kc2njv**
-1 1999-12-31 19:00:00 -1 khonig
-1 1999-12-31 19:00:00 -1 m.s
-1 1999-12-31 19:00:00 -1 o.s
-1 1999-12-31 19:00:00 -1 panynjshomrim
-1 1999-12-31 19:00:00 -1 p.s
-1 1999-12-31 19:00:00 -1 r.t
-1 1999-12-31 19:00:00 -1 sbaconsult
-1 1999-12-31 19:00:00 -1 t.s
-1 1999-12-31 19:00:00 -1 wbs
-1 1999-12-31 19:00:00 -1 wendy
-1 1999-12-31 19:00:00 -1 wstone
-1 1999-12-31 19:00:00 -1 m.s/Maildir
**-1 1999-12-31 19:00:00 -1 kc2njv/Maildir**
** -1 1999-12-31 19:00:00 -1 kc2njv/kc2njv**
-1 1999-12-31 19:00:00 -1 khonig/Maildir
-1 1999-12-31 19:00:00 -1 p.s/Maildir
-1 1999-12-31 19:00:00 -1 o.s/Maildir
-1 1999-12-31 19:00:00 -1 sbaconsult/Maildir
-1 1999-12-31 19:00:00 -1 panynjshomrim/Maildir
-1 1999-12-31 19:00:00 -1 panynjshomrim/panynjshomrim
-1 1999-12-31 19:00:00 -1 t.s/t.s
-1 1999-12-31 19:00:00 -1 wbs/.cache
-1 1999-12-31 19:00:00 -1 wbs/.config
-1 1999-12-31 19:00:00 -1 wbs/.davfs
-1 1999-12-31 19:00:00 -1 wbs/.dbus
-1 1999-12-31 19:00:00 -1 wbs/.emacs.d
-1 1999-12-31 19:00:00 -1 wbs/.fontconfig
-1 1999-12-31 19:00:00 -1 wbs/.gconf
-1 1999-12-31 19:00:00 -1 wbs/.gnome2
-1 1999-12-31 19:00:00 -1 wbs/.gnupg
-1 1999-12-31 19:00:00 -1 wbs/.gstreamer-0.10
-1 1999-12-31 19:00:00 -1 wbs/.local
-1 1999-12-31 19:00:00 -1 wbs/.mission-control
-1 1999-12-31 19:00:00 -1 wbs/.pulse
-1 1999-12-31 19:00:00 -1 wbs/.spice-vdagent
-1 1999-12-31 19:00:00 -1 wbs/.ssh
-1 1999-12-31 19:00:00 -1 wbs/Maildir
-1 1999-12-31 19:00:00 -1 wbs/SSL-CERT-DOCS
-1 1999-12-31 19:00:00 -1 wbs/lynis
-1 1999-12-31 19:00:00 -1 wbs/save-sh
-1 1999-12-31 19:00:00 -1 wbs/temp
-1 1999-12-31 19:00:00 -1 wstone/Maildir
-1 1999-12-31 19:00:00 -1 wendy/Maildir
-1 1999-12-31 19:00:00 -1 r.t/Maildir
-1 1999-12-31 19:00:00 -1 a.z/Maildir
-1 1999-12-31 19:00:00 -1 a.z/a.z
[quote]
And where joe.smith
is from? It is nowhere in your commands.
[/quote.
It was an example...
In general:
show what is your local directory content
what is your sync command
what is your destination content and why you think it is wrong
The sync command was listed above
Fedora 41
Here is the local home directory on the Fedora 41 You'll notice kc2njv does not repeat.
[root@mcq /]# find home -maxdepth 2 -type d
home
home/wbs
home/wbs/.gnupg
home/wbs/.emacs.d
home/wbs/.fontconfig
home/wbs/.spice-vdagent
home/wbs/.cache
home/wbs/.gconf
home/wbs/.pulse
home/wbs/.ssh
home/wbs/.mozilla
home/wbs/temp
home/wbs/.config
home/wbs/SSL-CERT-DOCS
home/wbs/Maildir
home/wbs/.dbus
home/wbs/.local
home/wbs/.mission-control
home/wbs/.gnome2
home/wbs/.gstreamer-0.10
home/wbs/lynis
home/wbs/.davfs
home/wbs/save-sh
home/sbaconsult
home/sbaconsult/.mozilla
home/sbaconsult/Maildir
home/test
home/test/.mozilla
home/test/Maildir
home/m.s
home/m.s/.mozilla
home/m.s/Maildir
home/m.s/.gnome2
home/panynjshomrim
home/panynjshomrim/.mozilla
home/panynjshomrim/Maildir
home/p.s
home/p.s/.mozilla
home/p.s/Maildir
home/p.s/.gnome2
home/t.s
home/t.s/.mozilla
home/t.s/Maildir
home/t.s/.gnome2
home/a.s
home/a.s/.mozilla
home/a.s/Maildir
home/a.s/.gnome2
**home/kc2njv**
**home/kc2njv/.mozilla**
**home/kc2njv/Maildir**
home/khonig
home/khonig/.mozilla
home/khonig/Maildir
home/o.s
home/o.s/.mozilla
home/o.s/Maildir
home/o.s/.gnome2
home/r.t
home/r.t/.mozilla
home/r.t/Maildir
home/wstone
home/wstone/.mozilla
home/wstone/Maildir
home/wendy
home/wendy/.mozilla
home/wendy/Maildir
home/sba-sales
home/sba-sales/Maildir
Thanks
Wayne_Spivak:
panynjshomrim
Let's focus on this one.
Post results of:
$ rclone lsd /mnt/raid10/BACKUP/Mcq -R | grep panynjshomrim
and
$ rclone lsd Dropbox:BACKUPS/Mcq -R | grep panynjshomrim
It should be very short
The command ran again (it's a cron job) and deleted it looks like the 2nd directory...
root@NAS:/home/wbs# rclone lsd /mnt/raid10/BACKUP/Mcq -R | grep panynjshomrim
4096 2025-02-16 13:51:49 -1 panynjshomrim
4096 2021-12-28 08:50:56 -1 panynjshomrim/Maildir
4096 2015-02-04 21:48:08 -1 panynjshomrim/Maildir/.Junk E-mail
4096 2015-02-04 21:48:09 -1 panynjshomrim/Maildir/.Notes
4096 2014-09-29 12:06:34 -1 panynjshomrim/Maildir/.SBANETWEB
4096 2021-02-21 11:06:13 -1 panynjshomrim/Maildir/.Sent
4096 2015-02-04 22:30:00 -1 panynjshomrim/Maildir/.Sent Messages
4096 2021-11-20 18:53:53 -1 panynjshomrim/Maildir/.Trash
12288 2023-04-21 07:49:20 -1 panynjshomrim/Maildir/cur
61440 2025-02-15 11:02:19 -1 panynjshomrim/Maildir/new
4096 2012-12-22 19:29:02 -1 panynjshomrim/Maildir/.SBANETWEB/cur
4096 2021-02-21 11:06:12 -1 panynjshomrim/Maildir/.Sent/cur
4096 2013-11-06 10:34:34 -1 panynjshomrim/Maildir/.Sent Messages/cur
147456 2023-04-21 07:48:59 -1 panynjshomrim/Maildir/.Trash/cur
12288 2021-11-20 18:53:53 -1 panynjshomrim/Maildir/.Trash/new
root@NAS:/home/wbs# rclone lsd Dropbox:BACKUPS/Mcq -R | grep panynjshomrim
-1 1999-12-31 19:00:00 -1 panynjshomrim
-1 1999-12-31 19:00:00 -1 panynjshomrim/Maildir
-1 1999-12-31 19:00:00 -1 panynjshomrim/Maildir/.Junk E-mail
-1 1999-12-31 19:00:00 -1 panynjshomrim/Maildir/.Notes
-1 1999-12-31 19:00:00 -1 panynjshomrim/Maildir/.SBANETWEB
-1 1999-12-31 19:00:00 -1 panynjshomrim/Maildir/.Sent
-1 1999-12-31 19:00:00 -1 panynjshomrim/Maildir/.Sent Messages
-1 1999-12-31 19:00:00 -1 panynjshomrim/Maildir/.Trash
-1 1999-12-31 19:00:00 -1 panynjshomrim/Maildir/cur
-1 1999-12-31 19:00:00 -1 panynjshomrim/Maildir/new
-1 1999-12-31 19:00:00 -1 panynjshomrim/Maildir/.SBANETWEB/cur
-1 1999-12-31 19:00:00 -1 panynjshomrim/Maildir/.Sent/cur
-1 1999-12-31 19:00:00 -1 panynjshomrim/Maildir/.Sent Messages/cur
-1 1999-12-31 19:00:00 -1 panynjshomrim/Maildir/.Trash/cur
-1 1999-12-31 19:00:00 -1 panynjshomrim/Maildir/.Trash/new
And where the problem is with panynjshomrim?? Both source and destination are the same
You can run:
rclone check /mnt/raid10/BACKUP/Mcq Dropbox:BACKUPS/Mcq
to check if both dirs are sync correctly.
I think it is now working.
Only items missing were excluded files (Thumbs.db, etc.).
Thanks once again!!!
system
(system)
Closed
February 20, 2025, 12:03pm
8
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.