Let us look at how to backup Linode VPS in detail and how to manage the backups easily with the support of our Linode support services at Bobcares.
Linode Backup
Linode provides a backup service. We can take Snapshots by redefining the schedule or via an API. An advantage of snapshot based backups is that they offer a clear point in time, as data isn’t changing while generating a copy. Snapshots can also be simply restored to a different host, in this case, a new Linode.
Enable Linode VPS Backups and Take a Snapshot: Manage Backups
Users can manage their backups using the Linode Cloud Manager’s easy online interface. Users do not need to install any additional software to use the Backup services because they are an add-on service provided by Linode.
Log in to the Linode Cloud Manager and navigate to the Linodes page by clicking on the link in the sidebar. After that, choose a Linode and then go to the Backups tab to backup Linode VPS.
- Thebackups interface will display a list of all available backups to backup to Linode with VPS. Users can view backup details such as the generated date, the label, the disks photographed, the time it took to produce the backup, and the size of the resultant image.
- Users can build a Linode backup manually by taking a manual snapshot.
- In the Schedule Backups area, users can configure backups.
- Users can also cancel backups at any time. The user must wait 24 hours after canceling their backups before re-enabling them.
Schedule Linode VPS Backups
After the activation of the automatic backups, users can customize the backup Linode with VPS. Follow the steps below to schedule backups in Linode:
- From the Linodes page, select the Linode for which the user wants to schedule backups. After that, click on the Backups tab.
- In Settings, choose a time interval for the backups from the Time of Day menu. The Linode Backup Service will create all backups between these specified times.
- Select a day from the Day of Week option. Backups will be promoted to the weekly slot on this day. Linode will backup the data within the time frame selected by the user in step 3.
- Finally, press on the Save Changes button to backup Linode VPS.
The Linode Backup Service will backup the user’s Linode on the schedule that they specify.
Take a Manual Snapshot
Users can backup their Linode VPS manually by taking a snapshot. Follow the steps below to take a manual snapshot:
- First, on the Linodes page, select the Linode for which we want to take a snapshot. Then select the Backups tab.
- In the Manual Snapshot section, enter a name for the snapshot and click the Take Snapshot button.
Important: Taking a fresh snapshot will overwrite the previously saved snapshot.
Linode Backup service can initiate the manual snapshots to backup linode vps. Depending on the size of the user’s Linode and the quantity of data stored on it, creating the manual snapshot can take several minutes. During this procedure, no other Linode Cloud Manager jobs for this Linode will run.
Download Specific Files or Directories over SSH
If we only require a few files from Linode after backup linode vps process, we can get them over SSH. Using SSH, we can download files using a command-line interface or a graphical SFTP file browser.
Secure Copy Protocol (SCP)
Use the SCP from the command line to retrieve a specific directory or file. SCP is included with Cygwin or PuTTY for Windows and is installed by default on most macOS and Linux systems.
- To copy a file from the Linode to a directory on another computer, use the following syntax:
scp userr linode username@your linode ip:/path/to/user/file.txt /path/to/user/local/directory/ The file will be stored in the directory /path/to/user/local/directory/.
- To copy a file from the Linode to another computer and name it (in this case, file.txt.backup), use the following command:
scp user linode username@user linode ip:/path/to/user/file.txt /path/to/user/local/directory/file.txt.backup.
- To copy a whole directory, use the following command:
scp -r userr linode username@user linode ip:/path/to/user/directory /path/to/user/local/directory
If the directory
/path/to/user/local/directory
already exists on the computer, the copied directory will be placed inside it (i.e. /path/to/userr/local/directory/directory).If
/path/to/userr/local/directory
does not already exist, a new directory with that name will be created. This allows easy backup Linode VPS management process.
For example:
- scp user linode
username@user linode ip:/etc/nginx/conf.d/abcd.com.conf /abcd.com.conf.backup scp user linode username@user linode ip:/etc/nginx/conf.d/abcd.com.conf.backup.
- Download an Apache configuration file to the /home folder by running the command:
scp user linode username@your linode ip:/etc/apache2/sites-available/abcd.com.conf /abcd.com.conf.backup.
- Copy the full web server’s document root:
/var/www/html/ /html backup scp -r user linode username@user linode ip:/var/www/html/.
Consider utilizing rsync to produce extra local copies of the data if we want to repeat this process on a regular basis.
As the rsync can conduct incremental file copies, we don’t have to entirely transmit each file every time we download the data.
FileZilla
FileZilla is a popular free and open source FTP, FTPS, and SFTP client with a graphical user interface and the ability to accept CLI parameters. Unlike SCP, SFTP may list the contents of a directory, add or delete files, and resume halted file transfers.
Downloading Data from a Database
When downloading data from a database, be extremely cautious. First, we must dump the data in the database into a file before downloading. This database dump file can then be transferred in the same manner as any other standard file format.
Use the mysqldump command to create a dump of a MySQL (or MariaDB) database. This tool can only be used if the database process is available and running.
Download a Disk over SSH
When we download your disk, it copies a.img file to the computer that contains all of the data on the Linode’s drive.
This disk image can be later re-uploaded to the Linode service, which can be beneficial for temporarily removing the Linode and stopping service.
Clean Up After the Download
We can optionally remove the restored disks when we complete downloading the files or drives. Consider destroying the Linode if we established a new one to complete the restore.
[Need assistance with similar queries? We are here to help]
Conclusion
To conclude we have now learned how to backup Linode with VPS in a few simple advanced steps that can help us to effectively complete, manage and even cancel the backup process with the support of our Linode support services.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
var google_conversion_label = "owonCMyG5nEQ0aD71QM";
0 Comments