CyberPanel Community

Incbackup

LM
Luciano Milani #1

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

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

34 replies
LM
Luciano Milani #3

Starting restore of 1630eddc for blast4speed.net.
Restoring email…
Failed: Fatal: unable to open repo at /home/blast4speed.net/incbackup: ReadDir: open /home/blast4speed.net/incbackup/keys: permission denied
. [5009]
Emails restored.
Completed

LM
Luciano Milani #4

Good Morning Usmannasir… tks for yor reply…

Info: CyberPanel: v2.1.2
OS: Ubuntu 20.04
Kernel: 5.4.0-100-generic

I Have a 4 VPS in Contabo and use the centos web panel pro on my machines, but I decided to try Cyberpanel due to several positive reviews and the performance of the platform for running sites primarily on wordpress.

I created a new VPS to install the cyberpanel using Ubuntu 20.04 and installed it using the script according to your instructions…
Yesterday I tried out of desperation to run the upgrade script and realized that it reported several permissions errors…

RM
Rana Muhammad Usman Nasir #5

Can you create the backups without problem? Or do you have issues in creating backups too or only in restore?

LM
Luciano Milani #6

I crete a normal bkp and incremental bkp and remote backup to google drive…

Normal bkp create its Ok but is impossible restaure (dont have a interface working)
incremental BKP dont work for restaure and dont work for create (permissions)

RM
Rana Muhammad Usman Nasir #15

CyberPanel creates backups in user home directory. To restore it you need to manually move them to /home/backup.

CyberPanel will not auto move them.

LM
Luciano Milani #16

Ok…tks…and the permissions problems…any idea?

LM
Luciano Milani #17

Nothing positive about bkps I continue with the permissions problem, and I can’t restore bkps through the panel system.

NE
Nathan E #18

Same issue here

RM
Rana Muhammad Usman Nasir #20

I am not able to reproduce this on my end. Kindly someone send me the video to reproduce this error.

LM
Luciano Milani #21

Will first initiate backup repo…
Fatal: create repository at s3:s3.amazonaws.com/blast4speed.net failed: client.BucketExists: The AWS Access Key Id you provided does not exist in our records.

Repo s3:s3.amazonaws.com/5cbfd3c49e8649cca28a909ba4f179c1 initiated for blast4speed.net.
Meta data is ready…
Backing up data…
Fatal: unable to open config file: Stat: The AWS Access Key Id you provided does not exist in our records.
Is there a repository at the following location?
s3:s3.amazonaws.com/blast4speed.net
. [5009].

RM
Rana Muhammad Usman Nasir #24

This key still exists in your aws account ?

LM
Luciano Milani #26

Good morning…

Please usmannasir help here… backups it super nuclear and important thing to use the panel… i need trust in cyberpanel process (workflow) for restore and generate bkps…

I have normal bkps in directory but dont have option to restore in Panel… and alls incbkps dotn work never restore…

LM
Luciano Milani #28

