# Backing Up the Database

![image](https://github.com/illumina-swi/partek-docs/assets/167460925/979641a3-c563-4fbd-a723-e0caea6b2800)

## Linux

### Open a Linux terminal and enter the following commands.

1. Obtain root access:

```
$ sudo su  
```

2. Change to the user account that runs Partek® Flow® . Suppose it is user account *flow*, then\_:\_

```
$ su flow
```

3. Then the default home directory should be/home/flow. Run the following command to make the backup database in home/flow directory, the archived file name is flowdbbackup.tar.gz:

```
$ tar -czvf flowdbbackup.tar.gz .partekflow/
```

4. Log out of the user account that runs Flow:\
   **Ctrl+D**

## MacOS

### Open a Terminal window on the home directory of the user that installed Partek Flow.

1. Run the following command to make the backup database in user's home directory

```
$ tar -czvf flowdbbackup.tar.gz .partekflow/
```

2. The archived file name is flowdbbackup.tar.gz.

## Additional Assistance

If you need additional assistance, please visit [our support page](http://www.partek.com/support) to submit a help ticket or find phone numbers for regional support.
