A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://help.tableau.com/current/server-linux/en-us/cli_default_filepaths_tsm.htm below:

tsm File Paths - Tableau

Certain tsm commands read files from or write files to default locations. These default locations are determined by basefilepath configuration keys defined for each command. You can use tsm to view the current value of the keys, and to change the locations.

Default locations for files

During the tsm maintenance backup, restore, send-logs, and ziplogs processes, and the tsm sites export and sites import processes, Tableau Server uses default locations for the files created or used by these commands.

For details on disk space requirements for backing up Tableau Server, see Disk Space Usage for Backup.

By default:

Get the current file location

You can see the current file location for a specific command using tsm configuration get:

Change the current file location

You can change the expected file locations using the tsm configuration set command to update the basefilepath variables. For details about specific base file paths, see tsm configuration set Options.

Changing a basefilepath variable does not move existing files from the original directory to the new directory. If you want existing backup, restore, log files, or site export or import files to reside in the new directory you specify, you must move them manually. You are responsible for creating the new location and for setting the correct permissions to allow tsm access to any files that will be placed there, and to the directory structure containing those files. For more information about permissions and tsm, see Files and Permissions in TSM. If you change the backup/restore base file path, you should run the tsm maintenance validate-backup-basefilepath command (available in version 2022.1 and later) to verify the permissions are properly set.

The tsm maintenance backup command assembles the backup in a temporary location in the data directory before saving the backup file to the location specified by the basefilepath.backuprestore variable. Changing the basefilepath does not impact where the tsm maintenance backup command assembles the backup file.

After you change a default file location you need to do the following:

  1. Apply pending changes:

    tsm pending-changes apply

    If the pending changes require a server restart, the pending-changes apply command will display a prompt to let you know a restart will occur. This prompt displays even if the server is stopped, but in that case there is no restart. You can suppress the prompt using the --ignore-prompt option, but this does not change the restart behavior. If the changes do not require a restart, the changes are applied without a prompt. For more information, see tsm pending-changes apply.

  2. Stop Tableau Server:

    tsm stop

  3. Restart the TSM Controller (as tableau system account) :

    sudo su -l tableau -c "systemctl --user restart tabadmincontroller_0.service"

  4. Wait several minutes for the controller to restart. You can confirm the controller has restarted with this command:

    tsm status -v

    When you can run that command and the Tableau Server Administration Controller is listed as 'running' the controller has restarted.

  5. Start Tableau Server:

    tsm start

 


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4