How to uplaod the downloaded tar.gz backup file
-
Have downloaded the backup but now i don't know how to upload and restore the app from it.
Methods i have tried - Creating a Volume mount and uploading the tar.gz file within it but then it says access denied, and i have tried to upload the file through the app terminal /tmp and then importing it from the filesystem with the relative backup path "/tmp/app-backup-2024-05-02-20-08-08.tar.gz" but this just gives the error, Help.
-
Normally you just follow the process here to restore apps https://docs.cloudron.io/backups/#restore-app
-
But i'm stuck on how to even upload the tar.gz backup file on the server,
-
-
@little-butler you have to upload the file manually into say /tmp or /var/backups using scp or some other tool. There is no functionality in the UI to upload backup file and restore from there . There is a feature request for this somewhere. It was initially not implemented because mostly backups are quite big and it's not well suites for upload via the browser.
-
Using the terminal > Upload to /tmp > backup through Filesystem and with the backup path "/tmp/app-backup-2024-05-03-07-12-57.tar.gz" > Error
Not found: File not found: /tmp/app-backup-2024-05-03-07-12-57.tar.gz
As an alternative, I'm trying to use Bunnycdn storage that supports FTP for the backups, but im confused on the details to be filled in SSHFS Mount,
Username to user
hostname to hostname
port to port
password to private key
As i have just opened the bunnycdn account i used "/" as the remote directory but im getting the error "Failed to mount (inactive): Could not determine mount failure reason." -
If you mean the webterminal, then this is into the filesystem of the app, not the host system. Cloudron does not have a webterminal into the host system, as it is not advised to tinker with this. However in this case you should use
scp
(essentially file transfer viassh
) to put the tarball into the /tmp of the server. -