Starting restore of 0d7b218b for lucianomilani.com.
Restoring data…
Failed: unable to open cache: chtimes /home/lucianomilani.com/.cache/restic/31f612df3b038285ae7152286f345edf715c9cd4cc93c710a737e673600c1143: operation not permitted
Load(<index/00a5799d9b>, 0, 0) returned error, retrying after 451.490174ms: open /home/lucianomilani.com/incbackup/index/00a5799d9b4e91f4ff2409dcb7bc1e02432edad1aea78398990c1e350ed0b993: permission denied
Load(<index/0246d01c1c>, 0, 0) returned error, retrying after 422.673004ms: open /home/lucianomilani.com/incbackup/index/0246d01c1cc113bd228c306a52ceb7af82df6b54dab01a7536f0430348cb51cb: permission denied
Load(<index/003ff9e141>, 0, 0) returned error, retrying after 388.428104ms: open /home/lucianomilani.com/incbackup/index/003ff9e1414ce71cc5b01f62a31a87af5bbf53e1a086c6b4b6e841f1011d7f6c: permission denied
Load(<index/01c62efa5a>, 0, 0) returned error, retrying after 250.71694ms: open /home/lucianomilani.com/incbackup/index/01c62efa5a0f47b69d2fc0b4a25f3ad0ae0e8a7e4e033679bedc95158a2311f8: permission denied
Load(<index/01c62efa5a>, 0, 0) returned error, retrying after 831.318273ms: open /home/lucianomilani.com/incbackup/index/01c62efa5a0f47b69d2fc0b4a25f3ad0ae0e8a7e4e033679bedc95158a2311f8: permission denied
Load(<index/003ff9e141>, 0, 0) returned error, retrying after 798.486666ms: open /home/lucianomilani.com/incbackup/index/003ff9e1414ce71cc5b01f62a31a87af5bbf53e1a086c6b4b6e841f1011d7f6c: permission denied
Load(<index/0246d01c1c>, 0, 0) returned error, retrying after 758.125253ms: open /home/lucianomilani.com/incbackup/index/0246d01c1cc113bd228c306a52ceb7af82df6b54dab01a7536f0430348cb51cb: permission denied
Load(<index/00a5799d9b>, 0, 0) returned error, retrying after 687.285943ms: open /home/lucianomilani.com/incbackup/index/00a5799d9b4e91f4ff2409dcb7bc1e02432edad1aea78398990c1e350ed0b993: permission denied
Load(<index/01c62efa5a>, 0, 0) returned error, retrying after 987.069169ms: open /home/lucianomilani.com/incbackup/index/01c62efa5a0f47b69d2fc0b4a25f3ad0ae0e8a7e4e033679bedc95158a2311f8: permission denied
Load(<index/00a5799d9b>, 0, 0) returned error, retrying after 678.808314ms: open /home/lucianomilani.com/incbackup/index/00a5799d9b4e91f4ff2409dcb7bc1e02432edad1aea78398990c1e350ed0b993: permission denied
Load(<index/0246d01c1c>, 0, 0) returned error, retrying after 700.859906ms: open /home/lucianomilani.com/incbackup/index/0246d01c1cc113bd228c306a52ceb7af82df6b54dab01a7536f0430348cb51cb: permission denied
Load(<index/003ff9e141>, 0, 0) returned error, retrying after 1.525656928s: open /home/lucianomilani.com/incbackup/index/003ff9e1414ce71cc5b01f62a31a87af5bbf53e1a086c6b4b6e841f1011d7f6c: permission denied
Load(<index/00a5799d9b>, 0, 0) returned error, retrying after 1.574783384s: open /home/lucianomilani.com/incbackup/index/00a5799d9b4e91f4ff2409dcb7bc1e02432edad1aea78398990c1e350ed0b993: permission denied
Load(<index/0246d01c1c>, 0, 0) returned error, retrying after 1.889408416s: open /home/lucianomilani.com/incbackup/index/0246d01c1cc113bd228c306a52ceb7af82df6b54dab01a7536f0430348cb51cb: permission denied
Load(<index/01c62efa5a>, 0, 0) returned error, retrying after 1.129550178s: open /home/lucianomilani.com/incbackup/index/01c62efa5a0f47b69d2fc0b4a25f3ad0ae0e8a7e4e033679bedc95158a2311f8: permission denied
Load(<index/003ff9e141>, 0, 0) returned error, retrying after 1.502065098s: open /home/lucianomilani.com/incbackup/index/003ff9e1414ce71cc5b01f62a31a87af5bbf53e1a086c6b4b6e841f1011d7f6c: permission denied
Load(<index/01c62efa5a>, 0, 0) returned error, retrying after 3.036043298s: open /home/lucianomilani.com/incbackup/index/01c62efa5a0f47b69d2fc0b4a25f3ad0ae0e8a7e4e033679bedc95158a2311f8: permission denied
Load(<index/00a5799d9b>, 0, 0) returned error, retrying after 1.961894185s: open /home/lucianomilani.com/incbackup/index/00a5799d9b4e91f4ff2409dcb7bc1e02432edad1aea78398990c1e350ed0b993: permission denied
Load(<index/0246d01c1c>, 0, 0) returned error, retrying after 1.533882986s: open /home/lucianomilani.com/incbackup/index/0246d01c1cc113bd228c306a52ceb7af82df6b54dab01a7536f0430348cb51cb: permission denied
Load(<index/003ff9e141>, 0, 0) returned error, retrying after 3.423527995s: open /home/lucianomilani.com/incbackup/index/003ff9e1414ce71cc5b01f62a31a87af5bbf53e1a086c6b4b6e841f1011d7f6c: permission denied
Load(<index/0246d01c1c>, 0, 0) returned error, retrying after 4.522384702s: open /home/lucianomilani.com/incbackup/index/0246d01c1cc113bd228c306a52ceb7af82df6b54dab01a7536f0430348cb51cb: permission denied
Load(<index/00a5799d9b>, 0, 0) returned error, retrying after 4.291041972s: open /home/lucianomilani.com/incbackup/index/00a5799d9b4e91f4ff2409dcb7bc1e02432edad1aea78398990c1e350ed0b993: permission denied
Load(<index/01c62efa5a>, 0, 0) returned error, retrying after 3.923349366s: open /home/lucianomilani.com/incbackup/index/01c62efa5a0f47b69d2fc0b4a25f3ad0ae0e8a7e4e033679bedc95158a2311f8: permission denied
Load(<index/003ff9e141>, 0, 0) returned error, retrying after 4.859367293s: open /home/lucianomilani.com/incbackup/index/003ff9e1414ce71cc5b01f62a31a87af5bbf53e1a086c6b4b6e841f1011d7f6c: permission denied
Load(<index/00a5799d9b>, 0, 0) returned error, retrying after 8.40416759s: open /home/lucianomilani.com/incbackup/index/00a5799d9b4e91f4ff2409dcb7bc1e02432edad1aea78398990c1e350ed0b993: permission denied
Load(<index/0246d01c1c>, 0, 0) returned error, retrying after 5.321185721s: open /home/lucianomilani.com/incbackup/index/0246d01c1cc113bd228c306a52ceb7af82df6b54dab01a7536f0430348cb51cb: permission denied
Load(<index/01c62efa5a>, 0, 0) returned error, retrying after 2.921679314s: open /home/lucianomilani.com/incbackup/index/01c62efa5a0f47b69d2fc0b4a25f3ad0ae0e8a7e4e033679bedc95158a2311f8: permission denied
Load(<index/003ff9e141>, 0, 0) returned error, retrying after 7.776024699s: open /home/lucianomilani.com/incbackup/index/003ff9e1414ce71cc5b01f62a31a87af5bbf53e1a086c6b4b6e841f1011d7f6c: permission denied
Load(<index/01c62efa5a>, 0, 0) returned error, retrying after 8.333370939s: open /home/lucianomilani.com/incbackup/index/01c62efa5a0f47b69d2fc0b4a25f3ad0ae0e8a7e4e033679bedc95158a2311f8: permission denied
Load(<index/0246d01c1c>, 0, 0) returned error, retrying after 4.592166586s: open /home/lucianomilani.com/incbackup/index/0246d01c1cc113bd228c306a52ceb7af82df6b54dab01a7536f0430348cb51cb: permission denied
Load(<index/00a5799d9b>, 0, 0) returned error, retrying after 12.050184115s: open /home/lucianomilani.com/incbackup/index/00a5799d9b4e91f4ff2409dcb7bc1e02432edad1aea78398990c1e350ed0b993: permission denied
Load(<index/0246d01c1c>, 0, 0) returned error, retrying after 15.183886314s: open /home/lucianomilani.com/incbackup/index/0246d01c1cc113bd228c306a52ceb7af82df6b54dab01a7536f0430348cb51cb: permission denied
Load(<index/003ff9e141>, 0, 0) returned error, retrying after 9.901556378s: open /home/lucianomilani.com/incbackup/index/003ff9e1414ce71cc5b01f62a31a87af5bbf53e1a086c6b4b6e841f1011d7f6c: permission denied
Load(<index/01c62efa5a>, 0, 0) returned error, retrying after 8.875336645s: open /home/lucianomilani.com/incbackup/index/01c62efa5a0f47b69d2fc0b4a25f3ad0ae0e8a7e4e033679bedc95158a2311f8: permission denied
Load(<index/00a5799d9b>, 0, 0) returned error, retrying after 17.923789172s: open /home/lucianomilani.com/incbackup/index/00a5799d9b4e91f4ff2409dcb7bc1e02432edad1aea78398990c1e350ed0b993: permission denied
Load(<index/003ff9e141>, 0, 0) returned error, retrying after 11.888456679s: open /home/lucianomilani.com/incbackup/index/003ff9e1414ce71cc5b01f62a31a87af5bbf53e1a086c6b4b6e841f1011d7f6c: permission denied
Load(<index/01c62efa5a>, 0, 0) returned error, retrying after 12.060789069s: open /home/lucianomilani.com/incbackup/index/01c62efa5a0f47b69d2fc0b4a25f3ad0ae0e8a7e4e033679bedc95158a2311f8: permission denied
Load(<index/0246d01c1c>, 0, 0) returned error, retrying after 24.26198484s: open /home/lucianomilani.com/incbackup/index/0246d01c1cc113bd228c306a52ceb7af82df6b54dab01a7536f0430348cb51cb: permission denied
Load(<index/003ff9e141>, 0, 0) returned error, retrying after 21.978629383s: open /home/lucianomilani.com/incbackup/index/003ff9e1414ce71cc5b01f62a31a87af5bbf53e1a086c6b4b6e841f1011d7f6c: permission denied
Load(<index/00a5799d9b>, 0, 0) returned error, retrying after 26.784622686s: open /home/lucianomilani.com/incbackup/index/00a5799d9b4e91f4ff2409dcb7bc1e02432edad1aea78398990c1e350ed0b993: permission denied
Fatal: unable to load index 01c62efa: open /home/lucianomilani.com/incbackup/index/01c62efa5a0f47b69d2fc0b4a25f3ad0ae0e8a7e4e033679bedc95158a2311f8: permission denied
. [5009]

