restoring apps from wasabi
-
Hello there, got an issue here..
I was making mistake with my site 2 days ago, where I happened to reinstall my instance with my Vultr account that hosts this site. The reinstalling was deleting the server clean. It was too late for me to realize that.
I managed to restore the backup from the snapshot of Vultr but it was dated 9 days ago. I do have another backup from this 2 days ago from Wasabi, several hours before the mistake I did. But since the site was restored from the Vultr, the site backup page would also list the Wasabi backup from that 9 days ago too.
From 9 days ago, the site had 10 apps only.
From wasabi, 2 days ago, the site has had 12 apps and some extra 10 gb data which already put in.How can I restore this? Maybe somebody can help?
Any idea?Kind a frustrating here as Vultr support would not help, and Cloudron support have not replied me yet either. Thanks, there is a forum of Cloudron here.
-
@arnoldsigik probably the easiest way is to fire up another vultr instance and restore the backup to the new machine. if you install a fresh cloudron, you can choose to restore, that's where you enter the backup details and credentials.
-
@msbt Is there any step by step guidance here on how to do this? I mean like how to load the backup files on a new vultr instance before installing cloudron. Also how to choose these backup files to be restored on the cloudron installation?
-
Actually into the https://my.domain.here/#/backups, where the backup of Cloudron is listed, there is no restore button to use the backup I did with Wasabi. All I have is the download backup configuration file icon. When I click that, it gives me only a jason file. How to restore this?
In my opinion, I think it is easier if this https://my.domain.here/#/backups can be modified to read the current backup list on wasabi.. is it possible?
-
@arnoldsigik You have two options:
-
You can restore from the full backup of 2 days ago. This requires you to start Cloudron from scratch though. No way around not re-installing Cloudron. Install a fresh instance of Cloudron and follow the instructions at https://docs.cloudron.io/backups/#restore-cloudron .
-
You can individually restore the apps. It seems you have 2 apps missing now. What you can do is install a fresh instance of those 2 apps. Once the fresh instance of app is installed, import the latest backup - https://docs.cloudron.io/backups/#import-app-backup . Basically, just go to app -> backups -> import backup and import from wasabi. The complication here is that the backup id can be tricky to find because they are of the form
app_<appid>.tar.gz
. One idea is to match the app ids in your current instance and the ones in the folder. This will help you identify what are missing. Then maybe you can extract the tar.gz to further identify what app this was of. There is a task to help identify the backups further - https://git.cloudron.io/cloudron/box/-/issues/782
Kind a frustrating here as Vultr support would not help, and Cloudron support have not replied me yet either. Thanks, there is a forum of Cloudron here.
Sorry for the delay, support can be slow over the weekends. If you need help in identifying the app backups like in the second approach, please let us know on support and we can help you there.
-
-
@girish said in restoring apps from wasabi:
Basically, just go to app -> backups -> import backup and import from wasabi. The complication here is that the backup id can be tricky to find because they are of the form app_<appid>.tar.gz . One idea is to match the app ids in your current instance and the ones in the folder. This will help you identify what are missing. Then maybe you can extract the tar.gz to further identify what app this was of.
Yes, I got the id of the app..
/home/path-my-cloudron/id-numberand I got the backup file..
app_id-number_2021-04-24-071010-567_v4.8.9.tar.gzSo I am assuming I should just put the id-number into the Backup ID?
-
@arnoldsigik I think the "id-number" that you refer above is actually the backup timestamp?
Essentially put in the entire path including the directory name but without the .tar.gz as the backup ID - So,
timestamp/app_id-number_2021-04-24-071010-567_v4.8.9