Skip to content
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

Support Backup and Restore 支持备份与恢复 #12

Merged
merged 16 commits into from
Nov 17, 2022
Merged

Support Backup and Restore 支持备份与恢复 #12

merged 16 commits into from
Nov 17, 2022

Conversation

itsHenry35
Copy link
Contributor

Support Backup and Restore 支持备份与恢复
image
image
image

@netlify
Copy link

netlify bot commented Nov 12, 2022

Deploy Preview for alist-web ready!

Name Link
🔨 Latest commit 63d5893
🔍 Latest deploy log https://app.netlify.com/sites/alist-web/deploys/637650551e9a660008e98401
😎 Deploy Preview https://deploy-preview-12--alist-web.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

src/pages/manage/backup-restore.tsx Outdated Show resolved Hide resolved
package-lock.json Outdated Show resolved Hide resolved
src/pages/manage/backup-restore.tsx Outdated Show resolved Hide resolved
src/pages/manage/backup-restore.tsx Outdated Show resolved Hide resolved
itsHenry35 and others added 10 commits November 13, 2022 13:08
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@itsHenry35 itsHenry35 requested a review from xhofe November 17, 2022 13:06
@xhofe xhofe merged commit 3ba8fe1 into AlistGo:main Nov 17, 2022
@itsHenry35
Copy link
Contributor Author

itsHenry35 commented Nov 17, 2022

@xhofe
image
It seems like there's something wrong with the code that you've edited, for meta, storage, and user that we have had already, we should use update instead of create, otherwise it won't restore the edits that you made to.
image

@xhofe
Copy link
Collaborator

xhofe commented Nov 17, 2022

@xhofe image It seems like there's something wrong with the code that you've edited, for meta, storage, and user that we have had already, we should use update instead of create, otherwise it won't restore the edits that you made to. image

I don't think backup should be used to overwrite existing data, and duplicate data should be skipped and handled manually by the user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants