Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the acf domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-includes/functions.php on line 6131

Deprecated: Creation of dynamic property ACF::$fields is deprecated in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-content/plugins/advanced-custom-fields-pro/includes/fields.php on line 138

Deprecated: Creation of dynamic property acf_loop::$loops is deprecated in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-content/plugins/advanced-custom-fields-pro/includes/loop.php on line 28

Deprecated: Creation of dynamic property ACF::$loop is deprecated in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-content/plugins/advanced-custom-fields-pro/includes/loop.php on line 269

Deprecated: Creation of dynamic property ACF::$revisions is deprecated in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-content/plugins/advanced-custom-fields-pro/includes/revisions.php on line 397

Deprecated: Creation of dynamic property acf_validation::$errors is deprecated in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-content/plugins/advanced-custom-fields-pro/includes/validation.php on line 28

Deprecated: Creation of dynamic property ACF::$validation is deprecated in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-content/plugins/advanced-custom-fields-pro/includes/validation.php on line 214

Deprecated: Creation of dynamic property acf_form_customizer::$preview_values is deprecated in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-content/plugins/advanced-custom-fields-pro/includes/forms/form-customizer.php on line 28

Deprecated: Creation of dynamic property acf_form_customizer::$preview_fields is deprecated in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-content/plugins/advanced-custom-fields-pro/includes/forms/form-customizer.php on line 29

Deprecated: Creation of dynamic property acf_form_customizer::$preview_errors is deprecated in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-content/plugins/advanced-custom-fields-pro/includes/forms/form-customizer.php on line 30

Deprecated: Creation of dynamic property ACF::$form_front is deprecated in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-content/plugins/advanced-custom-fields-pro/includes/forms/form-front.php on line 598

Deprecated: Creation of dynamic property acf_form_widget::$preview_values is deprecated in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-content/plugins/advanced-custom-fields-pro/includes/forms/form-widget.php on line 34

Deprecated: Creation of dynamic property acf_form_widget::$preview_reference is deprecated in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-content/plugins/advanced-custom-fields-pro/includes/forms/form-widget.php on line 35

Deprecated: Creation of dynamic property acf_form_widget::$preview_errors is deprecated in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-content/plugins/advanced-custom-fields-pro/includes/forms/form-widget.php on line 36

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the all-in-one-wp-migration domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-includes/functions.php on line 6131

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-includes/functions.php:6131) in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-content/plugins/wp_plugin/wp_plugin.php on line 23

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 54

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-includes/functions.php:6131) in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 1539

Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 828

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the rocket domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-includes/functions.php on line 6131

Deprecated: Creation of dynamic property acf_field_oembed::$width is deprecated in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-content/plugins/advanced-custom-fields-pro/includes/fields/class-acf-field-oembed.php on line 31

Deprecated: Creation of dynamic property acf_field_oembed::$height is deprecated in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-content/plugins/advanced-custom-fields-pro/includes/fields/class-acf-field-oembed.php on line 32

Deprecated: Creation of dynamic property acf_field_google_map::$default_values is deprecated in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-content/plugins/advanced-custom-fields-pro/includes/fields/class-acf-field-google-map.php on line 33

Deprecated: Creation of dynamic property acf_field__group::$have_rows is deprecated in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-content/plugins/advanced-custom-fields-pro/includes/fields/class-acf-field-group.php on line 31

Deprecated: Creation of dynamic property acf_field_clone::$cloning is deprecated in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-content/plugins/advanced-custom-fields-pro/pro/fields/class-acf-field-clone.php on line 34

Deprecated: Creation of dynamic property acf_field_clone::$have_rows is deprecated in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-content/plugins/advanced-custom-fields-pro/pro/fields/class-acf-field-clone.php on line 35

