It seems as though Native can do the whol directory, which is good. I purchased the Pro version (which I am really liking!) and have run into some issues:
It says in this help file that you can use an absolute path:
"Backup folder name, relative to the site real path (will be created if necessary). e.g.: backup
IMPORTANT: A full path is interpreted like a remote backup (database in different box than the web server) and is assumed existent (cannot be automatically created). e.g. c:\databasefolder\backups"
I want to put it into:
F:\Backups\Websites (same drive as my portal). It creates the DB file fine but falls over when creating the .zip (see message at bottom). So this means I have to put it under my website root, which means that if anyone knew the folder and filename they could download my entire site! I could put in a web.config file or secure the folder but I really don't want to put it under my website root as it does not belong there.
Have I missed something - is this possible?
DotNetNuke.Services.Exceptions.ModuleLoadException: System.Exception: ERROR COMPRESSING THE PORTAL CONTENTS (DATA FILES AND FOLDERS).
---> System.NotSupportedException: The given path's format is not supported. at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath) at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity) at CompressTools.mDoCompressBranch(String DestFolderName, String DestFileName, Int32 CompressionLevel, Int32 BufferSize, String CommentMessage, String SrcRootFolder, Boolean IncludeSrcRootFiles, ArrayList foldersExcludeList, ArrayList filesRootFullNameList, ArrayList stringFilesNameList, ArrayList stringFilesContentList) at CompressTools.DoCompressBranch(String destFolderName, String destFileName, Int32 compressionLevel, Int32 bufferSize, String commentMessage, String srcRootFolder, Boolean includeSrcRootFiles, ArrayList foldersExcludeList, ArrayList filesRootFullNameList, ArrayList stringFilesNameList, ArrayList stringFilesContentList) at Evotiva.DNN.Modules.BackupNative.Business.BackupNativeController.BackupPortalFiles(String DestFolderName, String DestFileName) at Evotiva.DNN.Modules.BackupNative.Business.BackupNativeController.PerformOperations() --- End of inner exception stack trace --- at Evotiva.DNN.Modules.BackupNative.Business.BackupNativeController.PerformOperations() ---> System.Exception: System.Exception: ERROR COMPRESSING THE PORTAL CONTENTS (DATA FILES AND FOLDERS).
---> System.NotSupportedException: The given path's format is not supported. at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath) at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity) at CompressTools.mDoCompressBranch(String DestFolderName, String DestFileName, Int32 CompressionLevel, Int32 BufferSize, String CommentMessage, String SrcRootFolder, Boolean IncludeSrcRootFiles, ArrayList foldersExcludeList, ArrayList filesRootFullNameList, ArrayList stringFilesNameList, ArrayList stringFilesContentList) at CompressTools.DoCompressBranch(String destFolderName, String destFileName, Int32 compressionLevel, Int32 bufferSize, String commentMessage, String srcRootFolder, Boolean includeSrcRootFiles, ArrayList foldersExcludeList, ArrayList filesRootFullNameList, ArrayList stringFilesNameList, ArrayList stringFilesContentList) at Evotiva.DNN.Modules.BackupNative.Business.BackupNativeController.BackupPortalFiles(String DestFolderName, String DestFileName) at Evotiva.DNN.Modules.BackupNative.Business.BackupNativeController.PerformOperations() --- End of inner exception stack trace --- at Evotiva.DNN.Modules.BackupNative.Business.BackupNativeController.PerformOperations() at Evotiva.DNN.Modules.BackupNative.BackupNative.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---