Skip to Content
author's profile photo Former Member
Former Member

SAP HANA Backup error

Hi all,

When trying to run a Backup in HANA Studio we get an message/error which reports that the backup is failing.

The shared folder where the backups will be stored has the necessary permissions set.

The error we get is:

Could not start backup of system 'SH1'. ' Cannot open file ""<root>/.log_backup_0_0_0_0.1385931567067" (mode= W, access= rwrwr-, flags= DIRECT|UNALIGNED_SIZE|TRUNCATE|MULTI_WRITERS), factory= (root= "/mnt/backup/log/" (access= rwrwr-, flags= AUTOCREATE_PATH|DISKFULL_ERROR, usage= LOG_BACKUP, fs= UNKNOWN (cifs), config= (AsyncWriteSubmitActive=auto,AsyncWriteSubmitBlocks=new,AsynReadSubmit=off,#SubmitQueues=1,#CompletionQueues=1)))", rc=22: Invalid argument'

Does anyone have an idea of what we can check to resolve this error?

Thanks in advance!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2013 at 03:53 PM

    The problem was with NTFS shares from windows.

    We changed the backup location to an NFS share & the backups works now.

    Verry annoying that the HANA backups don't seem to support NTFS (cifs in linux) shares.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 02, 2013 at 04:32 AM

    Hi Dries,

    Can you check the free size in /mnt/backup/log.

    What is the value of parameter log_mode

    regards

    kartik

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      Did you try creating an empty file in that location as the HANA OS user itself?

      Try running "touch abc" in the location. If that succeeds try adding some data to the file "abc" using VI editor.

      I got a similar problem today but in my case the flag was AUTOCREATE_DIRECTORY.



      Thanks,

      Jackson

  • Posted on Jul 11, 2016 at 02:01 PM

    Doing a backup to an external windows share (using smb) is possible, but in depends on how you mount the share in linux.

    You have to use parameter dir_mode=0775 and dir_file=0775 (for example) within mount-command. If you do not, HANA aborts with permission error even if all permissions on windows share are set.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.