Time Machine - A quick trouble shooting guide

Backup, Restore, Netbak Replicator, Cloud Storage Services
xavierh
Experience counts
Posts: 1118
Joined: Wed Jan 30, 2008 6:15 am
Location: Denton, Texas

Re: Time Machine - A quick trouble shooting guide

Post by xavierh »

AWesome post!!! this should be a sticky!!!

QNAP TVS-951xQTS 5.0.0.1986 build 20220324 OS Storage Pool: Samsung 860 EVO 250GB SSD x 4 (RAID 5), Data Storage Pool: WD WD30EFRX (Red) 3TB x 4 (RAID 5), 16GB RAM WD Easystore 10TB External USB 3.0 Services: SMB, Appletalk, QPKG: Container Station, HBS 3
QNAP TS-453AQTS 5.0.0.1986 build 20220324 Services: SMB, HBS 3
Network: UDM, UDM Beacon, Unifi 8 Port Switch x 3, Flex Mini Switch, In Wall AP
sam.brix
First post
Posts: 1
Joined: Sun Dec 29, 2013 8:27 pm

Re: Time Machine - A quick trouble shooting guide

Post by sam.brix »

Horrus wrote:James From Qnap solved my problem and now everything is ok.

The only thing to do is :

connect with ssh
ssh admin@youripadress
go to directory : share/TMbackup
then remove this files
[/share/TMBackup] # rm .com.apple.timemachine.supported
[/share/TMBackup] # rm -rf .AppleDB/

Sorry for my bad English and tanks again dear James
Sorry, I don´t want to be unthankful but could you give us a way so the normal MacUser could understand what to do exactly?
First of all: Were, how and what to connect with ssh??? I mean in finder or at the NAS directly….

Besides that, does anybody know what is done exactly by removing those files? Is just the error message removed or the cause of the message?

Thanks in advance!
Massibaugigi
Starting out
Posts: 14
Joined: Mon Mar 31, 2014 1:06 am

Re: Time Machine - A quick trouble shooting guide

Post by Massibaugigi »

Hi to all,

I would like to post a question without open up a new thread as I guess that's already the right one for asking about my issue.
My brother has recently bought a new Mac and I wish to back up his datas into qnap's TimeMachine application. Strangely, I don't manage to connect the client TM application (the MAC computer) to the server one and I'm not able to understand the reasons. I've no problem with another MAC computer which belong to my second brother who can get connected easily. So a doubt has popped up about the impossibility of backing up multiple MAC devices into the NAS or, most likely, the due to configure some files properly.

Can you give me some tips of how to solve this problem?

Thank you all in advance!
capkin
Starting out
Posts: 40
Joined: Tue Jan 15, 2008 2:55 am

Re: Time Machine - A quick trouble shooting guide

Post by capkin »

I tried the steps above, but still can't connect to the TimeMachine drive. Any help greatly appreciated.
vladimir.shumskij
First post
Posts: 1
Joined: Thu Nov 14, 2013 10:05 am

Re: Time Machine - A quick trouble shooting guide

Post by vladimir.shumskij »

To use an ssh connection from a mac, the easiest is to use the terminal: http://mac.appstorm.net/how-to/utilitie ... he-basics/
mucstore
Starting out
Posts: 35
Joined: Sat May 05, 2012 3:25 am

Re: Time Machine - A quick trouble shooting guide

Post by mucstore »

Hi all,

the backup of my Macbook Pro (currently Mac OS X Maverick 10.9.5) on my QNAP NAS (currently TS 212P with QTS 4.1.1; before TS-110 with pre-QTS firmware) with Time Machine has troubled me for a long time, so I though I give it another try in this forum:

At the moment, it does work in general, but is painfully slow. For example, backing up 50 MB of data takes about 40 minutes (see below), while manually transferring a similar amount of data to the same NAS drive takes only of few seconds (with both SMB or AFP). So clearly, something is very wrong here, either with the NAS or the Mac.

Digging into the system log, I found the following:

Code: Select all