LM
Luciano Milani #29

More problems…

After follow step by step video for create and restore website bkp (and delete website) i have this message:

Condition File Name Status
Error backup-capoeirams.com-03.16.2022_23-09-10.tar.gz Error Message: Package matching query does not exist… Not able to create Account, Databases and DNS Records, aborting. [575][5009]
RM
Rana Muhammad Usman Nasir #30

I would request you to either discuss incremental backup issues or normal backups issues. You are confusing both of them.

Since this post is about incbackups. Lets discuss that for normal backups you can create a separate post.

Give me output of ls -la /home/lucianomilani.com/.cache

LM
Luciano Milani #31

root@vmcp:~# ls -la /home/lucianomilani.com/.cache
total 12
drwx------ 3 lucia8062 lucia8062 4096 Feb 12 00:44 .
drwx–x–x 11 lucia8062 lucia8062 4096 Mar 15 00:03 …
drwx------ 3 lucia8062 lucia8062 4096 Feb 12 00:44 restic
root@vmcp:~#

LM
Luciano Milani #33

Enjoy your accelerated Internet by CyberPanel.

root@vmcp:~# ls -la /home/lucianomilani.com/.cache/restic
total 16
drwx------ 3 lucia8062 lucia8062 4096 Feb 12 00:44 .
drwx------ 3 lucia8062 lucia8062 4096 Feb 12 00:44 …
drwx------ 5 lucia8062 lucia8062 4096 Feb 12 00:45 31f612df3b038285ae7152286f345edf715c9cd4cc93c710a737e673600c1143
-rw-r–r-- 1 lucia8062 lucia8062 44 Feb 12 00:44 CACHEDIR.TAG
root@vmcp:~#

Zi
Zipelkopf #34

Hi,
I had the same issue reported by @lmilani about permissions.
I hope you got sorted already, but if not here it is how I could resolve it.

What I noticed is that when I use “incremental backups”, I had to create (first) an initial Incremental Backup manually and then after (and only after) add an Incremental Scheduled Backup (this for each site).
If I fail to do so, then the incremental scheduled backups are corrupted in some ways, having permission issues: I guess some initial setup is invalid/missing in the process… something that the CyberPanel Team could investigate about perhaps.

FYI, this is on CyberPanel 2.1.2, CentOS 7.

This is the way I could resolve the permission problem:

  • Delete your incremental backups from CyberPanel (perhaps there’s an alternative way to recover them, but I prefer to start with a clean slate)
  • Delete the incbackup directory from your site rm -fr /home/yoursite/incbackup or the File Manager
  • Run the “fix privilege” feature in the File Manager of your site (just in case)
  • Create a new initial incremental backup manually, picking the things you want to backups (i.e. data + database)
  • Add the incremental scheduled backup

All the best!

LM
Luciano Milani #35

I reinstall ubuntu and cyber panel and restart everthing… work but in not confortable

Zi
Zipelkopf #36

@lmilani I agree… backups are essentials and a tiny issue could be vital.
Have you received any additional info or update from the Cyberpanel crew?

Thanks

MA
Mohamed Ahmed #37

Have same 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?

MM
Mohamed Maher #38

i have the same problem & same message did you solve it ?

Sign in to reply