Deprecated: Creation of dynamic property jh_acf_field_table::$settings is deprecated in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-content/plugins/advanced-custom-fields-table-field/class-jh-acf-field-table.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-includes/functions.php:6131) in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-includes/functions.php:6131) in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-includes/functions.php:6131) in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-includes/functions.php:6131) in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-includes/functions.php:6131) in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-includes/functions.php:6131) in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-includes/functions.php:6131) in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-includes/functions.php:6131) in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-includes/rest-api/class-wp-rest-server.php on line 1902
{"id":24362,"date":"2015-09-16T10:53:35","date_gmt":"2015-09-16T07:53:35","guid":{"rendered":"https:\/\/upcloud.com\/community\/tutorials\/restoring-backups"},"modified":"2015-09-16T10:53:35","modified_gmt":"2015-09-16T07:53:35","slug":"restoring-backups","status":"publish","type":"tutorial","link":"https:\/\/studiogo.tech\/upcloudold\/tutorial\/restoring-backups\/","title":{"rendered":"Restoring backups"},"content":{"rendered":"\n

UpCloud provides two ways to restore data from your storage backups. You can either revert the entire storage device to a previous backup snapshot, or you can clone the backup to new storage and restore individual files by mounting the cloned device onto a server.<\/p>\n\n\n\n

\n
Test hosting on UpCloud!<\/a><\/div>\n<\/div>\n\n\n\n

Restoring backup<\/h2>\n\n\n\n

This method will overwrite the existing storage device entirely with the selected backup. All data on the device will be returned to the point at which the backup was taken. This is very useful for reverting major changes to your current system.<\/p>\n\n\n\n

Note that the cloud server must be shut down during the backup restore procedure.<\/p>\n\n\n\n

Start by going to your server settings at your UpCloud Control Panel<\/a> and open the Backups<\/em> tab. On the History list, you\u2019ll see all of the backups of your server. For each backup, you can find the date and time of when the backup was taken and controls to restore or delete the backup.<\/p>\n\n\n\n

Select the backup you wish to restore, click the Restore<\/em> button, and then confirm you wish to continue by clicking the Ok<\/em> button when asked.<\/p>\n\n\n\n

\"Restore<\/figure>\n\n\n\n

The backup restoration will only take a moment depending on your storage size and type, MaxIOPS is considerably faster at all storage procedures than an HDD of the same size. You can follow the progress on the Backups<\/em> tab.<\/p>\n\n\n\n

\"Restoring<\/figure>\n\n\n\n

Once the restore has finished, you can start the server as normal.<\/p>\n\n\n\n

Note that while the restoration to a runnable status is quick, other storage operations will continue in the background which will limit your ability to immediately make new backups. You can see the status of the background process on the Storages page in your control panel.<\/a><\/p>\n\n\n\n

Cloning backup<\/h2>\n\n\n\n

It is also possible to clone a backup onto a new standard storage device. You can then attach the clone to the original server, or to any other, as secondary storage. Attaching a backup clone to your existing server allows you to access individual files from the device without needing to revert the entire system.<\/p>\n\n\n\n

To start,\u00a0go to the Backups<\/em> sections under the Storage<\/em> page in your UpCloud Control Panel<\/a>. Find the backup you wish to access on the list and click the Clone<\/em> button.<\/p>\n\n\n\n

Give the backup clone a name you\u2019ll recognise later and click Accept<\/em> to proceed.<\/p>\n\n\n\n

\"Clone<\/figure>\n\n\n\n

The cloning will take a moment depending on the size of your backup and the storage device type you selected as the target. You can check the status in your Storage<\/em> devices section<\/a>. While cloning, the cloned storage device will show that the operation is in progress.<\/em> Once the operation has finished you\u2019ll see the same controls as for the other storage device listed on the same page.<\/p>\n\n\n\n

Attaching storage to an existing server<\/h2>\n\n\n\n

Once the cloning process is complete shut down the server, then go back to your server settings and open the Storage<\/em> tab. Under the attached Storage<\/em> resources you\u2019ll find the option to manage the storage devices.<\/p>\n\n\n\n

Note that the cloud server must be shut down before attaching new storage devices.<\/p>\n\n\n\n

Click on the Add new device<\/em> button which will open a new setup dialogue for creating and attaching storage devices.<\/p>\n\n\n\n

Select Attach existing device<\/em>, then find the disk clone you made earlier and select it from the Device list<\/em> and finally click the Add a storage device<\/em> button to confirm the action.<\/p>\n\n\n\n

\"Attach<\/figure>\n\n\n\n

Afterwards, you\u2019ll see the cloned device shows up as an attached resource, you can now start up the server again.<\/p>\n\n\n\n

\"Attached<\/figure>\n\n\n\n

Restoring files on Linux servers<\/h2>\n\n\n\n

Linux systems will require you to mount the new storage to access the files from the backup clone. Do this by first creating a mounting point to your file system with the following command.<\/p>\n\n\n\n

sudo mkdir \/media\/backup<\/pre>\n\n\n\n

Check the device name and partitions you just attached to the server with the command below.<\/p>\n\n\n\n

lsblk -io KNAME,TYPE,SIZE<\/pre>\n\n\n\n

The output will show a list of storage devices usually named vda<\/tt>, vdb<\/tt> or vdc<\/tt> and their partitions such as vda1<\/tt> and vdb1<\/tt>.<\/p>\n\n\n\n

If you are not sure which of the partitions is on the cloned backup, you can check your current system partitions with this command.<\/p>\n\n\n\n

df -h<\/pre>\n\n\n\n

The command will list the partitions and their sizes currently configured on your server. Select a partition from the lsblk<\/tt> printout that is not yet in use, for example, if your system partition is called vda1<\/tt>, select vdb1<\/tt> for mounting.<\/p>\n\n\n\n

Then simply mount the new storage device partition<\/span> to the directory you just created with the following command.<\/p>\n\n\n\n

sudo mount \/dev\/partition<\/span> \/media\/backup<\/pre>\n\n\n\n

After mounting the device you can restore any and all files you wish by simply copying them over.<\/p>\n\n\n\n

Restoring files on Windows servers<\/h2>\n\n\n\n

Windows servers might require you to take a couple of steps before you are able to access the backup files. Start by connecting to your server, for example, through Remote Desktop. Once logged on type in diskmgmt.msc<\/em> to the Windows search and open it by pressing Enter.<\/p>\n\n\n\n

In Disk Management<\/em>, you\u2019ll see the previously existing disks and the newly added backup clone that will likely show as offline. Right-click the clone storage and select Online<\/em>.<\/p>\n\n\n\n

\"Disk<\/figure>\n\n\n\n

Depending on your Windows server version, you might get a pop-up asking to scan the new drive, you can skip this by clicking Continue without scanning<\/em>.<\/p>\n\n\n\n

With the disk online, you can now access it normally through the file browser to copy over any files you wish to restore.<\/p>\n\n\n\n

Removing cloned disk<\/h2>\n\n\n\n

Once you have restored the files you needed, it is as simple as shutting down the server again, detaching the backup clone and deleting it. Go back to your server settings again and open the Storage tab.<\/p>\n\n\n\n

Under the attached Storage<\/em> resources list you\u2019ll find the option to detach or delete.<\/p>\n\n\n\n

If you do not wish to delete the backup clone just yet, you can simply click the eject icon and leave the disk for later use. Otherwise, you can just click the bin icon and the disk will get detached and deleted.<\/p>\n\n\n\n

\"Delete<\/figure>\n\n\n\n

Don\u2019t forget to make regular backups of your server again after restoring files.<\/p>\n\n\n\n

Notes on the backup technology<\/h2>\n\n\n\n

The steps required to restore and access files in backups might seem complicated, but we aim to make the process as simple as possible. Our backup technology focuses on data integrity while being fast and easy to operate. However, it comes with a couple of main differences from some other backup models.<\/p>\n\n\n\n

It is not possible to restore individual files automatically<\/h3>\n\n\n\n

We handle storage devices and their backups as full media images. Access to individual files would require knowledge of used partitioning, file systems and possible storage encryption, which would reduce your data privacy. Due to this, it is not possible for us to neither restore backups for you nor provide a graphical user interface to access or browse the contents of the backups.<\/p>\n\n\n\n

Backups cannot be attached directly to a server<\/h3>\n\n\n\n

Backups are stored in separate storage systems which maximize storage security over IO and access properties. Due to these limitations, it is not possible to directly attach backup snapshots. Instead, new standard storage can be created by cloning the backup.<\/p>\n","protected":false},"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","community-category":[109,120],"class_list":["post-24362","tutorial","type-tutorial","status-publish","hentry","community-category-upcloud-services","community-category-backups"],"acf":[],"_links":{"self":[{"href":"https:\/\/studiogo.tech\/upcloudold\/wp-json\/wp\/v2\/tutorial\/24362","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/studiogo.tech\/upcloudold\/wp-json\/wp\/v2\/tutorial"}],"about":[{"href":"https:\/\/studiogo.tech\/upcloudold\/wp-json\/wp\/v2\/types\/tutorial"}],"replies":[{"embeddable":true,"href":"https:\/\/studiogo.tech\/upcloudold\/wp-json\/wp\/v2\/comments?post=24362"}],"wp:attachment":[{"href":"https:\/\/studiogo.tech\/upcloudold\/wp-json\/wp\/v2\/media?parent=24362"}],"wp:term":[{"taxonomy":"community-category","embeddable":true,"href":"https:\/\/studiogo.tech\/upcloudold\/wp-json\/wp\/v2\/community-category?post=24362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}