Windows Client Issue

30 views
Skip to first unread message

Dan Waldow

unread,
Jun 21, 2025, 4:47:18 PMJun 21
to Minarca Data Backup
Ok all is well on Mac and Linux but having issues with Windows as a client.  I can't seem to get past an issue with certain files and the error below.  I have been excluding files that error out due to user permissions in the AppData directory.  My only workaround is to delete the repo and start over.  I have included and excluded the files and directories, but the error still occurs regardless of any changes in the patterns file thus the need to delete repo.

versions:
server 6.1.2
client 6.1.1

backup log:
starting backup at 2025-06-21T13:17:58-0700
rdiff-backup 2.2.6
* Executing remote command C:\PROGRA~1\Minarca\MINARC~1\core\openssh\WIN_AM~1\ssh.exe -oBatchMode=yes -oPreferredAuthentications=publickey -oUserKnownHostsFile=C:\Users\dan\AppData\Local\minarca\known_hosts2 -oIdentitiesOnly=yes -i C:\Users\dan\AppData\Local\minarca\id_rsa2 min...@10.2.0.201 'minarca/6.1.1 rdiff-backup/2.2.6 (Windows 11 AMD64)'
WARNING: this command line interface is deprecated and will disappear, start using the new one as described with '--new --help'.
WARNING: Server will be called with deprecated command line interface to guarantee compatibility. It might lead to a deprecation warning from newer rdiff-backup versions. Use '--api-version 201' (or higher) to avoid it.
* API version agreed to be 200 with command b"C:\\PROGRA~1\\Minarca\\MINARC~1\\core\\openssh\\WIN_AM~1\\ssh.exe -oBatchMode=yes -oPreferredAuthentications=publickey -oUserKnownHostsFile=C:\\Users\\dan\\AppData\\Local\\minarca\\known_hosts2 -oIdentitiesOnly=yes -i C:\\Users\\dan\\AppData\\Local\\minarca\\id_rsa2 min...@10.2.0.201 'minarca/6.1.1 rdiff-backup/2.2.6 (Windows 11 AMD64)'"
* Using repository 'WIN/C'
* Hardlinks disabled on Windows
* Unable to import module (py)xattr. Extended attributes not supported on filesystem at path C:/
* Unable to import module posix1e from pylibacl package. POSIX ACLs not supported on filesystem at path C:/
* Exception '[WinError 5] Access is denied: b'C:/$Recycle.Bin/S-1-5-18'' raised of class '<class 'PermissionError'>':
  File "rdiff_backup\robust.py", line 94, in check_common_error
  File "rdiff_backup\rpath.py", line 814, in listdir

WARNING: ListError: 'C:/$Recycle.Bin/S-1-5-18' [Errno 13] Access is denied: b'C:/$Recycle.Bin/S-1-5-18'
* -----------------------------------------------------------------
Detected abilities for source (read only) file system:
  Access control lists                         Off
  Extended attributes                          Off
  Windows access control lists                 On
  Case sensitivity                             Off
  Escape DOS devices                           On
  Escape trailing spaces                       On
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
-----------------------------------------------------------------
NOTE: Extended attributes not supported by filesystem at path WIN/C/rdiff-backup-data/rdiff-backup.tmp.0 due to exception '[Errno 95] Operation not supported'
* POSIX ACLs not supported by filesystem at path WIN/C/rdiff-backup-data/rdiff-backup.tmp.0 due to exception '[Errno 95] Operation not supported: 'WIN/C/rdiff-backup-data/rdiff-backup.tmp.0''
* Unable to import win32security module. Windows ACLs not supported by filesystem at path WIN/C/rdiff-backup-data/rdiff-backup.tmp.0
* -----------------------------------------------------------------
Detected abilities for destination (read/write) file system:
  Ownership changing                           Off
  Hard linking                                 On
  fsync() directories                          On
  Directory inc permissions                    On
  High-bit permissions                         On
  Symlink permissions                          Off
  Extended filenames                           On
  Windows reserved filenames                   Off
  Access control lists                         Off
  Extended attributes                          Off
  Windows access control lists                 Off
  Case sensitivity                             On
  Escape DOS devices                           Off
  Escape trailing spaces                       Off
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
-----------------------------------------------------------------
* Backup: escape_dos_devices = False
* Backup: escape_trailing_spaces = False
NOTE: Symbolic links excluded on Windows
WARNING: Previous backup seems to have failed, regressing destination now
NOTE: Regressing to date/time Sat Jun 21 10:20:31 2025
* Regressing file Users/dan/AppData/Local/Microsoft/Windows/WinX/Group1/1 - Desktop.lnk
* Sending back exception '[Errno 13] Permission denied: b'WIN/C/Users/dan/AppData/Local/Microsoft/Windows/WinX/Group1/1 - Desktop.lnk'' of type <class 'PermissionError'> with traceback   File "rdiff_backup/connection.py", line 515, in _answer_request
  File "rdiff_backup/regress.py", line 292, in Regress
  File "rdiff_backup/rorpiter.py", line 146, in __call__
  File "rdiff_backup/regress.py", line 120, in fast_process_file
  File "rdiff_backup/rpath.py", line 915, in delete

