-
-
Notifications
You must be signed in to change notification settings - Fork 627
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
(Backup) .. RESTORE - needs a fix #454
Comments
I think that fix need to be done at "/cyberpanel/backup/backupManager.py" /home/netbos/cyberpanel/backup/backupManager.py: 4 matches in 1 file `Searching 21 files for "backup/*.tar.gz" 0 matches Searching 21 files for ".tar.gz" /home/netbos/cyberpanel/backup/backupManager.py: 4 matches in 1 file Searching 3518 files for "it will detect all Back ups under /home/backup" 0 matches Searching 3518 files for "it will detect all Back ups under" /home/netbos/cyberpanel/backup/templates/backup/restore.html: 14 {% trans "Restore Website" %} - {% trans "Backup Docs" %}15: {% trans "This page can be used to restore your websites, Back up should be generated from CyberPanel Back up generation tool, it will detect all Back ups under /home/backup." %} 16 17 /home/netbos/cyberpanel/locale/bn/LC_MESSAGES/django.po: /home/netbos/cyberpanel/locale/br/LC_MESSAGES/django.mo: /home/netbos/cyberpanel/locale/br/LC_MESSAGES/django.po: /home/netbos/cyberpanel/locale/bs/LC_MESSAGES/django.mo: /home/netbos/cyberpanel/locale/bs/LC_MESSAGES/django.po: /home/netbos/cyberpanel/locale/cn/LC_MESSAGES/cyberpanel.mo: /home/netbos/cyberpanel/locale/cn/LC_MESSAGES/cyberpanel.po: /home/netbos/cyberpanel/locale/cn/LC_MESSAGES/django.mo: /home/netbos/cyberpanel/locale/cn/LC_MESSAGES/django.po: /home/netbos/cyberpanel/locale/de/LC_MESSAGES/django.mo: /home/netbos/cyberpanel/locale/de/LC_MESSAGES/django.po: /home/netbos/cyberpanel/locale/es/LC_MESSAGES/django.mo: /home/netbos/cyberpanel/locale/es/LC_MESSAGES/django.po: /home/netbos/cyberpanel/locale/fr/LC_MESSAGES/django.mo: /home/netbos/cyberpanel/locale/fr/LC_MESSAGES/django.po: /home/netbos/cyberpanel/locale/gr/LC_MESSAGES/django.mo: /home/netbos/cyberpanel/locale/gr/LC_MESSAGES/django.po: /home/netbos/cyberpanel/locale/id/LC_MESSAGES/django.mo: /home/netbos/cyberpanel/locale/id/LC_MESSAGES/django.po: /home/netbos/cyberpanel/locale/it/LC_MESSAGES/django.mo: /home/netbos/cyberpanel/locale/it/LC_MESSAGES/django.po: /home/netbos/cyberpanel/locale/ja/LC_MESSAGES/django.mo: /home/netbos/cyberpanel/locale/ja/LC_MESSAGES/django.po: /home/netbos/cyberpanel/locale/pl/LC_MESSAGES/django.mo: /home/netbos/cyberpanel/locale/pl/LC_MESSAGES/django.po: /home/netbos/cyberpanel/locale/pt-BR/LC_MESSAGES/django.mo: /home/netbos/cyberpanel/locale/pt-BR/LC_MESSAGES/django.po: /home/netbos/cyberpanel/locale/pt/LC_MESSAGES/django.mo: /home/netbos/cyberpanel/locale/pt/LC_MESSAGES/django.po: /home/netbos/cyberpanel/locale/ru/LC_MESSAGES/django.mo: /home/netbos/cyberpanel/locale/ru/LC_MESSAGES/django.po: /home/netbos/cyberpanel/locale/tr/LC_MESSAGES/django.mo: /home/netbos/cyberpanel/locale/tr/LC_MESSAGES/django.po: /home/netbos/cyberpanel/locale/ur-PK/LC_MESSAGES/django.po: /home/netbos/cyberpanel/locale/vi/LC_MESSAGES/django.mo: /home/netbos/cyberpanel/locale/vi/LC_MESSAGES/django.po: 37 matches across 37 files |
Looks like the backup system needs to be updated to a new version, backup/backupManager.py needs to be updated, as well as plogical/backupUtilities.py to properly restore, and the template needs to be updated to select from a list of sites. Updating backupManager.py to have the proper domain does allow the files to be select, however the restore still fails. |
facing same issue, can backup but unable to restore. |
I can create a backup, fine!
Its getting saved in
/home/DOMAIN/backup/MYBACKUP_DATE.tar.gz
But when trying to restore it, the page is saying:
it will detect all Back ups under /home/backup.
Thats the wrong path and a "normal" (non-admin) user will never be able to place the files there (without messing around with ACLs) - So atm a user has to connect via ssh to manually unpack and replace the files from backup, if necessary.
The concept of backup/restore seems not thought through to be honest.
PS: Overall i love CP!
The text was updated successfully, but these errors were encountered: