Operating System & Version
CloudLinux 7.9.0
cPanel & WHM Version
100.0.4

docw

Member
Aug 31, 2019
20
4
3
4&Xv>q7cC%[email protected]=Q
cPanel Access Level
Root Administrator
Apologies for another Toolkit post...

When you clone a website you have the option to create a restore point when you copy data back to the live site. The help text explains that this can be used to roll back the changes if anything goes wrong. That's great, but the restore point is not showing under "Backup and Restore".

I have found the snapshots in ~/.wp-toolkit/snapshots/, so they are there. However, as far as I can tell there is no easy way to use the snapshots to restore the changes. I tried copying the snapshots to ~/wordpress-backups but they don't show up under the "Backup and Restore" tab (I think because of the file names?).

Code:
# rsync -av --chown=example:example ~example/.wp-toolkit/snapshots/*.zip ~example/wordpress-backups/
sending incremental file list
instance_db_130_wiwxy.zip
instance_files_130_mghnhy.zip

sent 19,933,479 bytes  received 54 bytes  39,867,066.00 bytes/sec
total size is 19,928,418  speedup is 1.00

# ls -l ~example/wordpress-backups/
total 19472
drwx------  2 example example     4096 Nov 29 18:59 ./
drwx--x--x 20 example example     4096 Nov 29 18:53 ../
-rw-r--r--  1 example example     6050 Nov 29 18:51 instance_db_130_wiwxy.zip
-rw-r--r--  1 example example 19922368 Nov 29 18:51 instance_files_130_mghnhy.zip
I haven't been to find any documentation about how to restore a website using a restore point created while copying data. Is using a restore point a manual process, or is the restore point supposed to be listed under "Backups and Restore"?