Tag Archives: How To

Ubuntu 20.04 – Update and Upgrade

Update and upgrade activities are to ensure the system received latest security and bug fixes either for operating system or application.

In this post, I will show how to perform and update and upgrade using command line.

Here the steps:

Click the menu at the bottom and at type terminal at the search box.

Click on Terminal.

Before that update/upgrade, record the details of the version and release.

To get those information use command below:

  • uname -v
  • uname -r

To get check the update, type below command

  • sudo apt update

Once the checking complete. You will see the number of packages can be upgraded.

To upgrade the software use command below:

  • sudo apt full-upgrade

The full-upgrade ensure that any-dependencies that needed will be installed, even if major changes are needed. You can also use the option upgrade even isn’t as smart as full-upgrade, but it might be a better choice on a production server because upgrade does not make major changes to software installations.

Below show the upgrade process is complete.

I run again the below command to check any changes on the version of operating system.

  • uname -v
  • uname -r

After verified, there is not changes after the full-ugprade action.

Install Ubuntu 20.04 LTS

Ubuntu is an operating system based on the Linux kernel. Ubuntu released its first version in October 2004. Ubuntu itself is based on Debian. In this post, I will show on how to install Ubuntu 20.04 LTS.

The operating system can be download here.

Here the VM Steps:

  • CPU: 1 CPU & 2 Cores
  • RAM: 4 GB
  • Storage 25 GB
  • Network: 1x1Gb

Here the installation steps:

Load the Ubuntu 20.04 LTS ISO to the virtual machine.

Run the virtual machine.

The installation interface is ready. Click Install Ubuntu.

Select your prefer Keyboard Layout. Click Continue.

Choose the installation type and click Continue. I choose

Click Install Now. This will use entire disk for operating system.

Here the disk partition summary. Click Continue.

Select you location. Click Continue.

Complete the details and click Continue.

Wait until the installation complete.

The installation is complete. Click Restart Now.

Eject the ISO/DVD and press Enter.

The reboot process is complete. Select the user and login.

Here the interface of Ubuntu 20.04 LTS.

Great the installation is completed. Let’s continue with software update/upgrade.

Create a Domain User

In this post, I will share on how to create a new domain user. Normally when a new user joining the company, they will provided a username and password to login into the domain environment. This allow user to use that system or application of that company. Beside that company can monitor all the user activity in the domain environment.

Here the steps for create a new domain user:

  • Open Active Directory Users and Computers.
  • Expand the hadiyahyalab.com and select User.
  • Right Click > New > User
  • Complete the details required and click Next.
  • Complete the password section and select the parameter if needed.
  • Click Next.

The user is created. Click Finish.

Go to any joined computer in the domain and login with new user.

Create NetVault Restore Job For File System on Same Server

Previous post, I successfully backup the file system from client AD01 and in this post I will do file system restoration on the same server.


  • Menu > Jobs > Create Restore Job.
  • Review the backed up set.
  • Select the backed up set and click Restore.
  • Expend the tree.
  • I will restore NetVault Client Install Software from C:\User\Administrator\Download\
  • Tick the file.
  • Press on the file to perform additional task like rename/relocate.
  • I rename the file and relocate it to restore folder. I didn’t create the restore folder. The restore job will create the folder during the process.
  • Click OK.
  • Review the setting and click Next.
  • Complete the details require.
  • I just fill in the Job Name and left the rest as default.
  • Make sure the Target Client is the same server we backup.
  • Click Save & Submit.
  • View the job status, Menu > Monitoring > Job Status.
  • Below show the restore job is complete.
  • Go to the client and check the directory and the files.
  • Below show the restore folder created and the software is restored.
  • Review the duration for restore from Menu > Monitoring > Job Status.
  • Select the job and click Manage Job.
  • It show average duration is 1 sec to restore average size 59.52 MiB (62.41 MB).

Great! The file is successfully restore. In the next post I plan to test backup and restore more large size for single file and multiple files to see the different.

Create NetVault Backup Job For File System

Filesystem backup is a most basic protection level for every system. With filesystem backup I can select particular folder or file to be backup. For restore, I can choose particular folder or file to restore.

