Backup issues on the remote server

Hello @animosity002
My current environment:
root@truenas[/mnt/volume1/scripts]# rclone version
rclone v1.59.1

  • os/version: freebsd 13.1-release-p2 (64 bit)
  • os/kernel: 13.1-release-p2 (amd64)
  • os/type: freebsd
  • os/arch: amd64
  • go/version: go1.18.5
  • go/linking: static
  • go/tags: none

My backup command:
rclone sync --progress --log-file=/mnt/volume1/scripts/log/backup_truenas.log --log-level=INFO /mnt/volume1 kdrive0:backup-truenas --backup-dir kdrive0:backup/old

I have several problems with my backup.

  1. The duration and errors that exceed 12:00 for a synchronization of approximately 2 TB with very few modified files. It is a personal NAS with very little change. Less than 100 files modified per day. How can I optimize and speed up my backup?
    SSH screenshot of backup error:
    4 (retrying may help)root@truenas[/mnt/volume1/scripts]# ./backup_truenas_log_v2.sh
    Transferred: 0 B / 77.177 GiB, 0%, 0 B/s, ETA -
    Errors: 166 (retrying may help)
    Checks: 7/7, 100%
    Transferred: 0 / 10012, 0%
    Elapsed time: 12h4m59.1s
    Transferring:
    Transferred: 0 B / 77.177 GiB, 0%, 0 B/s, ETA -
    Errors: 166 (retrying may help)
    Checks: 7/7, 100%
    Transferred: 0 / 10012, 0%
    Elapsed time: 12h5m4.6s
    Transferring:
  • USERS/carole/2022/Docu…ailPaiement secu59.pdf: 0% /23.854Ki, 0/s, -
  • USERS/carole/2022/Docu…tailPaiementSecu35.pdf: 0% /23.471Ki, 0/s, -
  • USERS/carole/2022/Docu…tailPaiementsecu10.pdf: 0% /23.322Ki, 0/s, -
  • USERS/carole/2022/Docu…tailPaiementsecu11.pdf: 0% /23.321Ki, 0/s, -client_loop: send disconnect: Broken pipe
    root@ST-A2-RICHARD:/home/richard#

Link to Pastebin log file:

  1. I would like to exclude a directory in my backup from my tree:
    \volume1\iocage\PUBLIC\Scripts\SERVER\USERS
    I would like to exclude the iocage directory. I searched on the forum and with Google but everything I tried does not work. I still have my iocage directory saved in the destination?
    Have a nice day and thank you for your help Richard :wink: