HANA DB Backup scheduling in DB13 fails with error

Hi,
We are scheduling the HANA DB backup using DB13, which returns with
immediate error as below. please suggest.
"Execution of the Command:
backup data all using file
('/usr/sap/SHD/HDB01/backup/data/COMPLETE_DATA_BACKUP_04_04')
On host: OSS01-MAP-195
Command failed
insufficient privilege: Not authorized
:Exception CX_DBA_ADBC in class CL_HDB_ADBC methodEXEC_DDL line 23
: Kernel Error ID:
: WP ID: 17
: WP PID: 5932
: SYSID: DEFAULT
: SY-SUBRC: 0
: SQL statement: backup data all using file ('/usr/sap/SHD/HDB01/backu
: p/data/COMPLETE_DATA_BACKUP_04_04')
: Database: DEFAULT
:caused by
:Exception CX_SQL_EXCEPTION in class CL_SQL_STATEMENT
: Kernel ErrorID:
: DB Error: Yes
: SQL Code: 258
: SQL Message: insufficient privilege: Not authorized
: DB Object Exists: No
: Duplicated Key: No
: Internal Error: 1
: Invalid Cursor: No
: Unknown Connection: No
: Connection Closed: No
Exception CX_DBA_ADBC in class CL_HDB_ADBC method line 30
Job finished"
Regards
Vinay

Hi,
If the solution is not yet available:
1) User does not have privilege:
insufficient privilege: Not authorized   --> Just Grant BACKUP_ADMIN system privilege to the user
2) In the Command you have to give only Backup Prefix not the absolute path:
backup data using file ('COMPLETE_DATA_BACKUP_04_04');
is correct command.
-Sadanand