* Cleaning up
* Cleaning up
Traceback (most recent call last):
  File "minarca_client\main.py", line 224, in _rdiff_backup
  File "rdiffbackup\run.py", line 108, in main_run
  File "rdiffbackup\actions\backup.py", line 139, in run
  File "rdiffbackup\actions\__init__.py", line 550, in _operate_regress
  File "rdiff_backup\connection.py", line 590, in __call__
  File "rdiff_backup\connection.py", line 438, in reval
PermissionError: [Errno 13] Permission denied: b'WIN/C/Users/dan/AppData/Local/Microsoft/Windows/WinX/Group1/1 - Desktop.lnk'

Patterns file:
# Minarca Config
+C:\Users\dan\AppData\Local\minarca\patterns*
# Thumbnails cache
-**/Thumbs.db
# Arrangement of a Windows folder
-**/desktop.ini
# Swap System File
-C:/swapfile.sys
# Page System File
-C:\pagefile.sys
# Hibernation System File
-C:/hiberfil.sys
# System Volume Information
-C:/System Volume Information
# System Recovery
-C:/Recovery/
# Recycle bin
-C:/$Recycle.Bin/
# Temporary Folder
-C:\Users\dan\AppData\Local\Temp
# AutoCAD backup files
-**/*.bak
# Office temporary files
-**/~$*
# Outlook IMAP temporary files
-**/*.ost.tmp
# Outlook POP temporary files
-**/*.pst.tmp
# Dynacom Backup file
-**/*.ddb.bak
# Google Drive temporary upload files
-**/.tmp.driveupload
# Google Drive temporary download files
-**/.tmp.drivedownload
# OneDrive GUID File
-**/OneDrive*/.*[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f]-[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f]-[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f]-[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f]-[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f]
# Google Drive Shortcut Metadata
-**/.shortcut-targets-by-id
# Google Drive Revision History
-**/.file-revisions-by-id
# Google Drive Encrypted
-**/.Encrypted
-DumpStac*
+C:\Users\dan\AppData\Local\minarca
-C:\Users\dan\AppData\Local\minarca\*.log
-C:\Users\dan\Documents\
+C:\Users\dan
-C:/Users/dan/AppData/Local/CEF
-C:/Users/dan/AppData/Local/Comms
-C:/Users/dan/AppData/Local/D3DSCach*
-C:/Users/dan/AppData/Local/Logseq
-C:/Users/dan/AppData/Local/Microsoft
-C:/Users/dan/AppData/Local/Nextcloud
-C:/Users/dan/AppData/Local/ONLYOFFICE
-C:/Users/dan/AppData/Local/Packages
-C:/Users/dan/AppData/Local/Publishers
-C:/Users/dan/AppData/Local/Steam
-C:/Users/dan/AppData/Local/Syncthing
-C:/Users/dan/AppData/Roaming
-C:/Users/dan/NTUSER.DAT
-C:/Users/dan/AppData/Local/Microsoft

