Backup / export
---------------

It is recommended best practice for customers to regularly 
run a backup.

.. note::

   To perform these tasks on a multinode unified node topology
   or on a modular cluster topology, log in on the database node with
   the second highest weight.



1. Create a localbackup with:
  
   ``backup create localbackup``

2. Add a remote location for the export with:
  
   ``backup add <remotename> sftp://<sftpusername>:<sftppassword>@<IP address>``

3. Export the local backup with:
  
   ``backup export localbackup <remotename> <timestamp>``
  
   (``<timestamp>`` seen with the ``backup list`` command)

4. Ensure that the backup gets run regularly, using the ``schedule`` commands.


.. note:: 
   
   For more details and examples on backup and restore, refer to the Backup and Import topic in 
   the Platform Guide.
