To back up or restore data, use the backup_restore.sh script.
backup_restore.sh <backup_directory> -backup| -restore