Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup to UNC Path #38

Open
stephenhancock opened this issue May 6, 2021 · 1 comment
Open

Backup to UNC Path #38

stephenhancock opened this issue May 6, 2021 · 1 comment

Comments

@stephenhancock
Copy link

I have tried to set the outputDir to a UNC path in smartsheet-backup.properties but it keeps writing the files to the C drive where I am running the jar from.
I have used the format \server\folder

Thank you

@nalloyd2
Copy link

nalloyd2 commented Jun 2, 2021

@stephenhancock Just following up here for visibility. This was due to your UNC path backslashes not being properly escaped. Formats that worked from my testing:

  • "\\[Server Name]/[Subdirectory Name]"
  • "\\[Server Name]\\[Subdirectory Name]"

Note: Above should have 4 backslashes for the server name path but GitHub comments are removing 2 of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants