Skip to content
Farin Theme Guide
GuidesTools

Backup and Transfer

This tab makes one file out of all Farin settings and imports that same file again. With it you take a backup before big changes, or move the site's settings and images to a new host or domain.

Where is it? Farin → Settings → Backup and Transfer

Main administrator onlyThis tab opens only for the site's main administrator. Others see the message “This section is only for the site's main administrator” instead.

Moving the site to a new host

If you are moving the whole site, go in this order:

  1. On the new site, install WordPress, WooCommerce, Elementor and Farin. Guide in Installing the Theme .
  2. On the old site, take the settings file. In “Export Farin settings”, if you want the keys too, tick “Include secret keys in the file” and press “Download settings file”.
  3. Move the media. If the old site stays up until the end, take the media list from the “Media” box and import it on the new site. If it does not stay up, use “Zip of all media”.
  4. Move the products and pages. With the buttons of the “Products and pages” box.
  5. Import the settings on the new site. In “Import settings”, choose the file and press “Import”.

Export Farin settings

Export Farin settings box with the secret keys option and the Download settings file button
One click, one JSON file of all Farin settings.

The file includes site identity, captcha, coming soon, custom code, access, currency settings and Site Content settings. Take one before any big change; going back from it is easy.

  • Products, orders and users are not in this file.
  • Images, such as the logo, favicon and backgrounds, come in the file with their addresses and are downloaded from those addresses on import.
  • Rates you set manually for currencies and font files you uploaded stay on this site; if a font is not on the new site, IRANSansX takes its place.
OptionWhat it doesDefault
Include secret keys in the fileSecret keys, such as the captcha secret key and the currency rate service key, are written to the file too. When off, these keys stay empty.Off
Do not give a file that has keys to anyoneAnyone who has this file has the keys to your services. Turn this option on only when you are moving the site to your own host, and delete the file after the work.

Import settings

Import settings box with the JSON file chooser and seven ticked sections
Choose the file and untick the sections you do not want changed.

Only a file taken from this same Farin section is accepted. Sections: “Site identity”, “Captcha”, “Coming soon”, “Custom code”, “Access”, “Currency settings” and “Site content”. All are ticked beforehand.

  • Before importing, a confirmation message appears: the settings of the chosen sections will be replaced with the file's content.
  • The site address, WordPress address and administrator email are never changed from the file.
  • Every value goes through the same checks it has in the panel; an invalid value is not imported.
  • A key that is not in the file keeps this site's current key.
  • After importing, a message says which sections were imported and, if an image could not be downloaded, which one it was.
First take an export of the current stateImporting replaces the current settings. If you do not like the result, you can go back only with an export file from before it.

Media

Media box with the Download media list button and the import media list section
The number of media library files is written on the download button.

“Download media list” gives a list of the media library files, not the files themselves. On the new site, give this same list to “Import media list” and press “Start import”. The new site downloads the files one by one from the old site and shows a progress bar.

  • The old site must stay up and reachable until the work is done.
  • A file whose namesake already exists on the new site is not downloaded again.
  • With “Stop and clear queue” you stop the job halfway.

Zip of all media

Zip of all media box with the Create zip button and the note about automatic deletion after one day
For when the old site will not be reachable after the move.

“Create zip of all media” puts all the library's files, with the same year and month folder structure, in one zip file. The work proceeds in pieces and has a progress bar; keep this page open until the end. Once it is created, “Download media zip” appears. On the new site, extract the zip into the folder wp-content .

For security, the created zip is deleted automatically a day later. You can also delete it sooner with “Delete zip”.

Products and pages

Four buttons: import and export products, export and import Elementor pages, WordPress import tools
Shortcuts to the tools of WooCommerce, Elementor and WordPress.

These buttons move the site's content, not the theme's settings:

ButtonWhere it goes
Import products (CSV)WooCommerce's product import tool.
Export products (CSV)WooCommerce's product export tool.
Export and import Elementor pagesThe Kit export and import section in Elementor's tools.
WordPress import toolsWordPress's “Tools → Import” page.

Frequently Asked Questions

Does this section replace a full site backup?

No. Here it backs up only Farin settings and media. For a full backup, including the database, orders and users, use the host's backup or a backup plugin.

After importing settings, the captcha doesn't work.

Probably the file was taken without secret keys and this site had no key either. Write the secret key in Captcha again.

Some images didn't come after import.

Images are downloaded from the old site's address. If the old site was not reachable, the import message names the images that were not downloaded. Upload them by hand in the same settings, or import the settings again when the old site is reachable again.

Farin Theme · 1405