Thursday, May 27, 2021

The Process to Run Backups on Locally-Mounted Remote Filesystems

 The information in this blog will come in handy when one wants to, or needs to, run backups on remote filesystems that are locally-mounted.

Running regular backups is extremely essential. Maintaining regular backups aid in many ways, such as letting one have quick access to files, enabling data recovery, and providing protection against disruptions and data loss caused by power outages, hardware or software failures, natural disasters, cyber attacks and other malicious online activities.

Data backup services are offered by many web hosting companies, including HTS Hosting, and it proves to be immensely beneficial as a proactive measure for ensuing the safety and availability at all times of one’s valuable data. Data backup service is an additional service offered by web hosting service providers, as their main service involves providing professional web hosting to their clients. Web hosting is the process through which websites are made accessible over the Internet. It is of many types, such as dedicated hosting, VPS, shared hosting, reseller hosting, cloud hosting, WordPress hosting, etc. In each of these types of web hosting services, server space is provided to the owners of websites. The files of websites are stored on these servers and are delivered from there, over the Internet, to the Internet connected devices of those users who are looking for those sites. The “Best Cloud Hosting Company”, the “Best Website Hosting Company”, the “Best Windows Hosting Company”, etc. are some of the terms that are used for the most efficient and reliable service providers of web hosting. Any reliable web hosting company ensures that it delivers high uptime, speedy page loads and takes proper security measures with regard to its clients’ data. In this context, data backup service is one of the ways through which data loss can be averted.

Running Backups on Locally-Mounted Remote Filesystems

A partition needs to be placed in the /etc/fstab file for mounting or unmounting the partition. A list of mountable file systems along with their configuration options are contained in this file. Only those partitions are mounted or unmounted by the backup utility that appear in the /etc/fstab file. Before proceeding further, it needs to be mentioned that it is strongly recommended that you don’t carry out backups to remote filesystems. Some examples are NFS, smbfs, CIFS or the other types of network drive systems. Backups can be stored directly to a remote filesystem but this configuration isn’t supported by cPanel & WHM. It is highly recommended that you take the help of a qualified system administrator for managing this custom backup path in order to avert the potential risks. We, as the provider of this information/content, shall not be held responsible for any data loss that might happen while attempting to perform the steps/process mentioned here. The entire responsibility is of the person or group that will be carrying out this process.

Configuring the Filesystem

If a mounted filesystem is used by you for storing backups, then it is recommended to mount the system with the nonexec option. To get this done, you need to open the /etc/fstab file with the aid of a text editor. Subsequently, you need to edit its entry to resemble the one mentioned in the below-mentioned example.

/dev/sda5 /backup ext3 defaults,noexec 0 0

The following configuration options have been described in the above-mentioned example-

  • Device - /dev/sda5
  • Default mount point - /backup
  • File system type - ext3
  • Mount options - defaults,noexec
  • Dump options - 0
  • fsck order – 0

Remounting a Backup Disk

You need to run the below-mentioned command for remounting a backup disk when the system reboots.

mount -o remount,noexec /backup

Source: https://www.htshosting.org/knowledge-base/technology/143/the-process-to-run-backups-on-locally-mounted-remote-filesystems   

No comments:

Post a Comment

Cloud Hosting Service from HTS Data Centre

  HTS Hosting is a globally renowned service provider of all types of web hosting services, including its highly specialized Cloud hosting ...