11/13/2022 0 Comments Power save macUse terminal and enter the following command.>/li> change the backup interval so it is less frequent.make /Library/Postgresql one of the folders that is ignored by Time Machine.If Time Machine must be used on the database server machine: Use the backup script and move the backups to another machine. If you must use time machine on the database server, see the next step for optionsĭo not use Time Machine for the Postgres backups. tmutil listlocalsnapshots / (optional) to see how many snapshots there are.Īlternatively, you can disable Time Machine through System Preferences.sudo tmutil thinLocalSnapshots / 10000000000 4 (for sierra and later to thin local backups if time machine enabled and you need space).sudo tmutil disablelocal (only for sierra and earlier).sudo tmutil addexclusion /Library/PostgreSQL.Using Terminal, disable Time Machine for the database folder (optionally, completely disable and local Time Machine files) Note: If any mdworker messages are in the console logs (or if mdworker pops up in activity logs), then Spotlight is not turned off. If you receive Operation not permitted while System Integrity Protection is engaged while doing this, you may wish to disable System Integrity Protection To recognize if Spotlight is running on a server, look for an 'mds' application running. This will prevent the operating system from doing unnecessary work while serving web pages. Sudo launchctl unload -w /System/Library/LaunchDaemons/.plist On Lion and later, also use the following command Turn off Spotlight Indexing (mdsworker) using Terminal and typing #Power save mac mac#
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |