[OBSOLETE] URL AND local file for restore operation


#1

Reporting features as I go along here… :blush:

I’m doing some backup / restore operations right now and one thing that would make my life easier is if I could select a local file instead of a URL for my Backup.zip.

(Noticed I already had requested this :stuck_out_tongue: )

BTW, I checked [IMPLEMENTED] Restore Backup (BETA) filesystem file location
and it says IMPLEMENTED but I pulled down the latest squidex:dev image but I only see “URL to backup”. I do not see any “Local file to backup”. Has this feature been deployed or do I need to enabled it somehow?


#2

You can define a local file in the file system of the server with file://C:/ url.


#3

Not working for me.

It says:

2019-05-03T13:03:44Z: Started. The restore process has the following steps:
2019-05-03T13:03:44Z: * Download backup
2019-05-03T13:03:44Z: * Restore events and attachments.
2019-05-03T13:03:44Z: * Restore all objects like app, schemas and contents
2019-05-03T13:03:44Z: * Complete the restore operation for all objects
2019-05-03T13:03:44Z: Downloading Backup
2019-05-03T13:03:44Z: Cannot download the archive: Could not find file '/app/C:\Backup.zip'..

Tried:
file://C:/Backup.zip
file:///C:/Backup.zip

Checked this post:


#4

What is `/app/C:\Backup.zip´?


#5

I don’t know.

asp.net core root path or something?


#6

I just tested your backups from the other thread with paths like
file://C:/Users/sebastian/Downloads/backup-animals-2019-05-04_10-41-10.zip and it worked.


#7

I’m runnning Squidex in Docker for Windows as a Linux container… I run Docker for Windows on a Windows 10… so different file systems… maybe that’s the issue?


#8

Yes, then you have to mount a volume to your container and then use the Linux path.


#9