minarca.log
2025-06-21 13:31:06,400 [11076][DEBUG][MainThread  ] instance 2: getting disk usage
2025-06-21 13:31:06,410 [11076][DEBUG][MainThread  ] instance 2: testing connection
2025-06-21 13:31:06,438 [11076][DEBUG][AsyncioExecu] Starting new HTTP connection (1): 10.2.0.201:8080
2025-06-21 13:31:06,439 [11076][DEBUG][MainThread  ] instance 2: remote schema: C:\PROGRA~1\Minarca\MINARC~1\core\openssh\WIN_AM~1\ssh.exe -oBatchMode=yes -oPreferredAuthentications=publickey -oUserKnownHostsFile=C:\Users\dan\AppData\Local\minarca\known_hosts2 -oIdentitiesOnly=yes -i C:\Users\dan\AppData\Local\minarca\id_rsa2 %s 'minarca/6.1.1 rdiff-backup/2.2.6 (Windows 11 AMD64)'
2025-06-21 13:31:06,439 [11076][DEBUG][MainThread  ] instance 2: constructing backup path for None
2025-06-21 13:31:06,439 [11076][DEBUG][MainThread  ] instance 2: remote backup path: min...@10.2.0.201::.
2025-06-21 13:31:06,439 [11076][DEBUG][MainThread  ] instance 2: executing command: rdiff-backup -v 5 --remote-schema "C:\PROGRA~1\Minarca\MINARC~1\core\openssh\WIN_AM~1\ssh.exe -oBatchMode=yes -oPreferredAuthentications=publickey -oUserKnownHostsFile=C:\Users\dan\AppData\Local\minarca\known_hosts2 -oIdentitiesOnly=yes -i C:\Users\dan\AppData\Local\minarca\id_rsa2 %s 'minarca/6.1.1 rdiff-backup/2.2.6 (Windows 11 AMD64)'" test min...@10.2.0.201::.
2025-06-21 13:31:06,442 [11076][DEBUG][MainThread  ] starting async watch with poll delay: 250 ms
2025-06-21 13:31:06,471 [11076][DEBUG][AsyncioExecu] http://10.2.0.201:8080 "GET /api/ HTTP/1.1" 200 20
2025-06-21 13:31:06,558 [11076][DEBUG][AsyncioExecu] http://10.2.0.201:8080 "GET /api/currentuser/ HTTP/1.1" 200 1545
2025-06-21 13:31:06,558 [11076][DEBUG][MainThread  ] instance 2: remote disk usage: (5017132072960, 10907346272256)
2025-06-21 13:31:06,802 [11076][DEBUG][MainThread  ] instance 2: rdiff-backup 2.2.6
2025-06-21 13:31:06,981 [11076][DEBUG][MainThread  ] instance 2: * Executing remote command C:\PROGRA~1\Minarca\MINARC~1\core\openssh\WIN_AM~1\ssh.exe -oBatchMode=yes -oPreferredAuthentications=publickey -oUserKnownHostsFile=C:\Users\dan\AppData\Local\minarca\known_hosts2 -oIdentitiesOnly=yes -i C:\Users\dan\AppData\Local\minarca\id_rsa2 min...@10.2.0.201 'minarca/6.1.1 rdiff-backup/2.2.6 (Windows 11 AMD64)'
2025-06-21 13:31:08,042 [11076][DEBUG][MainThread  ] instance 2: WARNING: this command line interface is deprecated and will disappear, start using the new one as described with '--new --help'.
2025-06-21 13:31:08,042 [11076][DEBUG][MainThread  ] instance 2: WARNING: Server will be called with deprecated command line interface to guarantee compatibility. It might lead to a deprecation warning from newer rdiff-backup versions. Use '--api-version 201' (or higher) to avoid it.
2025-06-21 13:31:08,074 [11076][DEBUG][MainThread  ] instance 2: * API version agreed to be 200 with command b"C:\\PROGRA~1\\Minarca\\MINARC~1\\core\\openssh\\WIN_AM~1\\ssh.exe -oBatchMode=yes -oPreferredAuthentications=publickey -oUserKnownHostsFile=C:\\Users\\dan\\AppData\\Local\\minarca\\known_hosts2 -oIdentitiesOnly=yes -i C:\\Users\\dan\\AppData\\Local\\minarca\\id_rsa2 min...@10.2.0.201 'minarca/6.1.1 rdiff-backup/2.2.6 (Windows 11 AMD64)'"
2025-06-21 13:31:08,291 [11076][DEBUG][MainThread  ] instance 2: Testing server started by:  b"C:\\PROGRA~1\\Minarca\\MINARC~1\\core\\openssh\\WIN_AM~1\\ssh.exe -oBatchMode=yes -oPreferredAuthentications=publickey -oUserKnownHostsFile=C:\\Users\\dan\\AppData\\Local\\minarca\\known_hosts2 -oIdentitiesOnly=yes -i C:\\Users\\dan\\AppData\\Local\\minarca\\id_rsa2 min...@10.2.0.201 'minarca/6.1.1 rdiff-backup/2.2.6 (Windows 11 AMD64)'"
2025-06-21 13:31:08,291 [11076][DEBUG][MainThread  ] instance 2: - Server OK
2025-06-21 13:31:08,292 [11076][DEBUG][MainThread  ] instance 2: * Cleaning up
2025-06-21 13:31:08,297 [11076][DEBUG][MainThread  ] instance 2: * Cleaning up
2025-06-21 13:31:08,534 [11076][DEBUG][MainThread  ] instance 2: subprocess 10864 started for backup: "C:\Program Files\Minarca\minarca.exe" backup --force --instance 2
2025-06-21 13:31:08,976 [10864][DEBUG][MainThread  ] Starting new HTTPS connection (1): latest.ikus-soft.com:443
2025-06-21 13:31:09,229 [10864][DEBUG][MainThread  ] https://latest.ikus-soft.com:443 "GET /minarca/latest_version HTTP/1.1" 200 5
2025-06-21 13:31:09,242 [10864][DEBUG][MainThread  ] instance 2: starting backup with force: True
2025-06-21 13:31:09,248 [10864][INFO ][MainThread  ] instance 2: backup START
2025-06-21 13:31:09,250 [10864][DEBUG][MainThread  ] instance 2: remote schema: C:\PROGRA~1\Minarca\MINARC~1\core\openssh\WIN_AM~1\ssh.exe -oBatchMode=yes -oPreferredAuthentications=publickey -oUserKnownHostsFile=C:\Users\dan\AppData\Local\minarca\known_hosts2 -oIdentitiesOnly=yes -i C:\Users\dan\AppData\Local\minarca\id_rsa2 %s 'minarca/6.1.1 rdiff-backup/2.2.6 (Windows 11 AMD64)'
2025-06-21 13:31:09,250 [10864][DEBUG][MainThread  ] instance 2: constructing backup path for C:/
2025-06-21 13:31:09,250 [10864][DEBUG][MainThread  ] instance 2: remote backup path: min...@10.2.0.201::WIN/C/
2025-06-21 13:31:09,250 [10864][DEBUG][MainThread  ] instance 2: executing command: rdiff-backup -v 5 --remote-schema "C:\PROGRA~1\Minarca\MINARC~1\core\openssh\WIN_AM~1\ssh.exe -oBatchMode=yes -oPreferredAuthentications=publickey -oUserKnownHostsFile=C:\Users\dan\AppData\Local\minarca\known_hosts2 -oIdentitiesOnly=yes -i C:\Users\dan\AppData\Local\minarca\id_rsa2 %s 'minarca/6.1.1 rdiff-backup/2.2.6 (Windows 11 AMD64)'" backup --no-hard-links --exclude-symbolic-links --create-full-path --no-compression --exclude "**/OneDrive*/.*[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f]-[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f]-[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f]-[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f]-[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f]" --exclude "**/*.bak" --exclude "**/*.ddb.bak" --exclude "**/*.lnk" --exclude "**/*.ost.tmp" --exclude "**/*.pst.tmp" --exclude "**/.Encrypted" --exclude "**/.file-revisions-by-id" --exclude "**/.shortcut-targets-by-id" --exclude "**/.tmp.drivedownload" --exclude "**/.tmp.driveupload" --exclude "**/DumpStac*" --exclude "**/Thumbs.db" --exclude "**/desktop.ini" --exclude "**/~$*" --exclude "C:/Users/dan/AppData/Local/minarca/*.log" --include "C:/Users/dan/AppData/Local/minarca/patterns*" --exclude C:/Users/dan/AppData/Local/CEF --exclude C:/Users/dan/AppData/Local/Comms --exclude "C:/Users/dan/AppData/Local/D3DSCach*" --exclude C:/Users/dan/AppData/Local/Logseq --exclude C:/Users/dan/AppData/Local/Microsoft --exclude C:/Users/dan/AppData/Local/Microsoft --exclude C:/Users/dan/AppData/Local/Nextcloud --exclude C:/Users/dan/AppData/Local/ONLYOFFICE --exclude C:/Users/dan/AppData/Local/Packages --exclude C:/Users/dan/AppData/Local/Publishers --exclude C:/Users/dan/AppData/Local/Steam --exclude C:/Users/dan/AppData/Local/Syncthing --exclude C:/Users/dan/AppData/Local/Temp --include C:/Users/dan/AppData/Local/minarca --exclude C:/Users/dan/AppData/Roaming --exclude C:/Users/dan/Documents/ --exclude C:/Users/dan/NTUSER.DAT --exclude C:/$Recycle.Bin/ --exclude C:/Recovery/ --include C:/Users/dan --exclude "C:/System Volume Information" --exclude C:/hiberfil.sys --exclude C:/pagefile.sys --exclude C:/swapfile.sys --exclude "C:/**" C:/ min...@10.2.0.201::WIN/C/
2025-06-21 13:31:21,280 [10864][ERROR][MainThread  ] instance 2: backup FAILED
2025-06-21 13:31:21,299 [10864][INFO ][MainThread  ] process returned a non-zero exit status (101). Check logs for more details
2025-06-21 13:31:21,299 [10864][INFO ][MainThread  ] None

