閱讀751 返回首頁    go iPhone_iPad_Mac_apple


Time Machine, tmutil associatedisk, tmutil inhe...

Dear readers and specialists.

 

Some special questions about Time Machine, tmutil associatedisk and tmutil inheritbackup.

Setup:

MacMini Server 10.11 with

- Internal SSD for System called "Server SSD" ~120GB

- Internal hard disk for networked user data called "Server HDD" ~1TB

- External USB3.0 drive with hardware mirror 2x 3TB 24/7 and Volume called "Daten"

- External USB3.0 drive 2TB with volumes "Server SSD Clone" ~128GB, "Server HDD Clone" ~1TB, "Free Space" Leftover

- External USB3.0 drive with hardware mirror 2x 4TB 24/7 and volume called "Backup"

 

Procedures up to now, before change of server hardware:

- Existing Mac Mini Serve 10.10

- Each night at 23:30, CCC deos clone "Server SSD" to "Sever SSD Clone" and "Server HDD" to "Server HDD Clone" with SafeNet ON

- Time Machine does backup "Server SSD", "Server HDD" and "Daten" to "Backup", with exclusion of "Backup", "Server SSD Clone", "Server HDD", "Free Space"

- Above steps have been running successfully since about Spring 2016

 

Steps done:

- Configure and migrate data from "Server SSD Clone" to (new) "Server SSD" with Apple Migration and from "Server HDD Clone" to (new) "Server HDD" with CCC

- Check new configured Mac Mini Server for running properly

- Pull out ONE drive of the external mirror box "Backup" for safety reasons (Not loosing data in case of ...)

- Use command sudo tmutil associatedisk -a "/Volumes/Server SSD" "/Volumes/Backup/Backups.backupdb/fileserver/Latest/Server SSD"

- Use command sudo tmutil associatedisk -a "/Volumes/Server HDD" "/Volumes/Backup/Backups.backupdb/fileserver/Latest/Server HDD"

- Use command sudo tmutil associatedisk -a "/Volumes/Daten" "/Volumes/Backup/Backups.backupdb/fileserver/Latest/Daten"

- Attache a new external USB3.0 2TB drive for clone pourpose and for safety reasons.

- Start Time Machine backup process and check it

- Successfully run Time Machine backup for several hours. Time Machine didn't do any full backup or delete existing backups from the previous Mac Mini hardware

- Reinstalled the mirror drive removed before.

 

What happened:

- After going live with new Mac Mini Server on weekend, on Monday we had a main power failure but the UPS did jump in

- Afte ~30min of running without main power, a employee did try to shutdown the server.

- Unfortunately he didn't wait long enough to give the system the time needed to properly shut down.

- He did force shutdown the mac Mini Server instead.

- Luckily I could switch back to the "old" Mac Mini Server but as it takes a long time to let the command "tmutil associatedisk" finish, I told the employee NOT to connect the backup drive.

- Fixing the "new" crashed Mac Mini Server through reinstall and re-clone it, check it.

- Change Mac Mini Servers again back to new hardware like befor the main power outage.

- Re-executed all three tmutil associatedisk commands as before.

- Started Time Machine again

- By my fault, didn't check what Time Machine was doing because of lack of time.

- As figured out now, .

 

Situation now:

- Time Machine did not accept the backup drive as exiting destination pair to the "new" Mac Mini Server as it did before the main power outage.

- Time Machine did start a new backup and did therefore delete (at least it's not visible anymore) the existing backups.

- Now there are the following directories and files at "/Volumes/Backup/Backups.backupdb/fileserver"

drwxr-xr-x@ 5 root staff 170 6 Okt 11:38 .

drwxrwx---+ 6 root staff 204 13 Jun 2015 ..

drwxr-xr-x@ 8 root staff 272 2 Okt 02:05 2017-10-02-020502

drwxr-xr-x@ 34 root staff 1156 6 Okt 11:42 2017-10-06-113829.inProgress

lrwxr-xr-x 1 root staff 17 2 Okt 02:05 Latest -> 2017-10-02-020502

- Time Machine does now claim it doesn't have enough free space for doing backups. It claims (I'm German speaking, so I try to translate it at my best knowledge) it needs additional ~2.3TB but ONLY ~22GB are free.

- Executing the command "du -ch 2017-10-02-020502/" in the Terminal results in 2TB used space

- Executing the command "du -ch 2017-10-06-113829.inProgress/" in the Terminal results in 2TB used space

 

Question:

- Are all "old" Time Machine backups definitely lost which where existing before the main power loss happened?

- Should I re-execute all three tmutil associatedisk commands again?

- Should I prior to the above tmutil associatedisk commands execute the commend sudo tmutil inheritbackup /Volumes/Backup/Backups.backupdb/fileserver

- Are there any other suggestions, informations, steps known for this?

 

Thank you in advance for anyones help and suggestion.

Kind regards from Switzerland

Thomas Thaler



最後更新:2017-10-07 00:08:39

  上一篇:go Create a SECURE computer
  下一篇:go Upper and below split view in Portrait mode