If user reported the folder or file is missing or corrupted from the system, administrator can restore the specific folder or file as per request. This will speed up the recovery process where only effected folder or file is restore.


  • Menu > Jobs > Create Backup Job.
  • Below show the parameter that need to fill in before I can create a backup job.

Note: For organization, it is good to have backup request form. All the information is fill up by the server/application administrator and submit to the backup administrator. This form is record for organization where the list of selection folder or file to backup and how long the backed up that will be keep in the organization. Time to time the backup list and retention need to review so that it match with the server/application Recovery Time Objective (RTO) and Recovery Point Objective (RPO) and most importantly the folder or file that need for recovery is available during the disaster happen.

  • At the Job Name,
    • Enter the Job Name that describe the backup that we want to do.
    • Example: AD01 Filesystem Backup Weekly Full
  • At the Selection,
    • click + icon.
    • Expand the AD01 > File System > Fixed Drives > C:\
    • Select the folder or file that need to protect.
    • In this example I will select folder Users.
    • Set Name for the selection.
    • Click Save.
  • At Plugin Options,
    • Click + icon.
    • Backup Method set to Snapshot Based.
    • Backup Type set to Full.
    • The rest option I left it as default.
    • Set Name for the Plugin Options.
    • Click Save.
  • At Schedule Options, I set the value is Immediate.
  • At Target Storage,
    • Click + icon.
    • Expand the Device Selection > Select Specify devices > Select NVBU VTL.
    • Expend the Media Options
      • Target Media By – Media in group. Set the label to VTL.
      • Reuse Media – With the same group label as target media.
      • Media Request Timeout – 30 Minutes.

Note: Media Options is important part because in this section I can categorize the tape from VTL for specific group. Example I have tape group for file system, database or application. This will split the content of the tape. Since I have limited tape, I just group it as VTL.

Note: Media Request Timeout is a amount of time for backup job waits for the backup media. If the media is not available within the specified interval, the job is automatically aborted.

  • At Advanced Options, I use the Default Advanced Backup Options. By default, the backed up data will no discard.
  • Review the Backup Job and click Save & Submit. The backup job will run the backup process immediate (base on schedule option).
  • Check on Backup Job Status. Menu > Monitoring > Job Status.
  • Below show the backup is complete with 148.44 MiB (155.65 MB) data.

Cool! The file system backup job created and tested running fine.

Add NetVault Client To The NetVault Backup Server

Before I can start backup the client, I need to add the client on the NetVault Backup Server list. Lets add the client to the list.


  • Open NetVault Backup Server WebUI.
  • Menu > Configuration > Manage Clients
  • Click Add Client.
  • Below show the NetVault Client (AD01) is visible.
  • Let do the Firewall Test to make sure the connection between client and server is OK.
  • Select the client and click Firewall Test.
  • Below show the result and based on the result, all the test is pass.
  • Make sure the Windows Firewall on client is configure correctly.
  • Since I left the password blank during the client installation and disable the security should be I didn’t have an issue proceed add the client.
  • Optional to enter description for the client. Click Next.
  • Click Next. Since the Windows Firewall is allowing all the communication, there is no addition configuration here.
  • The client is added successfully.
  • Click on Menu > Configuration > Manage Clients
  • Below show the client AD01 is in the list.

Client already in the list, next I need to create a backup job for that client and start protect it.

Windows Firewall Inbound and Outbound for NetVault Backup Communication

I need to configure inbound and outbound for NetVault Backup Communication. Since backup required number of ports for communication, I will create firewall rules on Windows Firewall for client and backup server.

For client firewall rules, I will allow all ports but limit to the Remote IP (Destination IP) which is the backup server on client. This to make sure only backup server is allow to used all the ports for backup and restore activity.

