-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
[BUG] automatic backup failed. #96
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
Did you restore a backup when initially setting this up? Also, not sure why you have your backup volume there as it's not part of our compose but you've not declared it as a folder within the container. |
Yes, it was migrated from linuxserver/unifi-controller and the configs were restored from that container.
I didn't create these links nor the folders. The only container mount I created is from the line under volumes in compose.yaml file, i.e. Could you tell me where the supported backup location is? |
You've not defined the volume correctly. Thought let's start with what your full path for your Users that have had this issue in the past is due to permissions or running on remote file systems. |
As shown on the compose.yaml, it is on
Might be. Update on the situation: I have created the directory |
Based on your It looks like you mapped incorrect folders and as a result you are looking in the wrong place. You should replace your mount paths with absolute paths (and ideally different paths for the two containers) so you (and we) know exactly what folders you're mapping.
You should not do that. The path
My suggestions are:
|
Sorry for the confusion. The actual compose.yaml was a merge of 3 compose.yaml files located in 3 folders. I merged them manually here for simplicity. To my oversight, I should have fixed the relative paths of the two volumes before posting. My fault. Here is the root compose.yaml:
The two Using relative paths was for the purpose of an easy migration between machines/virtual hosts. With the same user and group setup, the whole stack can be migrated with a single rsync command. Absolute paths require a lot of edit afterwards.
yes, i understand they are symlinks to the mounted folders on the host. And the symlinks are intact on my container. It just didn't create the autobackup folder for an unknown reason.
Thanks a lot for your help. Let me think about how the whole migration strategy again. |
Hi! I had the same problem and I solved it as suggested above by manually creating the @janusn about running the backup at specific times:
I had my backup to run now at 23:00, so for me the reschedule settings works. Though I get another error in the log that might be related:
I have my backup setting set to Backup Retention: 90 days. I'm not sure if the backup I got now actually includes 90 days of data or not. |
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
Is there an existing issue for this?
Current Behavior
I have enabled automatic daily config backup on the system pane.
The automatic backup never happens and I find the following errors on the /usr/lib/unifi/logs/server.log every day.
Expected Behavior
Automatic backup saved daily.
Steps To Reproduce
Environment
CPU architecture
x86-64
Docker creation
Container logs
The text was updated successfully, but these errors were encountered: