File management via CPanel

Backups

Overview

The Backups area provides a basic interface for downloading and storing all or some of the website’s files, databases, forwarders and filters. This tool may be useful for more experienced users who wish to expedite the backup process.
note Note: Newer users may prefer to use the Backup Wizard.

Full backups

You can use this interface to create a full backup. The full backup will include your /home directory, databases, email forwarders, and filters.

Create a Full Backup

To save a copy of your website to the web server:
  1. Click the Download or Generate a Full Web Site Backup button.
  2. Select Home Directory from the Backup Destination heading.
  3. Enter your email address.
  4. Click the Generate Backup button. You will receive an email after the backup is complete.
    • The backup file's creation date appears in the filename (which begins with backup-MM-DD-YYYY). The file will be stored as a tar ball, or compressed data file, with the file extension .tar.gz.

Download a Full Backup

To download a full backup to your computer:
  1. Click Download or Generate a Full Web Site Backup.
  2. Under Backups Available for Download, select the backup file that you wish to save to your computer.
    • The backup file's creation date appears in the filename (which begins with backup-MM-DD-YYYY). The file will be stored as a tar ball, or compressed data file, with the file extension .tar.gz.

Store a Backup file remotely

You can also use the Full Backup interface to log in to a remote computer via FTP/SCP and store the backup files there.
To remotely store a backup file:
  1. Select Remote FTP Server, Remote FTP Server (passive mode transfer), or Secure Copy (SCP) from the Backup Destination menu.
  2. Enter the remote server's information in the text boxes that appear when you select the backup destination.
  3. Click Generate Backup.
You will receive an email after the process is complete.
note Notes:
  • This feature is intended for advanced users.
  • You cannot use a full backup to restore your site via the cPanel interface. You must download and decompress the file prior to restoration. After you decompress the file, you can upload and restore the individual pieces of your account that are contained within the full backup.

Partial Backups

The Backups interface also allows you to store individual pieces of your account.
If you wish to download and store your entire /home directory, your SQL database(s), and your email forwarders and filters, click the appropriate links under the Partial Backups headings. This method will download the backup file(s) to your computer and save them to a specified directory.
PICK Important: The Email Filters backup file that you download will only store the domain account-level email filters that are found in the /etc/vfilters/$domain file. The backup file will not store user account-level email filters.

System Backups

If system backups have been enabled by your web host, you can download a compressed copy of all your website’s files here.
You will see options to download the most recent backup made at daily, weekly, or monthly intervals.
systembackups.png
Download Options for System Backups

Restore the site from the Backups link

This function will restore portions of your site using a backup file on your computer. To begin, choose the part of your site that you wish to restore.
To restore a portion of your site:
  1. Click the appropriate Choose File button.
    • For example, if you wish to restore your MySQL database, click Choose File under the Restore a MySQL Database heading.
  2. Select the backup file from your computer.
  3. Click Upload to restore that portion of your site.

Important information about your backups

Contents of the home directory backup

When you back up your /home directory, the backup includes:
  • All of the files that you own.
  • Files that you do not own but have access to.
note Note: Files that you do not own and do not have access to are not included in the backup — even if they are stored in your /home directory.

Can I exclude files from a backup?

You can exclude certain files and directories from a backup by placing a configuration file in your /home directory.


Backup Wizard


The Backup Wizard is a user-friendly interface for creating a backup of the entire site, a partial backup, or allowing a site restoration from the last backup saved. This tool may be useful to new users.
Using the Backup Wizard, you can back up and save your entire website or a portion of your website. You can also use the Restore link to select files to restore portions of your site. To begin, first select whether you would like to back up or restore your website.

Back up your entire site

To create a full backup:
  1. Select Backup from the first page.
  2. Select Full Backup from the second page.
  3. Select the destination for the backup files. You have 3 options:
    • You can store the files in your home directory on your web server by selecting Home Directory from the pull-down menu.
    • cPanel can also utilize FTP or SCP to store the files to a remote machine. To do this, fill in the appropriate information and select the method for file transfer from the pull-down menu.
    • If you wish to download the file to your computer, skip to the next step.
  4. Click Generate Backup.
    • If FTP or SCP was used, an email will be sent to the email address that you specified at the beginning of the process.
  5. To download a copy of the backup file to your computer, click the filename under Backups Available for Download.
