Raising this issue to track feedback from Matt Cowger on Slack.
We need to support some mechanism by which a user can back up their Harbor node(s). A few possibilities I can think of on a whim:
Important to note that backing up is useless if we don't provide a mechanism by which a user can restore the backup.
This is indeed a useful feature. A regular snapshot is helpful.
Agreed for us, this is a blocker for using Harbor in production.
@lweitzman – thoughts on how you think this might look?
@cd1989 by snapshot, do you mean a snapshot to another DB instance or storage?
I personally don't think we can expose a backup feature in the OSS bits of Harbor, as this is quite deployment dependent.
So probably just a click to export SQL scripts, but do you think that'll be useful for the users?
@reasonerjt I basically agree with you. My origin opinion is, Harbor can provide a config for snapshot in the deployment of harbor. Then harbor can generate a snapshot of the whole database (SQL scripts for example) regularly. After a second though, it seems not necessary and too heavy.
So probably just a click to export SQL scripts, but do you think that'll be useful for the users?
I think it's useful. So that user can snapshot the database easily, and also if necessary, user can create some cron task to regularly snapshot the database to some external storage
I would love this feature plus the possibility to upload that backup to somewhere else as disaster recovery measure. Even API access to backup features would be fine as we can control that from ansible or so for instance.
👍
+1
+1
Most helpful comment
This is indeed a useful feature. A regular snapshot is helpful.