Closed andybee closed 1 year ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
The autobackup definitely does work correctly OOTB, though I've not fiddled with the default schedule, and will output to /config/data/backup/autobackup
:
root@7372ebbc109f:/# ls -la /config/data/backup/autobackup/
total 153672
drwxr-xr-x 2 abc abc 4096 Jun 25 23:55 .
drwxr-xr-x 3 abc abc 4096 Jun 20 17:00 ..
-rw-r--r-- 1 abc abc 22347984 May 14 23:55 autobackup_7.3.83_20230514_2255_1684104900029.unf
-rw-r--r-- 1 abc abc 22209728 May 21 23:55 autobackup_7.3.83_20230521_2255_1684709700011.unf
-rw-r--r-- 1 abc abc 22228992 May 28 23:55 autobackup_7.3.83_20230528_2255_1685314500048.unf
-rw-r--r-- 1 abc abc 22582864 Jun 4 23:55 autobackup_7.3.83_20230604_2255_1685919300007.unf
-rw-r--r-- 1 abc abc 22810656 Jun 11 23:55 autobackup_7.3.83_20230611_2255_1686524100026.unf
-rw-r--r-- 1 abc abc 22598064 Jun 18 23:55 autobackup_7.3.83_20230618_2255_1687128900008.unf
-rw-r--r-- 1 abc abc 22550416 Jun 25 23:55 autobackup_7.4.156_20230625_2255_1687733700028.unf
-rw-r--r-- 1 abc abc 1186 Jun 25 23:55 autobackup_meta.json
That's good to know. I've tweaked the title of the bug accordingly. I wondered if it might be a timezone issue, I'm starting the container with UTC set in the Docker Compose, but I set it to my local time zone (UTC+1) in the UI which presumably would be when the backup actually runs.
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.
This situation would be the same as having UTC on a bare metal host and setting UTC+1 in the application. Unfortunately, we do not support the application, we support the container. The majority of our users (you're the only one that reported an issue) and ourselves do not face any issue with automatic backups. I would suggest engaging ubiquiti support.
This issue is locked due to inactivity
Is there an existing issue for this?
Current Behavior
When setting the auto backup to run, for example, daily at 10am, some time after 10am no files exist in
config/data/backup/autobackup
.Potentially interesting to note, the UI suggests files will be stored in a macOS path format (
/Users/<user>/Library/Application Data
etc.) - though I suspect this is the UI sniffing the browser client as it talks about macOS in several places...?Expected Behavior
I would expect a backup file to be present in the autobackup directory, or alternative behaviour to be documented somewhere.
Steps To Reproduce
config/data/backup/autobackup
directoryEnvironment
CPU architecture
x86-64
Docker creation
Container logs