shell.log
[2025-06-21 13:05:27,505][INFO   ][10.2.1.40][admin][PID:193970][__main__] running command [/usr/bin/rdiff-backup-2.2 --server] in jail [/mnt/backups/admin] for: minarca/6.1.1 rdiff-backup/2.2.6 (Windows 11 AMD64)
[2025-06-21 13:05:27,979][INFO   ][10.2.1.40][admin][PID:193970][__main__] rdiff-backup terminated successfully
[2025-06-21 13:05:31,770][INFO   ][10.2.1.40][admin][PID:194094][__main__] running command [/usr/bin/rdiff-backup-2.2 --server] in jail [/mnt/backups/admin] for: minarca/6.1.1 rdiff-backup/2.2.6 (Windows 11 AMD64)
[2025-06-21 13:05:42,108][INFO   ][10.2.1.40][admin][PID:194094][__main__] rdiff-backup terminated successfully
[2025-06-21 13:06:55,824][INFO   ][10.2.1.40][admin][PID:195216][__main__] running command [/usr/bin/rdiff-backup-2.2 --server] in jail [/mnt/backups/admin] for: minarca/6.1.1 rdiff-backup/2.2.6 (Windows 11 AMD64)
[2025-06-21 13:06:56,289][INFO   ][10.2.1.40][admin][PID:195216][__main__] rdiff-backup terminated successfully
[2025-06-21 13:06:58,984][INFO   ][10.2.1.40][admin][PID:195302][__main__] running command [/usr/bin/rdiff-backup-2.2 --server] in jail [/mnt/backups/admin] for: minarca/6.1.1 rdiff-backup/2.2.6 (Windows 11 AMD64)
[2025-06-21 13:07:09,540][INFO   ][10.2.1.40][admin][PID:195302][__main__] rdiff-backup terminated successfully
[2025-06-21 13:17:56,649][INFO   ][10.2.1.40][admin][PID:203553][__main__] running command [/usr/bin/rdiff-backup-2.2 --server] in jail [/mnt/backups/admin] for: minarca/6.1.1 rdiff-backup/2.2.6 (Windows 11 AMD64)
[2025-06-21 13:17:57,122][INFO   ][10.2.1.40][admin][PID:203553][__main__] rdiff-backup terminated successfully
[2025-06-21 13:17:59,496][INFO   ][10.2.1.40][admin][PID:203621][__main__] running command [/usr/bin/rdiff-backup-2.2 --server] in jail [/mnt/backups/admin] for: minarca/6.1.1 rdiff-backup/2.2.6 (Windows 11 AMD64)
[2025-06-21 13:18:09,651][INFO   ][10.2.1.40][admin][PID:203621][__main__] rdiff-backup terminated successfully
[2025-06-21 13:31:08,116][INFO   ][10.2.1.40][admin][PID:213423][__main__] running command [/usr/bin/rdiff-backup-2.2 --server] in jail [/mnt/backups/admin] for: minarca/6.1.1 rdiff-backup/2.2.6 (Windows 11 AMD64)
[2025-06-21 13:31:08,569][INFO   ][10.2.1.40][admin][PID:213423][__main__] rdiff-backup terminated successfully
[2025-06-21 13:31:10,385][INFO   ][10.2.1.40][admin][PID:213528][__main__] running command [/usr/bin/rdiff-backup-2.2 --server] in jail [/mnt/backups/admin] for: minarca/6.1.1 rdiff-backup/2.2.6 (Windows 11 AMD64)
[2025-06-21 13:31:20,396][INFO   ][10.2.1.40][admin][PID:213528][__main__] rdiff-backup terminated successfully