Fore backup server firewall rules, I will allow all ports but limit to the Remote IP (Destination IP) by using IP Segment ( This will covered all the communication from all the client in that segment.

Note: Disable the Windows Firewall is not recommended.


  • From Start Menu, type firewall and click on Windows Firewall with Advanced Security.
  • At Inbound Rules, click New Rule…
  • Select the Port and click Next.
  • Select TCP and All local ports. Click Next.
  • Select Allow the connection and click Next.
  • Click Next.
  • Enter the Name and click Finish.
  • After the rules created, right click on it and click Properties.
  • Click on Scope and enter the Remote IP address of the backup server.
  • Click Apply and OK.
  • Repeat the process for Inbound UDP, Outbound TCP and Outbound UDP on client and backup server.
  • Make sure the Remote IP address is point to the NetVault Backup Server.
  • Below show the Inbound Rules created on client.
  • Below show the Outbound Rules created on client.
  • Below show the Inbound Rules created on backup server.
  • Below show the Outbound Rules created on backup server.

Disable NetVault Client Security

Every NetVault Client have its own security. By default the security is Enable. In order to at the NetVault Client to the NetVault Backup Server I can either disable the security or enter the password for NetVault Client which is I didn’t set the password during the installation.


  • Run the CMD as Administrator.
  • change the directory to the NetVault Installation path and hit Enter.
cd "C:\Program Files(x86)\Quest\NetVault\bin"
  • The path will change to the installation path.
  • Type txtconfig and hit Enter.
C:\Program Files (x86)\Quest\NetVault\bin>txtconfig
  • This is the NetVault Client Terminal.
  • Press p and hit Enter.
  • Below show the option in the terminal.
  • I need to stop the service first.
  • Press 3 and hit Enter.
  • At Services Page, press 2 and hit Enter to stop the service.
  • The service have been stopped.
  • Press p and hit Enter to return to the previous page.
  • Enter the Security Page Number. In my terminal it show Num. 19.
  • Enter the number and hit Enter.
  • Below show the Disable Security is OFF.
  • Enter 1 and hit Enter.
  • Below show the Disable Security is ON.
  • Press p and hit Enter to return to the previous page.
  • I need to restart the service back.
  • Press 3 and hit Enter.
  • Press 2 and hit Enter.
  • Below show the NetVault Services – Started.
  • Press p and hit Enter to return to the previous page.
  • Press 1 and hit Enter to enter Machine Page.
  • Type save to apply the changes.
  • Type quit and hit Enter.

The NetVault Client Security successfully disable. I can now add the client to the NetVault Backup Server.

Install NetVault Client On Windows Server

In the previous post, I share how to install the NetVault Backup Server and create a media target called Virtual Tape Library (VTL). I will protect the Domain Controller that I already created. Before I can backup the target client, I need to install the NetVault Client.

The trial can be download here.


  • Run the NetVault Client for Windows.
  • Set the language and click OK.
  • Install all the required Microsoft Visual C++. If the Windows already updated, the required software will not appear.
  • Click Next.
  • Click “I accept the agreement” and click Next.
  • Click Next.
  • Click Next.
  • I left the password section blank and click Next.
  • Review the details and click Next.
  • Wait until the installation finish.
  • The installation is completed. Click Finish.
  • Below show the NetVault Service on Client.

The NetVault Client is ready. Lets add the client to the NetVault Backup Server and protect it.

Create NetVault Virtual Tape Library (VTL)

NetVault Backup Server come with feature to create own target media called Virtual Tape Library (VTL). This VTL emulate tape libraries on disk.

Since the VTL is on disk, it provide flexibility to perform quick backups to disk or duplicate the backups to physical devices for off-site storage.

VTL can handle any number or concurrent NetVault Backup Client backups depends on the VTL configuration. Physical tape library limits by number of drives installed.

Steps Create NetVault VTL:

  • Login to NetVault Backup Server WebUI.
  • Menu > Configuration > Manage Devices.
  • Click Add Device
  • Select Virtual Tape Library and click Next.
  • Select the Virtual Tape Library. Click Next.
  • Choose the machine and click Next.
  • Complete the information require.
  • Make sure the disk space is enough.
  • Amount of disk space can be adjust by change the media capacity and number of slots.
  • Click Next.
  • Below show the example configuration. Since I have 120 GB usable disk space. I just create the media capacity and number of slots that will fit inside it.
  • The VTL is successfully created.

Steps View Netvault VTL:

  • Click Menu > Configuration > Manage Devices.
  • Below show the NetVault VTL with List View (Default).
  • The Green Icon show the VTL is ready.
  • Below show the NetVault VTL with Tree View.
  • Here show the number of slots. This view is look alike physical tape library.
  • Below show the NetVault VTL file from Windows perspective.

Awesome! The NetVault VTL is ready to use.

« Older Entries