22.10.14 19:54:36,444 com.apple.backupd[9386]: Starting manual backup
22.10.14 19:54:36,444 com.apple.backupd[9386]: Attempting to mount network destination URL: afp://TimeMachine@CMN-NAS-2(TimeMachine)._afpovertcp._tcp.local/TMBackup
22.10.14 19:54:46,458 com.apple.backupd[9386]: Mounted network destination at mount point: /Volumes/TMBackup using URL: afp://TimeMachine@CMN-NAS-2(TimeMachine)._afpovertcp._tcp.local/TMBackup
22.10.14 19:55:33,015 com.apple.backupd[9386]: Renaming /Volumes/TMBackup/Mathias Neumüllers MacBook Pro.sparsebundle to /Volumes/TMBackup/Mathias Neumüllers MacBook Pro.sparsebundle
22.10.14 19:55:33,056 com.apple.backupd[9386]: Failed to move /Volumes/TMBackup/Mathias Neumüllers MacBook Pro.sparsebundle to file:///Volumes/TMBackup/Mathias%20Neumu%CC%88llers%20MacBook%20Pro.sparsebundle/ error Error Domain=NSCocoaErrorDomain Code=516 "“Mathias Neumüllers MacBook Pro” couldn’t be moved to “TMBackup” because an item with the same name already exists." UserInfo=0x7f8e8b4264f0 {NSSourceFilePathErrorKey=/Volumes/TMBackup/Mathias Neumüllers MacBook Pro.sparsebundle, NSUserStringVariant=(
    Move
), NSDestinationFilePath=/Volumes/TMBackup/Mathias Neumüllers MacBook Pro.sparsebundle, NSFilePath=/Volumes/TMBackup/Mathias Neumüllers MacBook Pro.sparsebundle, NSUnderlyingError=0x7f8e8b425df0 "The operation couldn’t be completed. File exists"}
22.10.14 19:56:30,612 com.apple.backupd[9386]: Disk image /Volumes/TMBackup/Mathias Neumüllers MacBook Pro.sparsebundle mounted at: /Volumes/Time Machine-Backups 2
22.10.14 19:56:33,252 com.apple.backupd[9386]: Backing up to /dev/disk3s2: /Volumes/Time Machine-Backups 2/Backups.backupdb
22.10.14 20:00:16,443 com.apple.backupd[9386]: Will copy (46.5 MB) from Macintosh HD
22.10.14 20:00:16,448 com.apple.backupd[9386]: Found 862 files (52.2 MB) needing backup
22.10.14 20:00:16,458 com.apple.backupd[9386]: 1.26 GB required (including padding), 521.53 GB available
22.10.14 20:34:29,370 com.apple.backupd-helper[61]: Not starting scheduled Time Machine backup: Backup already running
22.10.14 20:40:27,063 com.apple.backupd[9386]: Copied 999 items (49.2 MB) from volume Macintosh HD. Linked 7567.
22.10.14 20:49:49,967 com.apple.backupd[9386]: Will copy (249.2 MB) from Macintosh HD
22.10.14 20:49:50,705 com.apple.backupd[9386]: Found 836 files (249.2 MB) needing backup
22.10.14 20:49:50,706 com.apple.backupd[9386]: 1.49 GB required (including padding), 521.53 GB available
22.10.14 21:34:43,980 com.apple.backupd-helper[61]: Not starting scheduled Time Machine backup: Backup already running
22.10.14 21:36:39,320 com.apple.backupd[9386]: Copied 894 items (249.2 MB) from volume Macintosh HD. Linked 21458.
22.10.14 21:37:04,781 com.apple.backupd[9386]: Created new backup: 2014-10-22-213644
22.10.14 21:44:49,364 com.apple.backupd[9386]: Starting post-backup thinning
22.10.14 21:55:04,261 com.apple.backupd[9386]: Deleted /Volumes/Time Machine-Backups 2/Backups.backupdb/Mathias Neumüllers MacBook Pro/2014-09-22-195839 (31.4 MB)
22.10.14 21:55:04,261 com.apple.backupd[9386]: Post-backup thinning complete: 1 expired backups removed
22.10.14 21:55:04,524 com.apple.backupd[9386]: Backup completed successfully.
22.10.14 21:55:51,377 com.apple.backupd[9386]: Ejected Time Machine disk image: /Volumes/TMBackup/Mathias Neumüllers MacBook Pro.sparsebundle
22.10.14 21:56:01,916 com.apple.backupd[9386]: Ejected Time Machine network volume.
Now apart from the rather slow process, there seems to be problems with the mounting or rather renaming of the TimeMachine share (see entry at 19:55:33). Any idea, why TM wants to rename this at all and why it would fail? Moreover, TM seems to find a workaround by mounting the same backup set a second time (see entry at 19:56:30). Could this lead to the very poor performance?

The above pattern, i.e. the failure to move/rename followed by a second mount of the backup volume, appears with every backup (manual and automatic). I also found some other problems in the log, however, they were not consistent:

Code: Select all

22.10.14 19:34:12,141 com.apple.backupd[8841]: Error: (5) getxattr for key:com.apple.backupd.SnapshotState path:/Volumes/Time Machine-Backups 2/Backups.backupdb/Mathias NeumuÃàllers MacBook Pro/2014-09-30-184548
Lastly, to give you a fuller picture, I should also mention that in the past, TM on occasions reported a corrupted backup set. I've tried the various suggestions on this board and others to fix the corrupted sets, but to no avail. However, I am starting to believe that this is rather a consequence of the slow backup speed than its cause, caused by incomplete backup runs.

Any insight into these issues would be really appreciated!

Mathias
ande
Starting out
Posts: 14
Joined: Fri Feb 03, 2012 7:43 am

Re: Time Machine - A quick trouble shooting guide

Post by ande »

TimeMachine on QNAP: Unusable

I have followed the hints to remove the .AppleDB, .AppleDoulble etc. and I was successful with restarting AFP.

By the way: How many months will it take until QNAP pushes an update?

However, as in the about 6 cases in the last 2 or 3 years, touching TimeMachine deletes my entire TimeMachine backup without even asking!

Conclusion: This is not professional AT ALL - and I'm reverting to external USB disks. There, I am able to have a backup back to 2011. Never with QNAP.
sonicflight
First post
Posts: 1
Joined: Tue Jan 20, 2015 10:30 am

