Restoring a backup #290
Unanswered
Bios-Marcel
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While dumping data into a backup is quite easy, restoring doesn't seem to be so easy.
If the storage target is of the same type, simply copying everything would work.
But if the main storage is a local directory and the backup storage is an sql server, this won't work.
I have already tried the following workflow:
While this might technically work, I haven't had the patience to actually wait for the server to start.
For some reason, booting the server with the sqlServer as the datasource is SUPER SLOW. The database is only 4 gigabytes and the server runs on the same machine, which has 32gigs of RAM and neither CPU, RAM nor disk seem to be bottlenecking.
I have also tried simply running
localStorage.importFiles(sqlServer.listFiles())
, but that threw an exception:Is there any correct and not super slow way to restore a backup from a different type of storage target?
I think this is kind of missing in the documentation.
Maybe there's also something "wrong" with my demo case?
I have this structure:
Is there any reason for this to be extremly slow?
Beta Was this translation helpful? Give feedback.
All reactions