• "Cannot write or create file (file or disk is read-only)" backing up a single database.

    By Mirco Pixin 2 decades ago

    As reported in this discussion:

    http://www.openntf.org/Projects/pmt.nsf/b521bae9087a360985256bed004b4ec4/3218de989cc7961e8625737f0057947c!OpenDocument

    knback fails (in my case, of course) to backup a specified database with error:

    "Cannot write or create file (file or disk is read-only)"



    [here my server console:

    25/10/2007 15.24.13 kNBack: Starting backup of apps\test_backup.nsf…

    25/10/2007 15.24.13 kNBack: Could not create backup file z:\domino_backup

    25/10/2007 15.24.13 kNBack: Backup failed for apps\test_backup.nsf, error: Cannot write or create file (file or disk is read-only)

    ]



    I try with a variety of databases and with a variety of folder destination (system partition, other partition).

    I found this "bug" both in 1.04b and in 1.03b version.

    Backup of directory works perfectly.



    Thanks in advance, and i hope it's not a bug but a problem of mine.

    Regards

    • Work Around

      By ed fraser 2 decades ago

      Hi,



      I get the same kind of errors… I have done this a few times now…



      The problem seems to be with v1.04b when running on a Windows 2003 Server (32 bit), SP1 or newer.



      I think this MS article has something to do with it… http://support.microsoft.com/kb/326549

      I have run the "attrib -r d:\backup" command as suggested in the MS artice … but no joy… :-(



      Environment:

      Windows 2003 SP1 or SP2

      Lotus Domino R7, R8



      Here's the specific errors:

      > load knback

      09/07/2008 13:05:06 kNBack: version 1.04b

      09/07/2008 13:05:06 kNBack: Transaction logging is enabled (CIRCULAR)

      09/07/2008 13:05:06 kNBack: Backing up databases (.ns)

      09/07/2008 13:05:06 kNBack: Found 1 config documents.

      09/07/2008 13:05:06 kNBack: Initialisation complete.

      09/07/2008 13:05:06 kNBack: Starting backup of help\decsdoc.nsf…

      09/07/2008 13:05:06 kNBack: Could not create directory d:\backup\help, Permission denied

      09/07/2008 13:05:06 kNBack: Backup failed for help\decsdoc.nsf, error: Cannot write or create file (file or disk is read-only)

      09/07/2008 13:05:06 kNBack: Starting backup of help\help8_admin.nsf…

      09/07/2008 13:05:06 kNBack: Could not create directory d:\backup\help, Permission denied

      09/07/2008 13:05:06 kNBack: Backup failed for help\help8_admin.nsf, error: Cannot write or create file (file or disk is read-only)

      etc…





      WORKAROUND:

      *

      Use v1.03b!!!



      Beleive it or not…

      I have made no changes to the system other than using v1.03b… and it all works correctly.



      Here's the logs:



      > load knback

      09/07/2008 14:10:28 kNBack: version 1.03b

      09/07/2008 14:10:28 kNBack: Found 1 config documents.

      09/07/2008 14:10:28 kNBack: Initialisation complete.

      09/07/2008 14:10:28 kNBack: Starting backup of help\decsdoc.nsf…

      09/07/2008 14:10:28 kNBack: 2.0MB backed up

      09/07/2008 14:10:28 kNBack: Backup successful for help\decsdoc.nsf

      09/07/2008 14:10:28 kNBack: Starting backup of help\help8_admin.nsf…

      09/07/2008 14:10:28 kNBack: 18.0MB backed up