-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
Error message verbosity: "file changed as we read it" #666
Comments
Thanks, command is |
@p1r473 Would you please share which file or directory of pihole created your issue? |
/etc/pihole/pihole-FTL.db |
Well I tried to exclude these files but still same issue
so only these 2 files:
However, it seems still file changed as we read Im excluding these 2 files:
Sidenote: Not sure why Im getting |
Yes. In the log I find
Your exclude statements are correct. I just created a tar backup of my system running pihole (I use rsync all the time). I don't stop any pihole nor do I exclude any files but the tar backup finished successfully. Is there any reason why you don't stop pihole in raspiBackup? If yes I suggest to exclude the whole pihole directory and check. |
I try to not stop pihole as it is running my DNS server and do not want to cause any DNS related network outage |
I see your point 😄 I create my backups at 5am where there are usually no clients used by humans active. All my servers which need network connectivity all the time are configured not to use pihole but my internet router DNS. So I would be able to stop pihole without interrupting my servers. But again: I can create a backup without any issues with pihole if I don't stop pihole. Looks like you have some very special environment setup 😉 |
The correct command to see all file activity is as follows. I added more toggles than just the one above With this I was able to see some non standard custom files and folders of mine being accessed |
Thank you very much for sharing 👍 Looks like it's a good idea to include all events instead of a subset to find the responsible object which changed during backup 😄 . |
Notification eMail from github from p1r473: I have no clue why I can't find the comment here so I add it on behalf of p1ra73:
@p1r473 Thank you very much for sharing. For your info: |
Hello,
I am trying to get raspiBackup to backup most of my PiHole installation. I was previously excluding /etc/pihole but am tired of reinstalling PiHole after every restore.
The error I am getting is:
tar: /etc/pihole: file changed as we read it
raspiBackup.log
Is there any way to see which file in this folder is the one that changed? The error only lists the whole folder so I dont know what to exclude.
I thought its the .db file but I had this line in there:
DEFAULT_EXCLUDE_LIST="--exclude=/etc/pihole/*.db"
I believe the wildcard should work in the tar exclude according to my research.
Is there any way to increase the verbosity of the error message to see which file in the folder is the one that changed? Rather than listing the whole folder?
Edit: Issue #666 😈
The text was updated successfully, but these errors were encountered: