1 - Backup/Restore

CyberPanel supports one click back/restore for your accounts.


How To Take Backup

Taking complete backup of a website account is simple.

Main » Backup » Create Backup

  1. Select website from the list that you want to backup.

  2. Select backup destination.

  3. Click ‘Create Backup’.

It will take some time depending on the amount of space the account is using.

Backup location is: /home/<domain name>/backup

Note: You can close the window and come back later to check the status of backup creation.


Restore Backup

Backup restore only works with backups generated through backup generation tool in CyberPanel.

Main » Backup » Restore Backup

Place your backup files under /home/backup/

This will detect all files under /home/backup/. It may take some time, you can also leave the window and come back later to check.

1 Like

Mine is not working. the file is not created. how to solve this?

Looks working and completed. but the file is 0 mb. the file doesn exist.

Any information on the logs?

[12.07.2021_06-47-46] [Errno 13] Permission denied: ‘/home/smpasbc.my.id/backup/status’ [statusWriter]
[12.07.2021_06-47-46] /home/smpasbc.my.id/backup/
[12.07.2021_06-47-46] /home/smpasbc.my.id/backup/backup-smpasbc.my.id-12.07.2021_06-47-45
[12.07.2021_07-03-02] Domains matching query does not exist… [179:prepMeta]
[12.07.2021_07-03-02] [Errno 13] Permission denied: ‘/home/smpasbc.my.id/backup/status’ [statusWriter]
[12.07.2021_07-03-02] /home/smpasbc.my.id/backup/
[12.07.2021_07-03-02] /home/smpasbc.my.id/backup/backup-smpasbc.my.id-12.07.2021_07-03-02
[12.07.2021_07-16-59] Domains matching query does not exist… [179:prepMeta]
[12.07.2021_07-16-59] [Errno 13] Permission denied: ‘/home/smpasbc.my.id/backup/status’ [statusWriter]
[12.07.2021_07-16-59] /home/smpasbc.my.id/backup/
[12.07.2021_07-16-59] /home/smpasbc.my.id/backup/backup-smpasbc.my.id-12.07.2021_07-16-59
[12.08.2021_00-00-35] [Errno 2] No such file or directory: ‘/home/cyberpanel/git’. [IncScheduler.git:90]
[12.08.2021_02-00-03] Running SSL Renew Utility
[12.08.2021_02-00-03] Checking SSL for smpasbc.my.id.
[12.08.2021_02-00-03] SSL exists for smpasbc.my.id. Checking if SSL will expire in 15 days…
[12.08.2021_02-00-03] SSL exists for smpasbc.my.id and is not ready to renew, skipping…
[12.08.2021_02-00-03] Checking SSL for info.smpasbc.my.id.
[12.08.2021_02-00-03] SSL exists for info.smpasbc.my.id. Checking if SSL will expire in 15 days…
[12.08.2021_02-00-03] SSL exists for info.smpasbc.my.id and is not ready to renew, skipping…
[12.08.2021_02-00-03] Checking SSL for codeigniter.smpasbc.my.id.
[12.08.2021_02-00-03] SSL exists for codeigniter.smpasbc.my.id. Checking if SSL will expire in 15 days…
[12.08.2021_02-00-03] SSL exists for codeigniter.smpasbc.my.id and is not ready to renew, skipping…
[12.08.2021_02-00-03] Checking SSL for rudyjatmiko.my.id.
[12.08.2021_02-00-03] SSL exists for rudyjatmiko.my.id. Checking if SSL will expire in 15 days…
[12.08.2021_02-00-03] SSL exists for rudyjatmiko.my.id and is not ready to renew, skipping…
[12.08.2021_02-00-03] Checking SSL for cbt.smpasbc.my.id.
[12.08.2021_02-00-03] SSL exists for cbt.smpasbc.my.id. Checking if SSL will expire in 15 days…
[12.08.2021_02-00-03] SSL exists for cbt.smpasbc.my.id and is not ready to renew, skipping…
[12.08.2021_02-00-03] Checking SSL for sisfokol.smpasbc.my.id.
[12.08.2021_02-00-03] SSL exists for sisfokol.smpasbc.my.id. Checking if SSL will expire in 15 days…
[12.08.2021_02-00-03] SSL exists for sisfokol.smpasbc.my.id and is not ready to renew, skipping…
[12.08.2021_02-00-03] Checking SSL for ujian.smpasbc.my.id.
[12.08.2021_02-00-03] SSL exists for ujian.smpasbc.my.id. Checking if SSL will expire in 15 days…
[12.08.2021_02-00-03] SSL exists for ujian.smpasbc.my.id and is not ready to renew, skipping…
[12.08.2021_02-00-03] Checking SSL for mail.rudyjatmiko.my.id.
[12.08.2021_02-00-03] SSL exists for mail.rudyjatmiko.my.id. Checking if SSL will expire in 15 days…
[12.08.2021_02-00-03] SSL exists for mail.rudyjatmiko.my.id and is not ready to renew, skipping…
[12.08.2021_02-34-00] Domains matching query does not exist… [179:prepMeta]
[12.08.2021_02-34-00] [Errno 13] Permission denied: ‘/home/smpasbc.my.id/backup/status’ [statusWriter]
[12.08.2021_02-34-00] /home/smpasbc.my.id/backup/
[12.08.2021_02-34-00] /home/smpasbc.my.id/backup/backup-smpasbc.my.id-12.08.2021_02-34-00
[12.08.2021_07-38-04] Expecting value: line 1 column 1 (char 0)
[12.08.2021_09-49-09] Domains matching query does not exist… [179:prepMeta]
[12.08.2021_09-49-12] [Errno 13] Permission denied: ‘/home/smpasbc.my.id/backup/status’ [statusWriter]
[12.08.2021_09-49-12] /home/smpasbc.my.id/backup/
[12.08.2021_09-49-12] /home/smpasbc.my.id/backup/backup-smpasbc.my.id-12.08.2021_09-49-09
[12.08.2021_09-49-19] Domains matching query does not exist… [179:prepMeta]
[12.08.2021_09-49-19] [Errno 13] Permission denied: ‘/home/smpasbc.my.id/backup/status’ [statusWriter]
[12.08.2021_09-49-20] /home/smpasbc.my.id/backup/
[12.08.2021_09-49-20] /home/smpasbc.my.id/backup/backup-smpasbc.my.id-12.08.2021_09-49-19

how to fix it?

Its a directory permission issue. Try to grant permission to the folder at /home/smpasbc.my.id/backup/
use chown command

Or inside file manager, there is option “Fix Permissions”… click on that and this should solve the issue.

Not allowed to move in this path, please choose location inside home!

You will need to access your server using SSH or SFTP and move the file.

1 Like

Can you send an assistant link to use them and what are the code he does for the transfer?

bro @die2mrw007 : this is what i was asking
feature Filemanager for Root/Admin
so we no need ssh if we want to move file between account and/or to parent path
i hope you can talk to developer to add this feature…
almost all web panel have this feature

1 Like

I agree, but Filemanager was not a part of cyberpanel long before. Maintaining and developing file manager is almost like making a fresh software. There are huge number of developments required for developing and maintaining file manager. With the current limited developers in cyberpanel, developing the filemanager is not possible. If root permissions are added, then the file manager will require frequent updates and changes to address any security issues and a dedicated developer is required to maintain and check the developments of file manager.

Its not like without file manager, you cannot control your server as of now. You can use the cyberpanel provided basic file manager for all non root tasks. For all root tasks, you can use SFTP or SSH.

As cyberpanel is a self hosted panel, it is understood that the target users will be knowing basics of server management.

1 Like

I’ve updated the main thread with video tutorial on how to create and restore the backup.

3 Likes

Hi after trying to restore from backup I have received a message:
Error Message: Package matching query does not exist… Not able to create Account, Databases and DNS Records, aborting. [575][5009]
Can you help m, please!

1 Like

[Error Message: Virtual Host Directory already exists!. Not able to create Account, Databases and DNS Records, aborting. [575][5009] ]
Can you help m, please!

no i couldn’t find a solution to it

Did this panel installer finish everything, please find a solution to deal with it

It should not be done while installing.

I tried, I couldn’t

When i try to download a backup it goes to a 403 page. Not sure why. Thank you.

I made a simple python tool to help move files over to the right directory for backups
GitHub

Have an issue!!

Will first initiate backup repo…
Fatal: create repository at /home/site.com/incbackup failed: ReadDir: open /home/site.com/incbackup/keys: permission denied

Repo local initiated for site.com.
Meta data is ready…
Backing up data…
Fatal: unable to open repository at /home/site.com/incbackup: ReadDir: open /home/site.com/incbackup/keys: permission denied
. [5009].

What is the solution?

Dear, the backup creation service was working, and now when specifying the location, nothing appears
Is there a solution to the problem