Re: Time Machine - A quick trouble shooting guide

Post by sonicflight »

For all that I spent on this unit and the 'professional' grade quality it is supposed to have, why isn't this issue fixed yet by QNAP..? This is totally horrible support and nowhere near the expectations that QNAP establishes for their product and software. Isn't anyone else frustrated on this.? This is just unacceptable..!
datatrack
New here
Posts: 4
Joined: Fri Mar 20, 2015 6:31 pm

Re: Time Machine - A quick trouble shooting guide

Post by datatrack »

Thanks for this post. It is an important information about time machine.
User avatar
marshalleq
Easy as a breeze
Posts: 303
Joined: Mon Jul 23, 2012 2:44 pm
Contact:

Re: Time Machine - A quick trouble shooting guide

Post by marshalleq »

Great tip notshy!
TS669-L (3GB RAM) fw 4.3.2.0050 Build 20170104 with 6x4TB Seagate ST4000VN000-1H41SC43 2x2TB Hitachi HDS723020BLA642 2x8TB ST8000VN0022-2EL112
QNAP UX-500P External 5 Bay USB3 Expansion Cabinet
Raspberry Pi 1,2 & 3
Mac Mini
Apple TV 3/4
Windows
Sabayon Linux
Ubuntu Linux
Android
Docker
Ryzen 1800x custom system

Web
https://www.tech-knowhow.com

Twitter
@Marshalleq
@TechKn0wH0w
sokofromnz
Starting out
Posts: 33
Joined: Sat Jun 06, 2015 3:29 pm

Re: Time Machine - A quick trouble shooting guide

Post by sokofromnz »

Hey guys,

I just enabled TimeMachine backup on my TS-431+ with the latest firmware 4.1.4 2015/05/22 but the disk doesn't show on my MacBook pro.
I connected via ssh to the NAS and looked into the /share/TMBackup folder: nothing in there...

Any suggestions what I can do?

Thanks
Soko
User avatar
schumaku
Guru
Posts: 43579
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: Time Machine - A quick trouble shooting guide

Post by schumaku »

sokofromnz wrote:I just enabled TimeMachine backup on my TS-431+ with the latest firmware 4.1.4 2015/05/22 but the disk doesn't show on my MacBook pro.
It can take a moment until the Bonjour announcements show up.

While both should be enabled and started with the Time MAchine configuration, lets check it:

Is Bonjour enabled? Control Panel -> Network Services -> Service Discovery -> [Bonjour]

[~] # ps -ef | grep avahi
6556 guest 1208 S avahi-daemon: running [TS-212.local]
...

Is AFP with DHX2 enabled and running? Control Panel -> Network Services -> Win/Mac/NFS -> [Apple Networking]

[~] # ps -ef | grep afp
8671 admin 568 S /usr/local/sbin/cnid_metad -F /etc/afp.conf
9031 admin 648 S /usr/local/sbin/afpd -F /etc/afp.conf -p /var/afpd3.pid

When things are really bad, the (wireless?) network infrastructure might block or filter the announcements.
sokofromnz
Starting out
Posts: 33
Joined: Sat Jun 06, 2015 3:29 pm

Re: Time Machine - A quick trouble shooting guide

Post by sokofromnz »

I restarted and enabled/disabled the whole thing a couple of times and it showed up.
Haven't checked it for a while though as I'm not using my MacBook regularely.
Thx for the help though! If I'm running into troubles again I check your things first
Ridel
Getting the hang of things
Posts: 73
Joined: Wed Aug 12, 2015 8:18 pm
Location: Toronto, Canada

Re: Time Machine - A quick trouble shooting guide

Post by Ridel »

Horrus wrote:James From Qnap solved my problem and now everything is ok.

The only thing to do is :

connect with ssh
ssh admin@youripadress
go to directory : share/TMbackup
then remove this files
[/share/TMBackup] # rm .com.apple.timemachine.supported
[/share/TMBackup] # rm -rf .AppleDB/

Sorry for my bad English and tanks again dear James
Thank you for this post. I continuously got the following error, and removing the .AppleDB solved it for me.

Code: Select all

Aug 12 08:18:18 xxxxxx.local com.apple.prefs.backup.remoteservice[256]: Error while confirming network destination: Error Domain=com.apple.TimeMachine.Preferences Code=2 "Time Machine can’t access the backup disk “TMBackup”." UserInfo=xxxxx {NSUnderlyingError=0x7feb3b40e6d0 "The operation couldn’t be completed. (OSStatus error 2.)", NSLocalizedDescription=Time Machine can’t access the backup disk “TMBackup”., NSLocalizedRecoverySuggestion=The operation couldn’t be completed. (OSStatus error 2.)}
rtfmoz
Starting out
Posts: 13
Joined: Wed Apr 10, 2013 6:05 pm

Re: Time Machine - A quick trouble shooting guide

Post by rtfmoz »

I remember this... it was a PITA until I changed backup units to a DS415+. Then it just worked... go figure.
Post Reply

Return to “Backup & Restore”