Create space for a backup or restore
------------------------------------

.. index:: drives;drives list

If a ``No space left on device`` message is received during a backup 
or a restore, carry out the following steps:

1. In VMware, add a disk to the system:
  
   a. Click on **VM > Edit Settings…**.
   b. Click **Add…**.
   c. Select **Hard Disk**, then **Create a new virtual disk**.
   d. Set the size to be the same as the DB disk - 250GB.
   e. Click **Finish**

2. Log into platform account, and run **drives list**.
   Make note of the disk under ``Unused disks:``.
3. Run ``drives reassign <disk from step 2> services:backups``

Once done, all current data would have been moved to new disk and the old one 
can be removed from VMware. The **restore** command can now be rerun.
