New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Operation not supported" after finishing backup #739
Comments
According the log the ddz backup was stored
and at the end raspiBackup tries to move the logs which were created in /tmp into the backup directory also.
But now there is no write access to the log directory any more.
That's executed when the backup finished but I don't think these commands change some access rights. As you already wrote you use ftp with curlftps
I never tested raspiBackup with curlftps but as far as I understand it should work. In the log I can see you already tested with an ntfs disk already. Did you get there the same issue? |
Tried another manual backup, at the end in the /tmp dir there were these files: The raspiBackup.logf had this lines:
|
So it seems it's an incompatibility between the This reply solves it by doing a |
Interesting you found the root cause and a solution 👍 You use curlftpfs. From the debug log I cannot see which filesystem is used by the FTP server. According your link it looks like there is another filesystem than ext4 used. Which filesystem do you use there? As far as I see another way to save the files is by rsync which I prefer. But I have to test this. In order to reproduce your issue I have to know the details about your ftp Server setup 😉 |
The server filesystem is the same as the client system, ext4: However I don't think Synology's OS follows UNIX rules, because it seems that from version 5 onwards it applies Windows ACL permission system to shared folders by default: https://kb.synology.com/en-us/DSM/help/DSM/AdminCenter/file_share_privilege?version=6. There's this interesting bit in the Synology KB:
Will try to enable this and see if it changes anything |
Thank you very much you test this. I also have a Synology and I'm puzzled time by time by the way Synology manages access rights. Frankly I suggest to use nfs instead of ftp to access the backup directory. That way you are also able to use rsync and get benefit from the hardlinks used by rsync. This will reduce the backup time and also reduce backup space. |
Unfortunately it didn't change anything, still same errors as before :/ |
I'll create a branch for your issue and will use rsync to copy the log and msg file into the backup space. Will keep you posted when the fix is ready and you can test the fix 😉 |
Here we are: Use |
Strange, I think I started the fix correctly but the output is almost the same: https://pastebin.com/i1Yp81aV Only these two lines were not present in the /tmp/raspiBackup.logf file this time:
|
Ok. We're one step further now. On pastebin I find But in the debug log I find So you attached the wrong debug log 😉 |
Hm ... that's indeed strange. At the end of the backup run raspiBackup reports the location of the debug log. |
Tried again turns out the log file wasn't moved from the tmp folder: Also the /tmp/raspiBackup.logf file contained only these lines: |
I have to setup a ftp server and use curlftpfs as my backup space and try to recreate your issue. Otherwise I'm not able to debug and fix your issue. I suggested to use nfs instead of curlftpfs. Is this not a workaround for you? |
I was able to reproduces your issue. I have to work on this for next release. |
After the backup finishes, the raspiBackup script tries to execute some command that results in a "Operation not supported" error:
https://pastebin.com/ShKviL3K
This is likely related to the fact that the backup folder is a FTP server on a Synology NAS.
The user with which the folder is mounted already has all permissions and the mount uses the options uid=1000,gid=1000,umask=0022 in the fstab file.
This is the debug log file: raspiBackup.log
The text was updated successfully, but these errors were encountered: