Incbackup

Hy… have news??? @usmannasir

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.

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

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

Same issue here

I will check and revert.

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

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].

This key still exists in your aws account ?

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…

1 - Backup/Restore - Docs / 07 - Backups - CyberPanel Community

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]

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]

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

2 Likes

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:~#

How about /home/lucianomilani.com/.cache/restic

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:~#

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!

1 Like

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

@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