Open ghost opened 6 years ago
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
+1 any update on when this might be implemented?
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.
for the helm based installation, you can try with https://goharbor.io/docs/2.6.0/administration/backup-restore/
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.