-
Hi guys, I am trying to back up my realm db file. Below is my code, not sure where I am doing it wrong as
and I am getting an exception of
If this is considered as an issue I will gladly transfer this post to an issue. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
nirinchev
Sep 10, 2023
Replies: 1 comment 1 reply
-
if (!File.Exists(backupDirectory))
{
File.Create(backupDirectory);
} You're creating the backup directory as a file, not as a directory. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jbtdevgit
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You're creating the backup directory as a file, not as a directory.