For now, I am going to delete the repo and continue through the process to eliminate any other files but note that I can recreate this with any file.

Thanks!
Dan

Patrik Dufresne

unread,
Jun 23, 2025, 8:01:15 AMJun 23
to min...@googlegroups.com
Hello Dan,

The relevant issue is the following:

    • Regressing file: Users/dan/AppData/Local/Microsoft/Windows/WinX/Group1/1 - Desktop.lnk

    • Exception returned: [Errno 13] Permission denied: b'WIN/C/Users/dan/AppData/Local/Microsoft/Windows/WinX/Group1/1 - Desktop.lnk'
      Exception type: <class 'PermissionError'>


    * Regressing file Users/dan/AppData/Local/Microsoft/Windows/WinX/Group1/1 - Desktop.lnk
    * Sending back exception '[Errno 13] Permission denied: b'WIN/C/Users/dan/AppData/Local/Microsoft/Windows/WinX/Group1/1 - Desktop.lnk'' of type <class 'PermissionError'> with traceback   File "rdiff_backup/connection.py", line 515, in _answer_request
      File "rdiff_backup/regress.py", line 292, in Regress
      File "rdiff_backup/rorpiter.py", line 146, in __call__
      File "rdiff_backup/regress.py", line 120, in fast_process_file
      File "rdiff_backup/rpath.py", line 915, in delete

    It appears that a previous backup was interrupted, and the next run triggered a "regression" process. This is normal behavior and usually runs without any issue.

    However, during this regression, your server encountered a problem trying to delete the file:
    WIN/C/Users/dan/AppData/Local/Microsoft/Windows/WinX/Group1/1 - Desktop.lnk

    Could you please check the permissions on that file? I’d be curious to know if anything might be preventing its deletion.


    --
    You received this message because you are subscribed to the Google Groups "Minarca Data Backup" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to minarca+u...@googlegroups.com.
    To view this discussion visit https://groups.google.com/d/msgid/minarca/afca51cd-1a47-4a11-95e8-96f8df4ac53cn%40googlegroups.com.


    --
    ** Par mesure d'efficacité, je consulte mes courriels une fois par jour.
    IKUS Software

    Dan Waldow

    unread,
    Jun 25, 2025, 5:37:46 PMJun 25
    to Minarca Data Backup
    User permissions look fine on the file now (full access) and the backup is working as expected.  I will monitor.

    Thanks!
    Dan

    Dan Waldow

    unread,
    Jun 25, 2025, 5:51:14 PMJun 25
    to Minarca Data Backup
    Spoke too soon ... happening again with another file.  

    log:
    * Processing changed file WIN/C/Users/dan/Pictures/Screenshots
    * Incrementing mirror file WIN/C/Users/dan/Pictures/Screenshots
    * Processing changed file Users/dan/Pictures/Screenshots/Screenshot 2025-06-25 213347.png
    * Exception '[Errno 13] Permission denied: b'WIN/C/Users/dan/Pictures/Screenshots/rdiff-backup.tmp.9'' raised of class '<class 'PermissionError'>':
      File "rdiff_backup/robust.py", line 94, in check_common_error
      File "rdiff_backup/rpath.py", line 1586, in copy
      File "rdiff_backup/rpath.py", line 1620, in copy_reg_file
      File "rdiff_backup/rpath.py", line 1151, in write_from_fileobj
      File "rdiff_backup/rpath.py", line 1129, in open

    WARNING: UpdateError: 'Users/dan/Pictures/Screenshots/Screenshot 2025-06-25 213347.png' [Errno 13] Permission denied: b'WIN/C/Users/dan/Pictures/Screenshots/rdiff-backup.tmp.9'
    * Unable to read ACL from path C:/hiberfil.sys due to exception '(32, 'GetNamedSecurityInfo', 'The process cannot access the file because it is being used by another process.')'
    * Unable to read ACL from path C:/pagefile.sys due to exception '(32, 'GetNamedSecurityInfo', 'The process cannot access the file because it is being used by another process.')'
    * Unable to read ACL from path C:/swapfile.sys due to exception '(32, 'GetNamedSecurityInfo', 'The process cannot access the file because it is being used by another process.')'

    * Cleaning up
    * Cleaning up

    file permissions:
    C:\Users\dan\Pictures\Screenshots>icacls "Screenshot 2025-06-25 213347.png"
    Screenshot 2025-06-25 213347.png NT AUTHORITY\SYSTEM:(I)(F)
                                     BUILTIN\Administrators:(I)(F)
                                     WIN\dan:(I)(F)

    Successfully processed 1 files; Failed processing 0 files

    File Dir:
    C:\Users\dan\Pictures\Screenshots>dir /N
     Volume in drive C has no label.
     Volume Serial Number is 32D7-43D7

     Directory of C:\Users\dan\Pictures\Screenshots

    06/25/2025  09:33 PM    <DIR>          .
    05/28/2025  09:33 AM    <DIR>          ..
    06/28/2024  12:25 PM           157,400 Screenshot 2024-06-28 122511.png
    07/03/2024  02:06 PM           201,999 Screenshot 2024-07-03 140635.png
    07/03/2024  02:15 PM            15,069 Screenshot 2024-07-03 141505.png
    07/09/2024  11:09 AM           139,563 Screenshot 2024-07-09 110946.png
    10/26/2024  11:36 AM            21,828 Screenshot 2024-10-26 113643.png
    04/30/2025  10:07 AM           290,196 Screenshot 2025-04-30 100733.png
    05/20/2025  10:10 AM           199,684 Screenshot 2025-05-20 101026.png
    05/27/2025  02:10 PM            69,134 Screenshot 2025-05-27 141047.png
    05/27/2025  02:12 PM            49,651 Screenshot 2025-05-27 141217.png
    06/16/2025  03:30 PM           134,427 Screenshot 2025-06-16 153047.png
    06/25/2025  09:33 PM            46,664 Screenshot 2025-06-25 213347.png
                  11 File(s)      1,325,615 bytes
                   2 Dir(s)  1,327,760,248,832 bytes free

    Patrik Dufresne

    unread,
    Jun 26, 2025, 7:27:52 AMJun 26
    to min...@googlegroups.com

    Hi Dan,

    Thanks for the additional details.

    The PermissionError: [Errno 13] Permission denied: b'WIN/C/Users/dan/Pictures/Screenshots/rdiff-backup.tmp.9' is raised on the server side, not the client side. This indicates that the issue likely stems from insufficient write permissions on the destination directory or file on the server, rather than from the client initiating the backup.

    To help further troubleshoot, could you provide more information about the server's environment? Specifically:

    • The operating system and version

    • The type of file system used on the backup destination

    • Any particular access control or permission model in place (e.g., ACLs, network shares, etc.)

    This information will help determine if there's anything unusual compared to a standard Debian server with an ext4 file system, which is the typical setup expected by rdiff-backup.

    Let me know what you find on the server side.


    Message has been deleted

    Dan Waldow

    unread,
    Jul 6, 2025, 4:42:44 PMJul 6
    to Minarca Data Backup
    Yep ...

    The server OS and version + Kernel:
    dan@waldow1:~ $ cat /etc/lsb-release
    ───────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────
           │ File: /etc/lsb-release
    ───────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────
       1   │ DISTRIB_ID=Ubuntu
       2   │ DISTRIB_RELEASE=24.04
       3   │ DISTRIB_CODENAME=noble
       4   │ DISTRIB_DESCRIPTION="Ubuntu 24.04.2 LTS"
    ───────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────
    dan@waldow1:~ $ uname -r
    6.8.0-62-generic

    type of file system on the server hosting the backup repo + from fstab:
    10.x.x.x:/backups /mnt/backups nfs defaults 0 0
    This mount is a QNAP NAS.

    No special ACLs setup or permissions.
    dan@waldow1:~ $ ls -al /mnt/backups
    total 44
    drwxrwxrwx+ 5 minarca minarca 4096 Jun 25 13:46 .
    drwxr-xr-x  8 root    root    4096 Jun  4 18:31 ..
    drwxrwx---+ 9 minarca minarca 4096 Jul  1 10:38 admin
    -rwxrwxrwx+ 1    1001 users   6148 Jun 25 13:47 .DS_Store
    -rw-------+ 1 root    root      43 Jun  5 09:12 .shards
    drwx------+ 2 root    root    4096 Jun  4 18:41 .ssh

    dan@waldow1:backups/admin $ ls -al
    total 72
    drwxrwx---+ 9 minarca minarca 4096 Jul  1 10:38 .
    drwxrwxrwx+ 5 minarca minarca 4096 Jun 25 13:46 ..
    drwxr-xr-x+ 4 minarca minarca 4096 May  3 22:39 Dans-Mac-mini
    drwxr-xr-x+ 4 minarca minarca 4096 Apr 22 16:11 dawaldow-mobl
    drwxr-xr-x+ 6 minarca minarca 4096 Apr 22 17:48 r-linux-home
    drwxr-xr-x+ 4 minarca minarca 4096 May  3 22:39 r-mac
    drwxr-xr-x+ 8 minarca minarca 4096 Jun  3 11:40 r-waldow1
    drwxr-xr-x+ 7 minarca minarca 4096 Jan 26 18:01 r-waldow2
    drwxr-x---+ 3 minarca minarca 4096 Jun 21 16:11 WIN
    dan@waldow1:backups/admin $ 

    Is this the right information you were looking for?
    Thanks!

    Again, note that my MAC and LINUX backups do not have this same issue as far as I can tell -- it is only my Windows client.

    Latest backup log - note that I removed the .lnk file in question and still get the error.

    * Processing changed file Users/dan/Desktop
    * Incrementing mirror file WIN/C/Users/dan/Desktop
    * Processing changed file Users/dan/Desktop/Minarca Backup.lnk
    * Incrementing mirror file WIN/C/Users/dan/Desktop/Minarca Backup.lnk
    * Sending back exception '[Errno 13] Permission denied: b'WIN/C/Users/dan/Desktop/Minarca Backup.lnk'' of type <class 'PermissionError'> with traceback   File "rdiff_backup/connection.py", line 515, in _answer_request
      File "rdiff_backup/backup.py", line 210, in patch_and_increment

      File "rdiff_backup/rorpiter.py", line 146, in __call__
      File "rdiff_backup/backup.py", line 818, in fast_process_file

      File "rdiff_backup/rpath.py", line 915, in delete

    * Cleaning up
    * Cleaning up
    Traceback (most recent call last):
      File "minarca_client\main.py", line 224, in _rdiff_backup
      File "rdiffbackup\run.py", line 108, in main_run
      File "rdiffbackup\actions\backup.py", line 154, in run
      File "rdiff_backup\backup.py", line 53, in mirror_and_increment_compat200

      File "rdiff_backup\connection.py", line 590, in __call__
      File "rdiff_backup\connection.py", line 438, in reval
    PermissionError: [Errno 13] Permission denied: b'WIN/C/Users/dan/Desktop/Minarca Backup.lnk'
    Reply all
    Reply to author
    Forward
    0 new messages