What is the problem you are having with rclone?
I have gotten my backup to run, but there is one final finishing touch I am looking for. I would like to have the log file name include the date and time that the file was created.
Run the command 'rclone version' and share the full output of the command.
--- rclone v1.65.0
- os/version: Microsoft Windows 11 Pro 24H2 (64 bit)
- os/kernel: 10.0.26100.4061 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.21.4
- go/linking: static
- go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
P Cloud (mapped as network drive)
OneDrive (configured as OneDrive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone copy C:\Users\User\Documents P:\Backup\User\documents --log-file=C:\Users\User\Documents\Computer\Backups\Data\PDrive_Docs_logfile.log -P
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[Google]
type = drive
client_secret = XXX
[OneDrive]
type = onedrive
token = XXX
drive_id = XXX
drive_type = personal
[pCloud]
type = pcloud
hostname = api.pcloud.com
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
My intent is to save the processing as a .bat file and run through task scheduler. I have 2 .bat files to run, one for OneDrive and one for PCloud. I have attached the PCloud version here. My plan is to back up to Pcloud one night and OneDrive the next night scheduled to run at 11 PM, after I have gone to bed.
echo %date%
echo Docs Backup
:: Back up /local/documents
rclone copy C:\Users\User\Documents P:\Backup\User\documents --log-file=C:\Users\User\Documents\Computer\Backups\Data\PDrive_Docs_logFile.log -P -vv
::rclone copy "source_directory" "destination_directory" --suffix date +%Y%m%d_%H%M%S
:: Wait 60 seconds
timeout /t 60 /nobreak
echo
echo 60 seconds have passed.
echo
:: Back up /local/pictures
::rclone copy C:\Users\User\Pictures P:\Backup\User\Pictures --log-file=C:\Users\User\Documents\Computer\Backups\Data\PDrive_Pics_logfile.log -P
:: line commented out
echo Backup Complete
pause
::rclone copy --log-file=C:\Users\User\Documents\Computer\Backups\myPicslogfile.log -P
Sample of output file:
2025/05/21 19:15:19 DEBUG : rclone: Version "v1.65.0" starting with parameters ["rclone" "copy" "C:\Users\User\Documents" "P:\Backup\User\documents" "--log-file=C:\Users\User\Documents\Computer\Backups\Data\PDrive_Docs_logfile.log" "-P" "-vv"]
2025/05/21 19:15:19 DEBUG : Creating backend with remote "C:\Users\User\Documents"
2025/05/21 19:15:19 DEBUG : Using config file from "C:\Users\User\AppData\Roaming\rclone\rclone.conf"
2025/05/21 19:15:19 DEBUG : fs cache: renaming cache item "C:\Users\User\Documents" to be canonical "//?/C:/Users/User/Documents"
2025/05/21 19:15:19 DEBUG : Creating backend with remote "P:\Backup\User\documents"
2025/05/21 19:15:19 DEBUG : fs cache: renaming cache item "P:\Backup\User\documents" to be canonical "//?/P:/Backup/User/documents"
2025/05/21 19:15:19 NOTICE: My Music: Can't follow symlink without -L/--copy-links
2025/05/21 19:15:19 NOTICE: My Pictures: Can't follow symlink without -L/--copy-links
2025/05/21 19:15:19 NOTICE: My Videos: Can't follow symlink without -L/--copy-links
2025/05/21 19:15:19 DEBUG : Applebee’s_®_eGift_Card_2025-02-20.pdf: Modification times differ by -99.9885ms: 2025-02-20 08:16:03.0999885 -0500 EST, 2025-02-20 08:16:03 -0500 EST
2025/05/21 19:15:19 DEBUG : ARCHIVE.ZIP: Size and modification time the same (differ by 0s, within tolerance 100ns)
2025/05/21 19:15:19 DEBUG : ARCHIVE.ZIP: Unchanged skipping
2025/05/21 19:15:19 DEBUG : desktop.ini: Modification times differ by -447.4055ms: 2025-01-10 22:19:31.4474055 -0500 EST, 2025-01-10 22:19:31 -0500 EST
2025/05/21 19:15:19 DEBUG : SpeedCalculations.xlsx: Modification times differ by -343.0384ms: 2024-08-07 14:49:58.3430384 -0400 EDT, 2024-08-07 14:49:58 -0400 EDT
2025/05/21 19:15:19 DEBUG : Transcript.pdf: Size and modification time the same (differ by 0s, within tolerance 100ns)
2025/05/21 19:15:19 DEBUG : Transcript.pdf: Unchanged skipping
2025/05/21 19:15:19 DEBUG : vulcan_peace_sign_by_akatsuki1289_d2i1snw-fullview.jpg: Modification times differ by -445.0295ms: 2025-02-02 20:55:13.4450295 -0500 EST, 2025-02-02 20:55:13 -0500 EST
2025/05/21 19:15:19 DEBUG : Your Evaluation from M. Reynolds.msg: Size and modification time the same (differ by 0s, within tolerance 100ns)
2025/05/21 19:15:19 DEBUG : Your Evaluation from M. Reynolds.msg: Unchanged skipping
2025/05/21 19:15:19 DEBUG : desktop.ini: md5 = 833db2a588be3a47b2deff7e2d718408 OK
2025/05/21 19:15:19 DEBUG : SpeedCalculations.xlsx: md5 = 27fe07a3a73df6af320bc0e002195c4e OK
2025/05/21 19:15:19 DEBUG : Applebee’s_®_eGift_Card_2025-02-20.pdf: md5 = d0a286915c95ffabe4a10b76dd230844 OK
2025/05/21 19:15:19 DEBUG : vulcan_peace_sign_by_akatsuki1289_d2i1snw-fullview.jpg: md5 = c29224c9664a9b32c80fac36cafe1cce OK
2025/05/21 19:15:19 DEBUG : Books/July 26 2015.txt: Size and modification time the same (differ by 0s, within tolerance 100ns)
2025/05/21 19:15:19 DEBUG : Books/July 26 2015.txt: Unchanged skipping
2025/05/21 19:15:19 DEBUG : Airlines/311-brochure.pdf: Size and modification time the same (differ by 0s, within tolerance 100ns)
2025/05/21 19:15:19 DEBUG : Airlines/311-brochure.pdf: Unchanged skipping
2025/05/21 19:15:19 DEBUG : Airlines/311-poster.pdf: Size and modification time the same (differ by 0s, within tolerance 100ns)
2025/05/21 19:15:19 DEBUG : Airlines/311-poster.pdf: Unchanged skipping
2025/05/21 19:15:19 DEBUG : Artwork/073709-120118.pdf: Size and modification time the same (differ by 0s, within tolerance 100ns)
2025/05/21 19:15:19 DEBUG : Artwork/073709-120118.pdf: Unchanged skipping
2025/05/21 19:15:19 DEBUG : Artwork/383709-120118.pdf: Size and modification time the same (differ by 0s, within tolerance 100ns)
2025/05/21 19:15:19 DEBUG : Artwork/383709-120118.pdf: Unchanged skipping
2025/05/21 19:15:19 DEBUG : Airlines/311-credit-card.pdf: Size and modification time the same (differ by 0s, within tolerance 100ns)
2025/05/21 19:15:19 DEBUG : Airlines/311-credit-card.pdf: Unchanged skipping
2025/05/21 19:15:19 DEBUG : Airlines/OneNote Table Of Contents.onetoc2: Size and modification time the same (differ by 0s, within tolerance 100ns)
2025/05/21 19:15:19 DEBUG : Airlines/OneNote Table Of Contents.onetoc2: Unchanged skipping
2025/05/21 19:15:19 DEBUG : Books/July 26 2015.pdf: Size and modification time the same (differ by 0s, within tolerance 100ns)
2025/05/21 19:15:19 DEBUG : Books/July 26 2015.pdf: Unchanged skipping
2025/05/21 19:15:19 DEBUG : Camera_JPG/2024_10_20_147_TransportMuseum.jpg: Modification times differ by -981.8623ms: 2024-10-30 16:50:09.9818623 -0400 EDT, 2024-10-30 16:50:09 -0400 EDT
I tried several versions of configuration, but could not get any to work.