smartsheet-platform / backup-java

A simple command-line based backup tool for backing up an organization's Smartsheet data.
Other
27 stars 26 forks source link

Backup to UNC Path #38

Open stephenhancock opened 3 years ago

stephenhancock commented 3 years ago

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 commented 3 years ago

@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:

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