macOS: tmutil set quota

root's picture

Hey, I had today a very difficult task (ironic): to modify quota on a destination time machine.
So, as usual, without too much blabbing, below is an example of how I have modified quota for TM destination.

fmbp16:~ zub$ tmutil destinationinfo
====================================================
Name          : mbp16TM
Kind          : Network
URL           : smb://zub@MINIVM._smb._tcp.local./mbp16TM
ID            : 1
> ==================================================
Name          : TM
Kind          : Network
URL           : smb://zub@myarm._smb._tcp.local./TM
ID            : 2
Quota         : 2,5 TB
fmbp16:~ zub$ tmutil setquota 2 3000
tmutil: setquota requires root privileges.
fmbp16:~ zub$ sudo tmutil setquota 2 3000
Password:
fmbp16:~ zub$ tmutil destinationinfo
====================================================
Name          : mbp16TM
Kind          : Network
URL           : smb://zub@MINIVM._smb._tcp.local./mbp16TM
ID            : 1
> ==================================================
Name          : TM
Kind          : Network
URL           : smb://zub@myarm._smb._tcp.local./TM
ID            : 2
Quota         : 3 TB
fmbp16:~ zub$

Thou shalt not steal!

If you want to use this information on your own website, please remember: by doing copy/paste entirely it is always stealing and you should be ashamed of yourself! Have at least the decency to create your own text and comments and run the commands on your own servers and provide your output, not what I did!

Or at least link back to this website.

Recent content

root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root