Similar Messages

  • Offline backup scheduled in DB13 failed

    Hello everybody,
    Whole database offline + redo log backup scheduled in DB13  failed.  We are running SAP on Oracle 10.2.0.2 on HP UX B.11.23
    Here is the portion of log mentioning the error.
    BR0202I Saving /oracle/TU4/sapbackup/.tape.hdr0                                                          
    BR0203I to /dev/rmt/10mn ...                                                                             
    BR0209I Volume in device /dev/rmt/10mn has name TU4B05                                                   
    BR0202I Saving init_ora                                                                               
    BR0203I to /dev/rmt/10mn ...                                                                             
    BR0202I Saving /oracle/TU4/102_64/dbs/initTU4.sap                                                        
    BR0203I to /dev/rmt/10mn ...                                                                             
    BR0280I BRBACKUP time stamp: 2009-02-03 03.00.58                                                         
    BR0198I Profiles saved successfully                                                                      
    BR0280I BRBACKUP time stamp: 2009-02-03 03.00.58                                                         
    BR0307I Shutting down database instance TU4 ...                                                          
    BR0278E Command output of '/oracle/TU4/102_64/bin/sqlplus /nolog < /oracle/TU4/sapbackup/.bdzvnffe.spi': 
    SQL*Plus: Release 10.2.0.2.0 - Production on Tue Feb 3 03:00:58 2009                                     
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.                                                  
    SQL> Connected.                                                                               
    SQL>                                                                               
    SQL> ORA-01013: user requested cancel of current operation                                               
    SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production      
    With the Partitioning and Data Mining options                                                            
    BR0280I BRBACKUP time stamp: 2009-02-03 04.01.04                                                         
    BR0279E Return code from '/oracle/TU4/102_64/bin/sqlplus /nolog < /oracle/TU4/sapbackup/.bdzvnffe.spi': 0
    BR0302E SQLPLUS call for database instance TU4 failed                                                    
    BR0309E Shutdown of database instance TU4 failed                                                         
    BR0056I End of database backup: bdzvnffe.aft 2009-02-03 04.01.04                                         
    BR0280I BRBACKUP time stamp: 2009-02-03 04.01.05                                                         
    BR0054I BRBACKUP terminated with errors                                                                  
    Any input will be highly appreciated.
    Regards
    Santanu

    Hi
    Are u taking the offline backup on disk or tape. Your log seems to be mentioning it to be on tape. Anyways, have you set the /oracle/SID/102_64/dbs/initSID.sap file parameters accordingly. Also the log says that there has been a user intervention to stop the backup. Did you press Cntrl C in the process. Offline backups to tape is a bit tricky aand even we are fighting on this. I would suggest taking it on disk and then transferring it to tape.
    Lokesh

  • Project Server 2010 - Update Scheduled Queue job failed with error message" Error no 131- AssignmentAlreadyExists"

    Hello,
    When I tried to update the schedule of the project , the job failed with the error message " AssignmentAlreadyExists". I further looked into the ULS logs but it wasn't that helpful.
    This is the message I found in ULS logs "type = UpdateScheduledProject failed at Message 5 and is blocking the correlation Errors: AssignmentAlreadyExists,Leaving Monitored Scope (FillTypedDataSet -- MSP_WEB_SP_QRY_ReadTimeSheetAssignmentsAndCustomFieldData).
    Execution Time=398.730006187937"
    Pplease help me to understand the root cause of this problem.
    I have verified all the assignments in the plan and I did not find any duplicates.
    Thanks in advance.
    Sesha

    This issue might need detailed troubleshooting, I would suggest you raise a support case with Microsoft.
    Cheers! Happy troubleshooting !!! Dinesh S. Rai - MSFT Enterprise Project Management Please click Mark As Answer; if a post solves your problem or Vote As Helpful if a post has been useful to you. This can be beneficial to other community members reading
    the thread.

  • Backup failed with Error: (-50) Creating Directory

    Repeats ad nauseum.
    This is backing up to a second internal drive that is an exact duplicate (in terms of HD model and size).
    Does anyone know what Error -50 means? Lack of permissions? Invalid name (doesn't seem like it)?
    8/30/08 9:06:37 AM /System/Library/CoreServices/backupd Starting standard backup
    8/30/08 9:06:37 AM /System/Library/CoreServices/backupd Backing up to: /Volumes/Sliffy Time/Backups.backupdb
    8/30/08 9:06:58 AM /System/Library/CoreServices/backupd Error: (-50) Creating directory 2008-08-30-090658.inProgress
    8/30/08 9:06:58 AM /System/Library/CoreServices/backupd Failed to make snapshot container.
    8/30/08 9:07:03 AM /System/Library/CoreServices/backupd Backup failed with error: 2

    Hi Glenn,
    Thanks for the suggestion. Nope, it's not listed. The only thing listed is my Time Machine volume.
    After a reboot, Time Machine seems to be working. It's making backups on schedule and the logs look good, not reporting any strangeness.
    A bit bummed about these phantom errors that go away on reboot. I'll keep on eye on the error/reboot frequency.
    Rob

  • Online backup getting failed with error BR0278E - Invalid Argument

    Hi All,
    Online backup in Production system is getting failed when taken using DB13.  Last week the SAP Production Server was migrated to SAN and it was up & running fine.
    SAP System - ECC 6
    OS                - AIX 5.3
    Database      - Oracle 10g
    Even the Archive log backup has been successful, but Online backup is failing.  Following is the error log:
    BR0280I BRBACKUP time stamp: 2009-09-10 12.00.46
    BR0057I Backup of database: RTP
    BR0058I BRBACKUP action ID: bebkzprw
    BR0059I BRBACKUP function ID: ant
    BR0110I Backup mode: ALL
    BR0077I Database file for backup: /oracle/RTP/sapbackup/cntrlRTP.dbf
    BR0061I 41 files found for backup, total size 97416.297 MB
    BR0143I Backup type: online
    BR0112I Files will not be compressed
    BR0130I Backup device type: tape
    BR0102I Following backup device will be used: /dev/rmt3.1
    BR0103I Following backup volume will be used: RTPB01
    BR0289I BRARCHIVE will be started at the end of processing
    BR0134I Unattended mode with 'force' active - no operator confirmation allowed
    BR0208I Volume with name RTPB01 required in device /dev/rmt3.1
    BR0280I BRBACKUP time stamp: 2009-09-10 12.00.46
    BR0226I Rewinding tape volume in device /dev/rmt3 ...
    BR0351I Restoring /oracle/RTP/sapbackup/.tape.hdr0
    BR0355I from /dev/rmt3.1 ...
    BR0241I Checking label on volume in device /dev/rmt3.1
    BR0242I Scratch volume in device /dev/rmt3.1 will be renamed to RTPB01
    BR0280I BRBACKUP time stamp: 2009-09-10 12.00.46
    BR0226I Rewinding tape volume in device /dev/rmt3 ...
    BR0202I Saving /oracle/RTP/sapbackup/.tape.hdr0
    BR0203I to /dev/rmt3.1 ...
    We have checked using different tapes, restarted SAP, etc but could not resolve it.
    Please suggest further.
    Thanks
    Vamsi

    Hi Vamsi
    Please go through below link
    Re: onLine backup fails with error BR0278E
    There is similar problem with the exact error you are facing for online backup and its solution is given in above link.
    Let us know if this information was useful to you.
    with regards,
    Parin Hariyani

  • Backup scheduled through DB13 not working

    Hello,
    We are trying to schedule backup through DB13.But it got failed due to below error.Backup scheduled through DB13 was working fine last week.
    Job started
    Step 001 started (program RSDBAJOB, variant &0000000000174, user ID KHJS199)
    Execute logical command BRARCHIVE On host ppd-ora-ga2
    Parameters:-u / -jid LOG__20100927040000 -c force -p initGA2.sap -sd
    External communication error at program start (see system log)
    SAPXPG_START_XPG_LONG: sy-subrc ne 0
    destination = SAPXPG_DBDEST_PPD-ORA-GA2
    SXPG_STEP_XPG_START: execute_sapxpg: rc = 1.003
    SXPG_STEP_COMMAND_START: SXPG_STEP_XPG_START returned: 1.003
    SXPG_COMMAND_EXECUTE(LONG)
    <timestamp> = 20101014040033
    COMMANDNAME = BRARCHIVE
    ADDITIONAL_PARAMETERS =
    -u / -jid LOG__20100927040000 -c force -p initGA2.
    sap -sd
    LONG_PARAMS
    OPERATINGSYSTEM = ANYOS
    TARGETSYSTEM = ppd-ora-ga2
    DESTINATION = SAPXPG_DBDEST_PPD-ORA-GA2
    SY-SUBRC = 1003
    SXPG_COMMAND_EXECUTE failed for BRARCHIVE - Reason: program_start_error: For More Information, See SYS
    Job cancelled after system exception ERROR_MESSAGE
    We checked the RFC connection SAPXPG_DBDEST_PPD-ORA-GA2 and it is not working.
    For target host and gateway host,we have maintained their corresponding virtual host.
    Gateway is already installed on the server.
    Could you please help me out on this.
    Thanks,
    Gopi L

    Hello,
    Just to add some more information.
    We have 3 servers, X(Database + CI),Y(Dialog instance),Z(Dialog Instance).
    Server  X is the primary node and Y is the failover node.
    Gateway is already installed on Database server and I can verify it by giving ps -aef | grep gwrd.
    Thanks,
    Gopi L

  • Time Machine Backup Failed with error: 2

    I have been doing unattended continuous backups to a 1 TB drive for about 4 months via Time Machine. In the last 2 months I have been getting a dialog box with this message: "Unable to complete backup. An error occurred while creating the backup directory." In each case I have gone to Disk Utility to repair the disk, and each time have had to reboot to get the Repair Disk function to work, since without a reboot, the backup disk won't unmount. After repair, the backups resume, but the frequency of the failures is beginning to worry me. I never had problems with scheduled SuperDuper backups and am thinking of returning to that approach, albeit different.
    Below is what is listed in in the system log after the backup failure. It lists "error: 2", whatever that is.
    The backup disk has over 400GB space remaining.
    Can anyone help me with this?
    May 2 19:34:17 Macintosh /System/Library/CoreServices/backupd[12497]: Backup requested by user
    May 2 19:34:17 Macintosh /System/Library/CoreServices/backupd[12497]: Starting standard backup
    May 2 19:34:26 Macintosh /System/Library/CoreServices/backupd[12497]: Backing up to: /Volumes/WD1TB Backup Disk/Backups.backupdb
    May 2 19:34:28 Macintosh /System/Library/CoreServices/backupd[12497]: Error: (-50) Creating directory 2008-05-02-193428.inProgress
    May 2 19:34:28 Macintosh /System/Library/CoreServices/backupd[12497]: Failed to make snapshot container.
    May 2 19:34:28 Macintosh /System/Library/CoreServices/backupd[12497]: Backup failed with error: 2
    Thanks,
    Art

    Betty - actually, no. Rebooting alone didn't resolve the problem. Time Machine still wouldn't resume backups.
    Once the directory was rebuilt via Disk Utility, it is up and running again, at least for a while.

  • First Backup fails with Error 11

    Attempting my first backup to my new Western Digital 160GB MyBook, Time Machine exits with an error before finishing the backup. The console output is below:
    Dec 25 14:05:05 Katana /System/Library/CoreServices/backupd[751]: Backup requested by user
    Dec 25 14:05:05 Katana /System/Library/CoreServices/backupd[751]: Starting standard backup
    Dec 25 14:05:05 Katana /System/Library/CoreServices/backupd[751]: Backing up to: /Volumes/Time Machine/Backups.backupdb
    Dec 25 14:05:05 Katana /System/Library/CoreServices/backupd[751]: Ownership is disabled on the backup destination volume. Enabling.
    Dec 25 14:05:05 Katana KernelEventAgent[35]: tid 00000000 received unknown event (256)
    Dec 25 14:05:45 Katana /System/Library/CoreServices/backupd[751]: Backup content size: 37.5 GB excluded items size: 2.5 GB for volume Katana
    Dec 25 14:05:45 Katana /System/Library/CoreServices/backupd[751]: No pre-backup thinning needed: 42.11 GB requested (including padding), 148.96 GB available
    Dec 25 14:05:45 Katana /System/Library/CoreServices/backupd[751]: MDBackupBegin() returned result (909) > 0, waiting
    Dec 25 14:06:15 Katana /System/Library/CoreServices/backupd[751]: Backup requested by automatic scheduler
    Dec 25 14:09:22 Katana kernel[0]: disk0s2: 0xe0030005 (UNDEFINED).
    Dec 25 14:09:22 Katana kernel[0]:
    Dec 25 14:09:22 Katana /System/Library/CoreServices/backupd[751]: Error: (-36) copying /Applications/iMovie.app/Contents/Resources/ko.lproj/iMovieHelp/gfx/frwr4004pn. gif to (null)
    Dec 25 14:09:23 Katana kernel[0]:
    Dec 25 14:09:45 Katana kernel[0]: disk0s2: 0xe0030005 (UNDEFINED).
    Dec 25 14:09:45 Katana kernel[0]:
    Dec 25 14:09:45: --- last message repeated 1 time ---
    Dec 25 14:09:45 Katana /System/Library/CoreServices/backupd[751]: Error: (-36) copying /Applications/iMovie.app/Contents/Resources/ko.lproj/iMovieHelp/gfx/frwr800.gif to (null)
    Dec 25 14:10:10 Katana kernel[0]: disk0s2: 0xe0030005 (UNDEFINED).
    Dec 25 14:10:10 Katana kernel[0]:
    Dec 25 14:10:10 Katana /System/Library/CoreServices/backupd[751]: Error: (-36) copying /Applications/iMovie.app/Contents/Resources/ptPT.lproj/iMovieHelp/sty/access3box.css to (null)
    Dec 25 14:10:10 Katana kernel[0]:
    Dec 25 14:10:34 Katana kernel[0]: disk0s2: 0xe0030005 (UNDEFINED).
    Dec 25 14:10:34 Katana kernel[0]:
    Dec 25 14:10:34: --- last message repeated 1 time ---
    Dec 25 14:10:34 Katana /System/Library/CoreServices/backupd[751]: Error: (-36) copying /Applications/iMovie.app/Contents/Resources/sv.lproj/iMovieHelp/gfx/accessborderinnertopright.gif to (null)
    Dec 25 14:10:57 Katana kernel[0]: disk0s2: 0xe0030005 (UNDEFINED).
    Dec 25 14:10:57 Katana kernel[0]:
    Dec 25 14:10:57 Katana /System/Library/CoreServices/backupd[751]: Error: (-36) copying /Applications/iMovie.app/Contents/Resources/sv.lproj/iMovieHelp/gfx/accessborderleft.gif to (null)
    Dec 25 14:10:57 Katana kernel[0]:
    Dec 25 14:11:20 Katana kernel[0]: disk0s2: 0xe0030005 (UNDEFINED).
    Dec 25 14:11:20 Katana kernel[0]:
    Dec 25 14:11:20: --- last message repeated 1 time ---
    Dec 25 14:11:20 Katana /System/Library/CoreServices/backupd[751]: Error: (-36) copying /Applications/iMovie.app/Contents/Resources/sv.lproj/iMovieHelp/sty/access_3box .css to (null)
    Dec 25 14:11:43 Katana kernel[0]: disk0s2: 0xe0030005 (UNDEFINED).
    Dec 25 14:11:43 Katana kernel[0]:
    Dec 25 14:12:06: --- last message repeated 1 time ---
    Dec 25 14:11:43 Katana /System/Library/CoreServices/backupd[751]: Error: (-36) copying /Applications/iMovie.app/Contents/Resources/zhTW.lproj/iMovieHelp/gfx/borderright.gif to (null)
    Dec 25 14:12:06 Katana kernel[0]: disk0s2: 0xe0030005 (UNDEFINED).
    Dec 25 14:12:06 Katana /System/Library/CoreServices/backupd[751]: Error: (-36) copying /Applications/iMovie.app/Contents/Resources/zhTW.lproj/iMovieHelp/gfx/bordertop.gif to (null)
    Dec 25 14:12:06 Katana kernel[0]:
    Dec 25 14:12:29: --- last message repeated 1 time ---
    Dec 25 14:12:29 Katana kernel[0]: disk0s2: 0xe0030005 (UNDEFINED).
    Dec 25 14:12:29 Katana kernel[0]:
    Dec 25 14:12:29 Katana /System/Library/CoreServices/backupd[751]: Error: (-36) copying /Applications/iMovie.app/Contents/Resources/zhTW.lproj/iMovieHelp/gfx/step2.gif to (null)
    Dec 25 14:12:52 Katana kernel[0]:
    Dec 25 14:12:52 Katana /System/Library/CoreServices/backupd[751]: Error: (-36) copying /Applications/iMovie.app/Contents/Resources/zhTW.lproj/iMovieHelp/gfx/step3.gif to (null)
    Dec 25 14:12:52 Katana kernel[0]: disk0s2: 0xe0030005 (UNDEFINED).
    Dec 25 14:12:52 Katana kernel[0]:
    Dec 25 14:13:16: --- last message repeated 1 time ---
    Dec 25 14:13:16 Katana kernel[0]: disk0s2: 0xe0030005 (UNDEFINED).
    Dec 25 14:13:16 Katana kernel[0]:
    Dec 25 14:13:38: --- last message repeated 1 time ---
    Dec 25 14:13:16 Katana /System/Library/CoreServices/backupd[751]: Error: (-36) copying /Applications/iMovie.app/Contents/Resources/zh_TW.lproj/iMovieHelp/shrd/opnbnds ig.scpt to (null)
    Dec 25 14:13:39 Katana kernel[0]: disk0s2: 0xe0030005 (UNDEFINED).
    Dec 25 14:13:38 Katana /System/Library/CoreServices/backupd[751]: Error: (-36) copying /Applications/iMovie.app/Contents/Resources/zh_TW.lproj/iMovieHelp/shrd/OpnFile .scpt to (null)
    Dec 25 14:13:39 Katana kernel[0]:
    Dec 25 14:14:09: --- last message repeated 1 time ---
    Dec 25 14:20:22 Katana ntpd[26]: time reset -0.176119 s
    Dec 25 14:27:34 Katana kernel[0]: disk0s2: 0xe0030005 (UNDEFINED).
    Dec 25 14:27:34 Katana kernel[0]:
    Dec 25 14:27:34 Katana /System/Library/CoreServices/backupd[751]: Error: (-36) copying /Library/Audio/Apple Loops/Apple/iLife Sound Effects/Jingles/Stepping Out Short.caf to (null)
    Dec 25 14:27:34 Katana kernel[0]:
    Dec 25 14:27:57 Katana kernel[0]: disk0s2: 0xe0030005 (UNDEFINED).
    Dec 25 14:27:57 Katana kernel[0]:
    Dec 25 14:27:57: --- last message repeated 1 time ---
    Dec 25 14:27:57 Katana /System/Library/CoreServices/backupd[751]: Error: (-36) copying /Library/Audio/Apple Loops/Apple/iLife Sound Effects/Jingles/Strategy.caf to (null)
    Dec 25 14:28:19 Katana kernel[0]: disk0s2: 0xe0030005 (UNDEFINED).
    Dec 25 14:28:19 Katana kernel[0]:
    Dec 25 14:28:19 Katana /System/Library/CoreServices/backupd[751]: Error: (-36) copying /Library/Audio/Apple Loops/Apple/iLife Sound Effects/Jingles/Swing City Long.caf to (null)
    Dec 25 14:28:19 Katana kernel[0]:
    Dec 25 14:28:42 Katana kernel[0]: disk0s2: 0xe0030005 (UNDEFINED).
    Dec 25 14:28:42 Katana kernel[0]:
    Dec 25 14:29:05: --- last message repeated 1 time ---
    Dec 25 14:28:42 Katana /System/Library/CoreServices/backupd[751]: Error: (-36) copying /Library/Audio/Apple Loops/Apple/iLife Sound Effects/Jingles/Swing City Medium.caf to (null)
    Dec 25 14:29:05 Katana kernel[0]: disk0s2: 0xe0030005 (UNDEFINED).
    Dec 25 14:29:05 Katana /System/Library/CoreServices/backupd[751]: Error: (-36) copying /Library/Audio/Apple Loops/Apple/iLife Sound Effects/Jingles/Swing City Short.caf to (null)
    Dec 25 14:29:05 Katana kernel[0]:
    Dec 25 14:29:27: --- last message repeated 1 time ---
    Dec 25 14:29:27 Katana kernel[0]: disk0s2: 0xe0030005 (UNDEFINED).
    Dec 25 14:29:27 Katana kernel[0]:
    Dec 25 14:29:27: --- last message repeated 1 time ---
    Dec 25 14:29:27 Katana /System/Library/CoreServices/backupd[751]: Error: (-36) copying /Library/Audio/Apple Loops/Apple/iLife Sound Effects/Jingles/Tennessee Twister Long.caf to (null)
    Dec 25 14:29:50 Katana kernel[0]: disk0s2: 0xe0030005 (UNDEFINED).
    Dec 25 14:29:50 Katana kernel[0]:
    Dec 25 14:29:50 Katana /System/Library/CoreServices/backupd[751]: Error: (-36) copying /Library/Audio/Apple Loops/Apple/iLife Sound Effects/Jingles/Tennessee Twister Medium.caf to (null)
    Dec 25 14:29:50 Katana kernel[0]:
    Dec 25 14:30:13 Katana kernel[0]: disk0s2: 0xe0030005 (UNDEFINED).
    Dec 25 14:30:13 Katana kernel[0]:
    Dec 25 14:30:13: --- last message repeated 1 time ---
    Dec 25 14:30:13 Katana /System/Library/CoreServices/backupd[751]: Error: (-36) copying /Library/Audio/Apple Loops/Apple/iLife Sound Effects/Jingles/Tennessee Twister Short.caf to (null)
    Dec 25 14:30:58 Katana kernel[0]: disk0s2: 0xe0030005 (UNDEFINED).
    Dec 25 14:30:58 Katana /System/Library/CoreServices/backupd[751]: Canceling backup.
    Dec 25 14:30:58 Katana kernel[0]:
    Dec 25 14:30:58 Katana /System/Library/CoreServices/backupd[751]: Error: (-36) copying /Library/Audio/Apple Loops/Apple/iLife Sound Effects/Jingles/Three Pointer Long.caf to (null)
    Dec 25 14:30:58 Katana kernel[0]:
    Dec 25 14:30:58 Katana kernel[0]: disk0s2: 0xe0030005 (UNDEFINED).
    Dec 25 14:30:58 Katana kernel[0]:
    Dec 25 14:30:58: --- last message repeated 1 time ---
    Dec 25 14:30:58 Katana /System/Library/CoreServices/backupd[751]: Copied 27519 files (5.5 GB) from volume Katana.
    Dec 25 14:30:58 Katana /System/Library/CoreServices/backupd[751]: Copy stage failed with error:11
    Dec 25 14:30:58 Katana /System/Library/CoreServices/backupd[751]: Backup failed with error: 11
    Anyone have any idea what this error means, or how to fix it?

    Check the formatting and partitioning for your Time Machine disk. Launch Disk Utility from the dock or from the Applications > Utilities folder. Click on the upper icon for your Time Machine disk in the left window and the partition type will show on the bottom of the Disk Utility window. It should be GUID for Intel Macs and Apple Partition Map for PPC Macs.
    Click on the indented icon below the upper Time Machine disk icon. That will show the formatting. It should be Mac OS Extended (Journaled). If the formatting and/or partitioning is not correct, reformat following the directions in this article.

  • DAG - Backup failing on 1 DB only with error - The Microsoft Exchange Replication service VSS Writer instance ID failed with error code 80070020 when preparing for a backup of database 'DB012'

    Hi Board,
    i´ve search across the board, technet and symantec sites but did not found a hint about my problem.
    we drive a 2 node DAG (Location1-Ex1-mb1 
    Location2-exc1-mb1), on SP2 RU4 patchlevel with 40 Databases.
    Since some time the backup of one - and only one DB - is failing with these events, logged on the Mailboxserver on which the passive DB is hosted.
    Log Name:      Application
    Source:        MSExchangeRepl
    Date:          28.09.2012 00:37:17
    Event ID:      2112
    Task Category: Exchange VSS Writer
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Location1-Exc1-MB1
    Description: The Microsoft Exchange Replication service VSS Writer instance 1ab7d204-609a-4aea-b0a7-70afb0db38de failed with error code 80070020 when preparing for a backup of database 'DB012'.
    Followed by
    Log Name:      Application
    Source:        MSExchangeRepl
    Date:         
    01.10.2012 03:33:06
    Event ID:      2024
    Task Category: Exchange VSS Writer
    Level:         Error
    Keywords:      Classic
    User:         
    N/A
    Computer:      Location1-Exc1-MB1
    Description:
    The Microsoft Exchange Replication service VSS Writer (Instance 42916d80-36c1-4f73-86d0-596d30226349) failed with error 80070020 when preparing for a backup.
    The backup Application - Symantec Backup Exec 2010 R3 – states, this error
    Snapshot provider error (0xE000FED1): A failure occurred querying the Writer status.
    Check the Windows Event Viewer for details.
    Writer Name: Exchange Server, Writer ID: {76FE1AC4-15F7-4BCD-987E-8E1ACB462FB7}, Last error: The VSS Writer failed, but the operation can be retried (0x800423f3), State: Stable (1).
    Symatec suggests within http://www.symantec.com/business/support/index?page=content&id=TECH184095
    to restart the MS Exchange Replication Service – BUT the mentioned eventID
    8229 isn´t present on any of the both Mailboxservers.
    The affected Database is active on Location2-Exc1-Mb1 Server and in an overall healthy state. I found during my research, that below Location2-Exc1-Mb1 Server, there are not removed shadow copies present!
    This confuses me, since all Backups are normally taken from the passive copy of a Database.
    So my questions to the board are:
    * Does anyone is facing similar issues?
    * Can someone explain why snapshots are present on the Mailboxserver hosting the Active Database, whilst the errors are logged on the passive one?
    -          * Does someone know the conditions, why shadows copies remain and
    aren´t removed in a proper manner?
    What can cause the circumstance, that only 1 DB is facing such issues?
    Any suggestion is welcome!
    BR
    Markus

    Hi Lenora,
    I´ve encreases VSS / Exchange Backup Log levels to expert, before starting
    those things i´ve all tried now:
    - Backup from passive DB (forced within Symantec Backup Exec)
    - Backup from active DB (forced within Symantec Backup Exec)
    - Backup from passive DB without GRT enabled (forced within Symantec Backup Exec)
    - Backup from active DB without GRT enabled(forced within Symantec Backup Exec)
    All those attempts failed.
    But brought some more details - the backup against the active DB states, that there is still a backup in progress and therefore this backup is cancelled by VSS.
    The Solution was, that i´ve needed to restart the Exchange Replication Service on the Mailbox Server hosting the passive DB.
    Backups are working again on all DBs!
    THX for your replys.
    Best regards
    Markus

  • Windows 8 backup (Win7 File Recovery system image) creation to NAS device fails with error 0x807800C5

    Hi,
    I have a ZyXEL NSA310 NAS device on my network that I use for backups (as well as a media server). I have been very happy with it as, amongst other things, it has a gigabit Ethernet connection. I recently upgraded my home laptop from Win7 Pro to Win8
    Pro. Under Win7 the NAS device worked perfectly as the backup target. I could back up file sets and - most importantly to me - create a system image on the device should I need to restore the system in the event of a full disk failure.
    When I upgraded to Win8 it kept the Win7 settings and it looked like it was just going to work, then as it came to create the system image it failed with error code 0x807800C5 and message "The version does not support this version of the file format".
    I have searched the internet and seen that others have had similar issues on Win7 and Win8 with NAS devices where they have had to hack the device to get it working - though it isn't clear that this has been successful for everyone. This isn't an option
    for me as the NSA310 is a closed device and in any event I don't see why I should have to hack the device when clearly this is a Win8 issue (since Win7 worked perfectly).
    Does anyone have any ideas how to fix this issue so that I can create the full backups I require?
    Thanks,
    Phil
    Event Log messages:
    Log Name:      Application
    Source:        Microsoft-Windows-Backup
    Date:          13/01/2013 23:14:52
    Event ID:      517
    Task Category: None
    Level:         Error
    Keywords:     
    User:          SYSTEM
    Computer:      Home-Laptop
    Description:
    The backup operation that started at '‎2013‎-‎01‎-‎13T23:13:43.523158000Z' has failed with following error code '0x807800C5' (There was a failure in preparing the backup image of one of the volumes in the backup set.). Please review the event details for a
    solution, and then rerun the backup operation once the issue is resolved.
    Log Name:      Application
    Source:        Windows Backup
    Date:          13/01/2013 23:14:56
    Event ID:      4104
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Home-Laptop
    Description:
    The backup was not successful. The error is: There was a failure in preparing the backup image of one of the volumes in the backup set. (0x807800C5).

    Thanks willis! I will look into the iSCSI route. A quick Google search and I can see some mention of the NSA310 and iSCSI so maybe it does support it.
    One question: Have you ever attempted to restore a system image from a NAS iSCSI device with a Win8 Restore Disk? Is it easy? I just want to be sure that it is possible to do so in case the worst happens and I need to restore the entire image onto a
    new disk.
    Hopefully Microsoft will fix the issue with the standard NAS setup with an update in the future, but I don't want to wait for it.
    Thanks again,
    Phil
    Hi Phil,  No I have not had to do this yet, but I see no reason why it shouldn't work as the iSCSI disk looks just like a regular hard disk to the OS. I agree that Microsoft should fix the direct NAS support as the iSCSI approach does have the downside
    of dedicating a fixed chunk of your NAS drive to the iSCSI disk that you have to choose when you create the disk whereas the direct NAS just uses the actual space currently needed by the backup. Also I had some trouble getting authentication (access rights)
    to work so I left the iSCSI portal as open access - which is OK for a home solution but not a good idea in general. I will revisit this for my own setup and see if I can get it working but just wanted to mention it in case you have the same issue. It manifests
    itself as not being able to connect to the iSCSI portal due to failed authentication when running iSCSI initiator setup.
    -willis

  • Backup failed with error: 11 -Error: (-41) SrcErr:NO Copying

    Like many of you, I was unlucky to get the famous TimeMachine error message: "The backup was not performed because an error occurred while copying files to the backup disk". I started to get as much help as I could from Google and all your forum posts.
    Until recently I could not get an easy answer and it seemed that various people had success by:
    - renaming their machine to remove say extraneous characters (such as apostrophe)
    - delete the last "in progress" backup
    - reset the TM
    - etc.
    I did all of that plus reformatting my new WD HDD but nothing changed. After 2 days of frustration with this piece of software (Time Machine), the good news for me is that I can consistently reproduce the error as well succeed in performing a backup. The solution for me seems to make sure that I +*do not have a source directory structure deeper than 15 levels*+. As soon as I have a file that is 16 levels deep from the root of the HDD that I try to backup, I get this error:
    +*Error: (-41) SrcErr:NO Copying /Volumes/<HDD to Backup>/<Deep Directory Structure>... to*+
    +*/Volumes/<Your TM Drive>/Backups.backupdb/<Your Machine>/<Timestamp>.inProgress/<AutoGenerated-GUID>/<HDD to Backup>/<Deep Directory Structure>...*+
    +*Copy stage failed with error:11*+
    +*Backup failed with error: 11*+
    The Console app shows the system log with the path to the file that failed during backup. I tried to make the pathname shorter than 255 characters to make sure this is not an 8bit limitation of some string length in the code. Even if I have a path shorter than 255 characters, TM fails with the above error when the source files are at least 16 levels deep in the directory structure.
    What is most frustrating about this is not the careless and uninformative error message or this apparently non-sense limitation of 15 levels - it might be something historical in Apple's code - but the lack of documentation. In the absence of proper logging and error handling in this piece of code, wouldn't be nice to have some explanation from Apple with regards to what this error #11 means or perhaps what caused this "Error (-41) SrcErr:NO Copying"? I guess most of us would be just fine to know that as per release notes, Apple has this limitation of 15 levels for the source directory structure.

    solongpc wrote:
    Regardless if this is a general problem or not, does anyone know of any documentation/release notes for common/generic TM error codes? That would be helpful.
    Yeah, many of us would love it! But no such thing exists, at least not that us mere mortals can find.
    There might be another variable that I don't understand right now but at least it is consistent.
    Could it be something funky in the name of one of the folders? Or could the folder object itself be corrupt? Or have some odd extended attribute?
    All I can suggest is calling AppleCare, and/or reporting it as a bug:
    *_Submitting a +Bug Report+ to Apple._*
    |
    This requires a membership in the +Apple Developer Connection,+ but you can get one for free.
    Register here: http://developer.apple.com/programs/start/register/create.php
    Once you receive the confirmation, go to: https://bugreport.apple.com and login.
    Click +New Problem+ at the top.
    Click Help at the top, and/or any of the items underlined in blue for more information.
    Provide as much specific detail as possible, and attach a log, screenshot, etc., as appropriate in the lower section.
    When done, click Submit at the bottom.

  • Time Machine backups to OS X Server intermittently failing with error 21

    I have a Mac Mini running OS X Server, with two USB drives connected and selected within OS X Server as Time Machine backup destinations.  I have an iMac and a Macbook Air, both of which  are using Time Machine to backup themselves up to the Time Machine Service on the server (all are running the latest version of Mavericks).
    Intermittently, the iMac backup fails.  The iMac's console log shows:
    Aug 23 13:55:34 Nigels-iMac.local com.apple.backupd[15418]: Failed to eject volume /Volumes/Backups-1 (FSVolumeRefNum: -141; status: -47; dissenting pid: 0)
    Aug 23 13:55:34 Nigels-iMac.local com.apple.backupd[15418]: Waiting 60 seconds and trying again.
    Aug 23 13:56:06 Nigels-iMac.local mds[72]: (Normal) Volume: volume:0x7fa702995000 ********** Bootstrapped Creating a default store:0 SpotLoc:(null) SpotVerLoc:(null) occlude:0 /Volumes/Backups-1
    Aug 23 13:56:45 Nigels-iMac.local com.apple.backupd[15418]: Network destination already mounted at: /Volumes/Backups-1
    Aug 23 13:57:29 Nigels-iMac.local com.apple.backupd[15418]: Quota in effect for '/Volumes/Backups-1': Zero KB
    Aug 23 13:58:16 Nigels-iMac.local com.apple.backupd[15418]: Failed to eject volume /Volumes/Backups-1 (FSVolumeRefNum: -141; status: -47; dissenting pid: 0)
    Aug 23 13:58:16 Nigels-iMac.local com.apple.backupd[15418]: Giving up after 3 retries.
    Aug 23 13:58:16 Nigels-iMac.local com.apple.backupd[15418]: Backup failed with error 21: 21
    The Mac Mini console log shows nothing apparently wrong.
    Restarting the server (not the iMac) clears the problem and the iMac will then once again backup to the server for some time (e.g. a day).
    There are two USB drives, one for each backup sparse bundle and although the two disks have different names in the Finder, OS X Server has named them both Backup (one is shown as 'Backup' and the other as 'Backup-1' in the Time Machine Services Backups tab).
    I am wondering whether the failure occurs when coincidentally the iMac and the Macbook both try to back up at the same moment.  Any advice about how to isolate the problem, or a solution would be gratefully received!

    1. This procedure is a diagnostic test, to be carried out on the server. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    Don't be put off merely by the seeming complexity of these instructions. The process is much less complicated than the description. You do harder tasks with the computer all the time.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. As I wrote above, it changes nothing. It doesn't send or receive any data on the network. All it does is to generate a human-readable report on the state of the computer. That report goes nowhere unless you choose to share it. If you prefer, you can read it yourself without disclosing the contents to me or anyone else.
    You should be wondering whether you can believe me, and whether it's safe to run a program at the behest of a stranger. In general, no, it's not safe and I don't encourage it.
    In this case, however, there are a couple of ways for you to decide whether the program is safe without having to trust me. First, you can read it. Unlike an application that you download and click to run, it's transparent, so anyone with the necessary skill can verify what it does.
    You may not be able to understand the script yourself. But variations of the script have been posted on this website thousands of times over a period of years. The site is hosted by Apple, which does not allow it to be used to distribute harmful software. Any one of the millions of registered users could have read the script and raised the alarm if it was harmful. Then I would not be here now and you would not be reading this message.
    Nevertheless, if you can't satisfy yourself that these instructions are safe, don't follow them. Ask for other options.
    4. Here's a summary of what you need to do, if you choose to proceed:
    ☞ Copy a line of text in this window to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    5. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    6. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    7. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Fonts SerialATA 4 1000 25 5120 KiB/s 1024 85 \\b%% 20480 1 MB/s 25000 ports ' com.clark.\* \*dropbox \*GoogleDr\* \*k.AutoCAD\* \*k.Maya\* vidinst\* ' DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 "` route -n get default|awk '/e:/{print $2}' `" 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 1000 MB com.apple.AirPortBaseStationAgent 464843899 51 5120 files );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[26]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n-\t%s\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}') printf("%s (UID %s) is using %s '${p[$2]}'",$0,u,q);} ';};s=(' /^ *$|CSConfigDot/d;s/^ */   /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/Shared/!s/\/Users\/[^/]+/~/g ' ' s/^ +//;/de: S|[nst]:/p;' ' {sub(/^ +/,"")};/er:/;/y:/&&$2<'${p[10]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: [^EO]|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ N;/:.+:/d;s/ *://;b0'$'\n'' };/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};$b0'$'\n'' d;:0'$'\n'' x;s/\n\n//;/Apple[ ,]|Genesy|Intel|SMSC/d;s/\n.*//;/\)$/p;' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/ / { n++;print;} END { if(n<200) print "com.apple.";} ' ' $3~/[0-9]:[0-9]{2}$/ { gsub(/:[0-9:a-f]{14}/,"");} { print|"tail -n'${p[12]}'";} ' ' NR==2&&$4<='${p[13]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}') print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR!=2{next}'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' 's/^.{52}(.+) <.+/\1/p' ' /Launch[AD].+\.plist$/ { n++;print;} END { print "'${p[41]}'";if(n<200) print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$|'${p[41]}'/ { print $3;} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:[^:]+//p ' '/^root$/p' ' !/\/Contents\/.+\/Contents|Applic|Autom|Frameworks/&&/Lib.+\/Info.plist$/ { n++;print;} END { if(n<1100) print "/System/";} ' '/^\/usr\/lib\/.+dylib$/p' ' /Temp|emac/{next};/(etc|Preferences|Launch[AD].+)\// { sub(".(/private)?","");n++;print;} END { print "'${p[41]}'.plist\t'${p[42]}'";if(n<500) print "Launch";} ' ' /\/(Contents\/.+\/Contents|Frameworks)\/|\.wdgt\/.+\.([bw]|plu)/d;p;' 's/\/(Contents\/)?Info.plist$//;p' ' { gsub("^| |\n","\\|\\|kMDItem'${p[35]}'=");sub("^...."," ") };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[43]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/{next};/%/ { getline;if($5<M1) a="user "$2"%, system "$4"%";} /disk0/&&$4>M2 { b=$3" ops/s, "$4" blocks/s";} $2==i { if(c) { d=$3+$4+$5+$6;next;};if($4>M3||$6>M4) c=int($4/1024)" in, "int($6/1024)" out";} END { if(a) print "CPU: "a;if(b) print "I/O: "b;if(c) print "Net: "c" (KiB/s)";if(d) print "Net errors: "d" packets/s";} ' ' /r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./ { print $NF;exit;} ' ' !/^T/ { printf "(static)";exit;} ' '/apsd|BKAg|OpenD/!s/:.+//p' ' (/k:/&&$3!~/(255\.){3}0/ )||(/v6:/&&$2!~/A/ ) ' ' $1~"lR"&&$2<='${p[25]}';$1~"li"&&$3!~"wpa2";' ' BEGIN { FS=":";p="uniq -c|sed -E '"'s/ +\\([0-9]+\\)\\(.+\\)/\\\2 x\\\1/;s/x1$//'"'";} { n=split($3,a,".");sub(/_2[01].+/,"",$3);print $2" "$3" "a[n]$1|p;b=b$1;} END { close(p) if(b) print("\n\t* Code injection");} ' ' NR!=4{next} {$NF/=10240} '"`S0 27 14`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n   "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n   [N/A]";"file -b "F|getline T;if(T!~/^(AS.+ (En.+ )?text$|(Bo|PO).+ sh.+ text ex)/) F=F" ("T")";printf("\nContents of %s\n%s\n",F,f);if(l>L) printf("\n   ...and %s more line(s)\n",l-L);} ' ' /^ +[NP].+ =/h;/^( +D.+[{]|[}])/{ g;s/.+= //p;};' 's/0/Off/p' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' ' / / { print "'"${p[28]}"'";exit;};1;' '/ en/!s/\.//p' ' NR!=13{next};{sub(/[+-M]$/,"",$NF)};'"`S0 39 40`" ' $10~/\(L/&&$9!~"localhost" { sub(/.+:/,"",$9);print $1": "$9;} ' '/^ +r/s/.+"(.+)".+/\1/p' 's/(.+\.wdgt)\/(Contents\/)?Info\.plist$/\1/p' 's/^.+\/(.+)\.wdgt$/\1/p' ' /l: /{ /DVD/d;s/.+: //;b0'$'\n'' };/s: /{ /V/d;s/^ */- /;H;};$b0'$'\n'' d;:0'$'\n'' x;/APPLE [^:]+$/d;p;' ' /^find: /d;p;' "`S0 44 45`" );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps sudo\ crontab sudo\ iotop top pkgutil 'PlistBuddy 2>&1 -c "Print' whoami cksum kextstat launchctl sudo\ launchctl crontab 'sudo defaults read' stat lsbom mdfind ' for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done;' defaults\ read scutil sudo\ dtrace sudo\ profiles sed\ -En awk /S*/*/P*/*/*/C*/*/airport networksetup mdutil sudo\ lsof test );c2=(com.apple.loginwindow\ LoginHook '" /L*/P*/loginw*' '" L*/P*/*loginit*' 'L*/Ca*/com.ap*.Saf*/E*/* -d 1 -name In*t -exec '"${c1[14]}"' :CFBundleDisplayName" {} \;|sort|uniq' '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '.??* -path .Trash -prune -o -type d -name *.app -print -prune' :${p[35]}\" :Label\" '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status " -F '\$Time \$Message' -k Sender kernel -k Message Req 'bad |Beac|caug|dead[^bl]|FAIL|fail|GPU |hfs: Ru|inval|jnl:|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|tim(ed? ?|ing )o|WARN' -k Message Rne 'Goog|ksadm|SMC:| VALI|xpma' -o -k Sender fseventsd -k Message Req 'SL' " '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/r*/com.apple.*.{BS,Bas,Es,J,OSXU,Rem,up}*.bom' '{/,}L*/Lo*/Diag* -type f -regex .\*[cgh] ! -name *ag \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;|sort -t: -k2 |tail -n'${p[38]} '-L {/{S*/,},}L*/Lau* -type f' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' '-L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Ca*/*/Ex,Co{mpon,reM},Ex,Inter,iTu*/*P,Keyb,Mail/B,Pr*P,Qu*T,Scripti,Sec,Servi,Spo,Widg}* -path \\*s/Resources -prune -o -type f -name Info.plist' '/usr/lib -type f -name *.dylib' `awk "${s[31]}"<<<${p[23]}` "/e*/{auto,{cron,fs}tab,hosts,{[lp],sy}*.conf,pam.d/*,ssh{,d}_config,*.local} {,/usr/local}/etc/periodic/*/* /L*/P*{,/*}/com.a*.{Bo,sec*.ap}*t /S*/L*/Lau*/*t .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers\ "${p[N5]}" -getinfo\ "${p[N5]}" -P -m\ / '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --only-files --files com.apple.pkg.*|sort|uniq' -kl -l -s\ / '-R -l1 -n1 -o mem -stats command,uid,mem' '+c0 -i4TCP:0-1023' com.apple.dashboard\ layer-gadgets '-d /L*/Mana*/$USER&&echo On' '-app Safari WebKitDNSPrefetchingEnabled' "+c0 -l|awk '{print(\$1,\$3)}'|sort|uniq -c|sort -n|tail -1|awk '{print(\$2,\$3,\$1)}'" );N1=${#c2[@]};for j in {0..9};do c2[N1+j]=SP${p[j]}DataType;done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n ' syscall::'${p[33+j]}':return { @out[execname,uid]=sum(arg0) } tick-10sec { trunc(@out,1);exit(0);} '";done;l=(Restricted\ files Hidden\ apps 'Elapsed time (s)' POST Battery Safari\ extensions Bad\ plists 'High file counts' User Heat System\ load boot\ args FileVault Diagnostic\ reports Log 'Free space (MiB)' 'Swap (MiB)' Activity 'CPU per process' Login\ hook 'I/O per process' Mach\ ports kexts Daemons Agents launchd Startup\ items Admin\ access Root\ access Bundles dylibs Apps Font\ issues Inserted\ dylibs Firewall Proxies DNS TCP/IP Wi-Fi Profiles Root\ crontab User\ crontab 'Global login items' 'User login items' Spotlight Memory Listeners Widgets Parental\ Controls Prefetching SATA Descriptors );N3=${#l[@]};for i in 0 1 2;do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Current ${p[29+j]}stream data";done;A0() { id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear >&-;date '+Start time: %T %D%n';};for i in 0 1;do eval ' A'$((1+i))'() { v=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};A'$((3+i))'() { v=` while read i;do [[ "$i" ]]&&eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "$v" ]];};A'$((5+i))'() { v=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "$v" ]];};';done;A7(){ v=$((`date +%s`-v[3]));};B2(){ v[$1]="$v";};for i in 0 1;do eval ' B'$i'() { v=;((v['$((i+1))']==0))||{ v=No;false;};};B'$((3+i))'() { v[$2]=`'${c1[30+i]}' "${s[$3]}"<<<"${v[$1]}"`;} ';done;B5(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d: <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`grep -Fv "${v[$1]}"<<<"$v"`;};C0(){ [[ "$v" ]]&&echo "$v";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { v=`sed -E "$s"<<<"$v"`&&C1 1 $1;};for i in 1 2;do for j in 0 2 3;do eval D$i$j'(){ A'$i' $1 $2 $3; C'$j' $4;};';done;done;{ A0;D20 0 $((N1+1)) 2;D10 0 $N1 1;B0;C2 27;B0&&! B1&&C2 28;D12 15 37 25 8;A1 0 $((N1+2)) 3;C0;D13 0 $((N1+3)) 4 3;D23 0 $((N1+4)) 5 4;D13 0 $((N1+9)) 59 50;for i in 0 1 2;do D13 0 $((N1+5+i)) 6 $((N3+i));done;D13 1 10 7 9;D13 1 11 8 10;D22 2 12 9 11;D12 3 13 10 12;D23 4 19 44 13;D23 5 14 12 14;D22 6 36 13 15;D22 7 37 14 16;D23 8 15 38 17;D22 9 16 16 18;B1&&{ D22 35 49 61 51;D22 11 17 17 20;for i in 0 1;do D22 28 $((N2+i)) 45 $((N4+i));done;};D22 12 44 54 45;D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 32 0;B4 0 5 11;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 32 6;B4 0 7 11;B3 4 0 22;A3 14 6 32 0;B4 0 8 11;B5 7 8;B1&&{ A2 19 26 23;B7 7;C3 23;};A2 18 26 23;B7 7;C3 24;A2 4 20 21;B7 6;B2 9;A4 14 7 52 9;B2 10;B6 9 10 4;C3 25;D13 4 21 24 26;B4 4 12 26;B3 4 13 27;A1 4 22 29;B7 12;B2 14;A4 14 6 52 14;B2 15;B6 14 15 4;B3 0 0 30;C3 29;A1 4 23 27;B7 13;C3 30;D13 24 24 32 31;D13 25 37 32 33;A2 23 18 28;B2 16;A2 16 25 33;B7 16;B3 0 0 34;B2 21;A6 47 21&&C0;B1&&{ D13 21 0 32 19;D13 10 42 32 40;D22 29 35 46 39;};D13 14 1 48 42;D12 34 43 53 44;D22 0 $((N1+8)) 51 32;D13 4 8 41 6;D12 26 28 35 34;D13 27 29 36 35;A2 27 32 39&&{ B2 19;A2 33 33 40;B2 20;B6 19 20 3;};C2 36;D23 33 34 42 37;B1&&D23 35 45 55 46;D23 32 31 43 38;D12 36 47 32 48;D13 20 42 32 41;D13 14 2 48 43;D13 4 5 32 1;D13 4 3 60 5;D12 26 48 49 49;B3 4 22 57;A1 26 46 56;B7 22;B3 0 0 58;C3 47;D22 4 4 50 0;D23 22 9 37 7;A7;C2 2;} 2>/dev/null|pbcopy;exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    8. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    9. If you see an error message in the Terminal window such as "Syntax error" or "Event not found," enter
    exec bash
    and press return. Then paste the script again.
    10. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return  three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    11. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report what happened. No harm will be done.
    12. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At the top of the results, there will be a line that begins with the words "Start time." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    13. When you post the results, you might see an error message on the web page: "You have included content in your post that is not permitted," or "You are not authorized to post." That's a bug in the forum software. Please post the test results on Pastebin, then post a link here to the page you created.
    14. This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • Backups failing with error 19: the backup disk could not be resolved, or there was a problem mounting it

    Hello all,
    Doubt this issue relates to a recent and ugly issue but sharing anyways (resolved thanks to a user here: LaPastenague)
    Time Capsule won't backup if Modem (Motorola SB6121) attached
    This was on Feb 10th resolved. Few days later I upgraded to Yosemite.  Backups were working fine since.  
    Yesterday I happen to notice my last backup was 5 days ago.  I looked in the console logs and saw:
    2/25/15 3:55:06.127 PM com.apple.backupd[2777]: Attempting to mount network destination URL: afp://Paul;AUTH=SRP@Time%20Capsule._afpovertcp._tcp.local./Data
    2/25/15 3:55:17.778 PM com.apple.backupd[2777]: NAConnectToServerSync failed with error: 2 (No such file or directory) for url: afp://Paul;AUTH=SRP@Time%20Capsule._afpovertcp._tcp.local./Data
    2/25/15 3:55:17.792 PM com.apple.backupd[2777]: Backup failed with error 19: The backup disk could not be resolved, or there was a problem mounting it.
    2/25/15 3:57:18.808 PM com.apple.prefs.backup.remoteservice[2021]: Attempt to use XPC with a MachService that has HideUntilCheckIn set. This will result in unpredictable behavior: com.apple.backupd.status.xpc
    I called Apple.  Their front line was clueless. He suggested resetting the TC (latest "tower" model btw") which then a backup kicked off YEAH
    But the next hour it failed
    Called Apple again, this time to Sr Advisor.  He suggested factory reset of the TC and set up again.  Also first backup worked then rest failed
    Third call to Apple useless also.  He was asking questions I didn't feel relevant.  He also was asking me to reset the TC which I told him was done 2 hours prior. He asked me to reboot which I could NOT at that time.
    I begged him to collect data to submit to engineering, which will take days to get a reply.
    So I thought I would throw this out to the community....
    TC Is NEW (replaced from last issue).  Mac is 8 months old (iMac 27"), Os is Yosemite,  TC also new (latest model)
    Thanks...

    Yosemite is problematic on two fronts.. Networking and Time Machine.. so the combo of doing both with a Time Capsule is like bugs on bugs.
    Here is my standard list.. but your problem maybe difficult to resolve.. and my suggestion is simple.. until Apple get their act together and fix TM.. buy Carbon Copy Cloner and use that for your backup. It is solid and reliable.. even better if you use USB drive plugged into the computer and do a bootable clone.. because then you have a backup that is able to be tested for full functionality 2min after the end of the backup.
    This also starts from a factory reset.. but the reason for it is to change the configuration which is much more easily handled with factory reset to begin.. the instructions are there.. because this is my standard reply.. this is not uncommon!!
    Factory reset universal
    Power off the TC.. ie pull the power cord or power off at the wall.. wait 10sec.. hold in the reset button.. be gentle.. power on again still holding in reset.. and keep holding it in for another 10sec. You may need some help as it is hard to both hold in reset and apply power. It will show success by rapidly blinking the front led. Release the reset.. and wait a couple of min for the TC to reset and come back with factory settings. If the front LED doesn’t blink rapidly you missed it and simply try again. The reset is fairly fragile in these.. press it so you feel it just click and no more.. I have seen people bend the lever or even break it. I use a toothpick as tool.
    N.B. None of your files on the hard disk of the TC are deleted.. this simply clears out the router settings of the TC.
    Setup the TC again.
    ie Start from a factory reset. No files are lost on the hard disk doing this.
    Then redo the setup from the computer with Yosemite.
    1. Use very short names.. NOT APPLE RECOMMENDED names. No spaces and pure alphanumerics.
    eg TCgen5 and TCwifi for basestation and wireless respectively.
    Even better if the issue is more wireless use TC24ghz and TC5ghz with fixed channels as this also seems to help stop the nonsense. But this can be tried in the second round.
    2. Use all passwords that also comply but can be a bit longer. ie 8-20 characters mixed case and numbers.. no non-alphanumerics.
    3. Ensure the TC always takes the same IP address.. you will need to do this on the main router using dhcp reservation.. or a bit more complex setup using static IP in the TC. But this is important.. having IP drift all over the place when Yosemite cannot remember its own name for 5 min after a reboot makes for poor networking. If the TC is main router it will not be an issue.
    4. Check your share name on the computer is not changing.. make sure it also complies with the above.. short no spaces and pure alphanumeric.. but this change will mess up your TM backup.. so be prepared to do a new full backup. Sorry.. keep this one for second round if you want to avoid a new backup.
    5. Mount the TC disk in the computer manually.
    In Finder, Go, Connect to server from the top menu,
    Type in SMB://192.168.0.254 (or whatever the TC ip is which you have now made static. As a router by default it is 10.0.1.1 and I encourage people to stick with that unless you know what you are doing).
    You can use name.. SMB://TCgen5.local where you replace TCgen5 with your TC name.. local is the default domain of the TC and doesn't change.
    However names are not so easy as IP address.. nor as reliable. At least not in Yosemite they aren't. The domain can also be an issue if you are not plugged or wireless directly to the TC.
    6. Make sure IPv6 is set to link-local only in the computer. For example wireless open the network preferences, wireless and advanced / TCP/IP.. and fix the IPv6. to link-local only.
    There is a lot more jiggery pokery you can try but the above is a good start.. if you find it still unreliable.. don't be surprised.
    You might need to do some more work on the Mac itself. eg Reset the PRAM.. has helped some people. Clean install of the OS is also helpful if you upgrade installed.
    Tell us how you go.
    Someone posted a solution.. See this thread.
    Macbook can't find Time Capsule anymore
    Start from the bottom and work up.. What I list here is good network practice changes but I have avoided Yosemites bug heaven.
    This user has had success and a few others as well.
    RáNdÓm GéÉzÁ
    Yosemite has serious DNS bug in the networking application.. here is the lets say more arcane method of fixing it by doing a network transplant from mavericks.
    http://arstechnica.com/apple/2015/01/why-dns-in-os-x-10-10-is-broken-and-what-yo u-can-do-to-fix-it/

  • Time Machine backups suddenly failing with error 109 (console errors inc.)

    I've been using Time Machine over my Airport Extreme Base Station for months without a single error, and all of the sudden it fails constantly with the error:
    *The backup disk image “/Volumes/TARDIS-1/Derek’s iMac_001f5bf60eb1.sparsebundle” could not be accessed (error 109).*
    I've tried selecting the drive again since it's mounted fine. It's mounted as TARDIS, not TARDIS-1, which I thought was a clue to the problem until I went to the Console to see all of the errors:
    9/15/09 Sep 15 - 8:10:16 AM com.apple.backupd[12333] Attempting to mount network destination using URL: afp://[email protected]/TARDIS
    9/15/09 Sep 15 - 8:10:16 AM com.apple.backupd[12333] Mounted network destination using URL: afp://[email protected]/TARDIS
    9/15/09 Sep 15 - 8:13:35 AM com.apple.backupd[12333] Failed to mount disk image /Volumes/TARDIS-1/Derek’s iMac_001f5bf60eb1.sparsebundle (DIHLDiskImageAttach returned: 109)
    9/15/09 Sep 15 - 8:13:35 AM com.apple.backupd[12333] Giving up after 3 retries.
    9/15/09 Sep 15 - 8:13:41 AM com.apple.backupd[12333] Backup failed with error: 21
    9/15/09 Sep 15 - 8:13:41 AM com.apple.backupd[12333] Ejected Time Machine network volume.
    I've seen others say that Time Machine quit working after updating to Snow Leopard, but i've been running it since launch and the problems only appeared yesterday. Ideas?

    I'm not sure why you call it a "phantom" drive, because I was quite intentionally connected to that network drive. In any case, I did as you recommended, in case that was the issue (though over the months I've often been connected to the network drive). Sadly, no dice.
    9/15/09 Sep 15 - 8:50:18 AM com.apple.backupd[13136] Starting standard backup
    9/15/09 Sep 15 - 8:50:18 AM com.apple.backupd[13136] Attempting to mount network destination using URL: afp://[email protected]/TARDIS
    9/15/09 Sep 15 - 8:50:19 AM com.apple.backupd[13136] Mounted network destination using URL: afp://[email protected]/TARDIS
    9/15/09 Sep 15 - 8:54:07 AM com.apple.backupd[13136] Failed to mount disk image /Volumes/TARDIS/Derek’s iMac_001f5bf60eb1.sparsebundle (DIHLDiskImageAttach returned: 109)
    9/15/09 Sep 15 - 8:54:07 AM com.apple.backupd[13136] Waiting 60 seconds and trying again.
    During the step "Making backup disk available..." in the Time Machine preference pane, looking in Volumes, I have:
    lrwxr-xr-x 1 root 1 Sep 10 19:48 Macintosh HD -> /
    drwx------ 13 root 398 Mar 10 2009 TARDIS
    drwxr-xr-x 1 derek 12288 Mar 5 2009 Untitled
    So it's properly connecting to TARDIS, it would seem, as root.

  • SQL Backup fails with error 87 parameter incorrect

    I have a SQL Server 2008 R2 SP2 Standard instance working great, except upon attempts to use SQL backup to a UNC path hosted on Server 2012 R2, backup jobs fail with error 87 (the parameter is incorrect). When backing up to Server 2008 R2 and Server 2012
    shares, everything seems to work normally.
    Any experience with something like this? I've verified perms to the path and reachability in general, and it's clearly not an access denied error (which I've seen before).

    Thanks Alberto - I've verified that user (it's a domain user) has full access perms on that path, and tested outside of SSMS.
    Detailed error:
     System 
      - Provider 
       [ Name]  MSSQLSERVER 
      - EventID 18210 
       [ Qualifiers]  49152 
       Level 2 
       Task 6 
       Keywords 0x80000000000000 
      - TimeCreated 
       [ SystemTime]  2014-05-13T15:57:52.000000000Z 
       EventRecordID 2083317 
       Channel Application 
       Computer GriffinSQL.[local domain here]
      - Security 
       [ UserID]  [guid here]
    - EventData 
       BackupIoRequest::ReportIoError 
       write 
       \\storage\backups\sql\testggg.bak 
       87(The parameter is incorrect.) 
       22470000100000000B0000004700520049004600460049004E00530051004C00000000000000 
    Binary data:
    In Words
    0000: 00004722 00000010 0000000B 00520047 
    0008: 00460049 00490046 0053004E 004C0051 
    0010: 00000000 0000   
    In Bytes
    0000: 22 47 00 00 10 00 00 00   "G......
    0008: 0B 00 00 00 47 00 52 00   ....G.R.
    0010: 49 00 46 00 46 00 49 00   I.F.F.I.
    0018: 4E 00 53 00 51 00 4C 00   N.S.Q.L.
    0020: 00 00 00 00 00 00         ......

Maybe you are looking for

  • How do I fully Uninstall Creative Suite 4 from Windows 7?

    I recently purchased a new computer which has Windows 7.  I installed my CS4 software and it was running perfectly until additional software was installed and in the process of that we had a circuit breaker trip and the computer shut down.  In order

  • While adding KONA table in query(sq02), relevant billing doc not displayed

    Hi experts, When I am changing an existing query through sq02( I am joining table KONA with already existing tables VBRK & VBRP and adding fields , Agreement number & Validity date from & Valid till) , after execution , query displays 3 additional co

  • Apple Tv no photos. Home sharing only lasts for one session

    My Apple Tv only shares photos for a while then my computers name disappears from head list I can only access Music after subscribing to I match and using I cloud. Have tried some ideas suggested by others with similar problems; and 4 calls with Appl

  • Not Saving Originals

    I know that when I edit an image, iPhoto saves both the edited and the original image. I'm working with limited hard-drive space. Is there an easy way to not save the original when I make edits? Or do I need to go into the iPhoto folders and find/del

  • Photoshop Elements 10 not importing GPS data from xmp file

    PSE 10 is not importing GPS information from the xmp file. Lightroom correctly records the GPS data but this info in not brought in when I add the photo to the PSE 10 catalog.  Has anyone experienced the same problem?