The date the backup was created appears in the filename (which begins with backup-MM-DD-YYYY). The file will be stored as a “tar ball,” or compressed data file, with the filename extension .tar.gz.
note Note: You cannot use a full backup to restore your site via the cPanel interface. The file must be downloaded and decompressed prior to restoration. Once the file has been decompressed, you will be able to upload and restore individual pieces of your website contained within the full backup.

Create a partial backup

To back up a portion of your site:
  1. Select Backup from the first page.
  2. Select the portion of your site to back up by clicking Home Directory, MySQL Databases, or Email Forwarders & Filters.
  3. Click the appropriate link or button on the following page to store the required information to your computer or web server.
note Note: The type of the backup file will depend on what portion of your site you are saving to your computer. For a list of backups and their corresponding file types, see the table below.
Part of Site File Type
Home Directory *.tar.gz
Email Forwarders *.net, *.com
Email Filters *.net, *.com
SQL Database *.sql

Restore a portion of your site

To restore a portion of your site:
  1. Select Restore from the first page.
  2. Select the portion of your site you would like to restore by clicking Home Directory, MySQL Databases, or Email Forwarders & Filters.
  3. Select the file from your computer that should be used to restore the portion of your website that you have selected.
  4. Click Upload to finish the restoration process.
note Note: The type of the backup file will depend on what portion of your site you are restoring. For a list of backups and their corresponding file types, see the table below.
Part of Site File Type
Home Directory *.tar.gz
Email Forwarders *.net, *.com
Email Filters *.net, *.com
SQL Database *.sql

Important information about your backups

What's included in my home directory backup?

When you back up your home directory, the backup includes:
  • All of the files that you own.
  • Files that you do not own but have access to.
note Note: Files that you do not own and do not have access to are not included in the backup — even if they are stored in your home directory.

Can I exclude files from a backup?

You can exclude certain files and directories from a backup by placing a configuration file in your home directory.


File Manager

Overview

File Manager allows cPanel users to manage and edit their files.

The File Manager Directory Selection window

When you open File Manager:
  1. The File Manager Directory Selection window will appear. Select which of four main directories you wish to view in the file window when File Manager opens:
    • The home directory (/home/user)
    • Web Root (/public_html/www)
    • Public FTP Root (/public_ftp)
    • Document Root (/public_html)
  2. If you wish to see hidden files, select the Show Hidden Files checkbox.
  3. If you do not wish to see the File Manager Directory Selection window again, select the Skip this question checkbox.
  4. Click Go.
The File Manager interface opens in a new browser window. The selected directory will display in the file window.

The File Manager toolbar

The File Manager toolbar shows the following functions available to manage your files:
Feature Icon Description
New File new_file_icon.png Creates a new file with a user-defined file extension.
New Folder new_folder_icon.png Creates a new folder in the current directory.
Copy copy_icon.png Copies selected items to a user-specified directory.
Move File move_file_icon.png Moves the selected files to a new directory.
Upload upload_icon.png Uploads files to the selected directory.
Download download_icon.png Downloads selected files to your computer.
Delete delete_icon.png Deletes selected files from the server.
Rename rename_icon.png Renames the selected file or folder.
Edit edit_icon.png Opens the selected files in a text editor.
Code Editor code_editor_icon.png Opens the selected files in a code editor.
HTML Editor html_editor_icon.png Opens the selected HTML file in a visual HTML editor. To learn more about the editor's functions, visit our HTML editor documentation.
Change Permissions change_permissions_icon.png Changes the read, write, and execute permissions for selected files.
View view_icon.png Opens the selected file so that you can view the code.
Extract extract_icon.png Extracts the selected *.zip, *.Gz, or *.Bz2 archive and stores the files in a directory.
Compress compress_icon.png Compresses the selected files to a single *.zip, *.Gz, or *.Bz2 archive and stores the compressed file in a specified directory.
note Notes:
  • When a toolbar action is not available, the function icon turns gray.
  • Certain File Manager functions are designed for use with only one file at a time. Select the desired file in the file window before you attempt these actions.
  • Any attempt to Rename, Edit, or View multiple files at once will only affect the first listed file in the directory.
  • The Extract and Compress functions will only work with the .zip format if Zip is installed on your server. Your system administrator can run the command yum install zip to install the Zip module.

Character encoding verification dialogs

When you edit a file with Edit, Code Editor, or HTML Editor, a window will appear to confirm the file's character encoding. Use the menu to select the correct character encoding for the file. Then, click Edit to continue.
  • Click Toggle Help to display more information about how to select the correct character encoding.
  • Click Disable Encoding Check to turn off future verification dialogs.
You can also turn Character Encoding Verification Dialogs on or off through Settings:
  1. Click Settings in the top left corner of File Manager. A new window will appear.
  2. Enable or disable Character Encoding Verification Dialogs:
    • To turn the encoding verification off, select the Disable Character Encoding Verification Dialogs checkbox.
    • To turn the encoding verification on, deselect the Disable Character Encoding Verification Dialogs checkbox.
  3. Click Save
PICK Warning: If you choose the wrong initial encoding, your file may become corrupt. If your file displays as a series of special characters, immediately abort the edit and select the correct encoding. Do not save the file.

Select a directory

You can use the file tree or the location text box to navigate your files and folders.
There are several ways you can use the file tree (located to the left of the file window) to browse your files:
  • Click on the name of the folder you wish to view
  • Click on the next to the icon to view a list of subfolders in that folder.
    • You can click on the next to an expanded directory to collapse it.
note Note: After you expand a list of subfolders, click on the folder name to view the folder's contents.
To use the location text box directly above the file tree:
  1. Enter the path of the folder you wish to view.
  2. Click Go. The file window will display the contents of the chosen folder.

The file window

The file window displays the contents of the selected directory. If there are no files or folders in the selected folder, the file window will display the message "This directory is empty."
Information about files and subfolders will display in the following columns:
Feature Description
File Icon Files will display an icon that corresponds to the file type. Folders will display the icon.
Name The filename.
Size The size of the file, displayed in bytes, KB, MB, etc.
Last Modified The date and time the file was last modified.
Type The media (MIME) type and subtype.
Perms The permissions setting for the file, in octal notation. The default permission setting is 0644.
note Note:You can click on a column's heading to sort the file list by that column's value.

The navigation toolbar

You can use the toolbar at the top of the file window to navigate between folders in the file window.
Feature Description
Home Navigates directly to the home directory (/home/user).
Up One Level Navigates to the folder that contains the currently selected folder. This option is greyed out when the home directory is selected.
Back Returns to the folder that was viewed immediately before the currently selected folder.
Forward Navigates to the next folder that you viewed, after you use Back.
Reload Refreshes the displayed list of files and folders.
Select all Selects all displayed files and folders.
PICK Remember: Any attempt to Rename, Edit, or View multiple files at once will only affect the first listed file in the directory.
Unselect all Deselects all files and folders currently displayed.

File and folder actions

You can right-click on files or folders in the file window to choose from a menu of actions customized to the file's type.
Feature Displays for Description
Download Files, Compressed Files Downloads the selected file to your computer.
View Files, Compressed Files Opens the selected file so you can view the code.
Edit Files Opens the selected files in a text editor.
Code Edit Files Opens the selected files in a code editor.
HTML Edit Files Opens the selected HTML file in a visual HTML editor.
Move Files, Compressed Files, Folders Move the selected file or folder to a new directory.
Copy Files, Compressed Files, Folders Copies the selected file or folder to a user-specified directory.
Rename Files, Compressed Files, Folders Renames a selected file or folder.
Change Permissions Files, Compressed Files, Folders Allows a user to change the read, write, and execute permissions for selected files or folders.
Delete Files, Compressed Files, Folders Deletes the selected files or folders from the server.
Extract Compressed Files Extracts the selected *.zip, *.Gz, or *.Bz2 archive and stores the files in a directory.
Compress Files, Compressed Files, Folders Compresses the selected files or folders to a single *.zip, *.Gz, or *.Bz2 archive and stores the compressed file to a specified directory.
Password Protect Folders Sets a username and password to restrict access to a folder.
note Note: Your service provider must enable this feature.
Leech Protect Folders Redirects users who may have shared the password to a restricted area of your site with others. Accounts that exceed a set number of logins in a two hour period will be redirected to a selected URL, or receive an internal server error message.
note Note: Your service provider must enable this feature.
Manage Indices Folders Customizes the way users view a directory on the web.
note Note: Your service provider must enable this feature.

Search for a file

The Search tool, located at the top right corner of the interface, allows users to search for a specific file. By default, Search will search all files in the home directory. You can also limit the search to the document root at /home/user/public_html, or to the directory displayed in the file window.
To search for a file:
  1. Use the Search menu to choose the directory to search: All Your Files, only public_html or Current Directory.
  2. Enter the desired file name in the text box.
  3. Click Go.
A new window displays the filenames that match your search. To go to a folder, or to the containing folder for a file, double-click on the desired item in the list. If there are no files that include your search term, you will see the message No records found.


Legacy File Manager

Overview

The Legacy File Manager offers file manipulation options in an older web-based interface. Users already familiar with an older version of cPanel may find the Legacy File Manager more comfortable.

Legacy File Manager Directory Selection window

When you open Legacy File Manager:
  1. The Legacy File Manager Directory Selection window will appear. Select which of the three main directories you wish to view:
    • The home directory (/home/user)
    • Web Root (/public_html/www)
    • Document Root (/public_html)
  2. Select the Show Hidden Files option to see hidden files.
  3. Select the Skip this question option if you do not want to see the Legacy File Manager Directory Selection window again.
  4. Click Go.
The Legacy File Manager interface opens in a new browser window. The selected directory displays in the file window.

Navigation toolbar

Use the toolbar at the top of the file window to navigate between folders in the file window.
Feature Icon Description
Home home.png Navigates directly to the home directory (/home/user).
Go Up One Dir up_dir.png Navigates to the folder that contains the currently selected folder.
To navigate the files and folders in your current directory:
  • Click a folder_icon.png to navigate the file tree.
  • Click the folder name to view the file or folders’ properties.
note Note: After you expand a list of subfolders, click on the folder name to view the folder's contents.

Legacy File Manager toolbar

The File Manager toolbar, located above the folder list, shows the functions available to create or upload files and folder to the the Legacy File Manager .
Feature Icon Description
Upload files upload_file.png Uploads files to the current directory.
Create a New Folder create_folder.png Creates a new folder in the current directory.
Create a New File create_file1.png Creates a new file in the current directory with a user-defined file extension.

Properties menu

The properties menu, located on the right-side of the interface, shows the functions available to manage your folders and files.
Click a folder to see these options:
Feature Icon Description
Delete this folder and all files under it delete_folder1.png Deletes selected folder and all subfolders from the server.
Change Permissions chang_permis.png Changes the Read, Write, and Execute permissions for selected files.
Rename Folder rename_folder.png Renames the selected file or folder.
Copy this folder copy_folder.png Copies the selected folder to a user-specified directory.
Move this folder move_folder.png Allows you to move the selected folder to a new directory.
When you click a file, you will see these options:
Feature Icon Description
Show File show_file.png Opens the selected file in a new window.
Delete File delete_file.png Deletes selected files from the server.
Edit File with Code Editor code_edit_file.png Opens the selected file in a code editor.
Edit File edit_file.png Opens the selected file in a text editor.
Change Permissions chang_permis.png Changes the Read, Write, and Execute permissions for the selected file.
Rename File rename_file.png Renames the selected file.
Copy File copy_file.png Copies selected items to a user-specified directory.
Move File move_file.png Moves the selected file to a user-selected directory.
Download File download_file.png Downloads the selected file to your computer.
URL URL_file.png Displays the selected file as it would look on the website.
Empty Trash empty_trash.png Recovers any deleted files and folders. Click on the name of the file or folder listed below the trash icon to recover that item. Click on the icon to permanently delete the items in the trash.
note Note: These options are specific to the type of file selected. Not all options appear for all types of files.

Character encoding verification dialogs

When you edit a file with Edit, or Code Editor, use the menu to select the correct character encoding for the file. Then, click Edit to continue.
note Note: You can also turn Character Encoding Verification Dialogs on or off through Settings:
  1. Click Settings in the top left corner of File Manager.
  2. Select Disable Character Encoding Verification Dialogs:
    • To turn the encoding verification off, select the Disable Character Encoding Verification Dialogs option.
    • To turn the encoding verification on, deselect the Disable Character Encoding Verification Dialogs option.
  3. Click Save
PICK Warning: If you choose the wrong initial encoding, your file may become corrupt. If your file displays as a series of special characters, immediately abort the edit and select the correct encoding. Do not save the file.
By Drupal Study
Wednesday, April 16, 2014
Tag :

Follow By Email

About Me

My name is Abdennacer
I'm a Software Programmer and Web developer from morocco.
At morning, peoples sipping a cup of tea, but i like drinking a certain software codes with eating some new informations and then complete my...

Read More>>

Contact Me

Name

Email *

Message *

@All rights reserved Copy | © .:* Drupal Study *:.