Plesk veya cPanel'den geçiş yapın ve bir yıllık ücretsiz ispmanager lisansına sahip olun →

Home
Blog
Backup for single sites is now possible in ispmanager
14 March 2024
2 minutes
Ekaterina Maciejewska
Backup for single sites is now possible in ispmanager

Backup for single sites is now possible in ispmanager

In release 6.93, it is now possible to create a backup of a single site. This comes in handy if you want to rebrand your site, introduce a new feature, move from PHP to python, or redo half of your configs. The new feature will help you make archives and experiment without fear of losing data.

The feature is available in the beta version of 6.93. It will appear in the stable release of 6.94, tentatively coming on March 26.

       
  1. Checkmark the desired site in the "Sites" section.
  2. Click the icon with three dots at the end of the line for the selected site.
  3. Select "Create a backup of the site" in the menu that appears.
  4. Then, you can download the backup to your computer or upload it to the server.
Create a backup of a single site in ispmanager

You can check if the backup has started in the log:

/usr/local/mgr5/var/backup2_site.log

For example, you can connect to the server via SSH and enter the command:

tail -f /usr/local/mgr5/var/backup2_site.log
Create a backup of a single site in ispmanager
In the log, you can see whether the backup process has started

The log line proc EXTINFO Process 1571709 finished with status 0 means that the backup has been created successfully.

Create a backup of a single site in ispmanager
Also, when the backup is successful, a notification will appear in the panel

When the backup is finished, you can start modifying the site.

Technical details. The mechanism is different from that of regular backups: manual startup and old backups are not overwritten in the server’s storage. To avoid disk overflow, if you use this feature often, don't forget to clear the backup folder (/var/www/{username}/data/backups/{site address}) of unneeded backups.

Running a single site backup once will not start an automatic backup. Don't forget that for ongoing backups, you must set up backups in the “Backups” section of the panel. You cannot exclude folders or files from the backup; only a full copy can be created, and for large sites, this can take time.

How to return to the old version of the site. Go to the context menu and select "Restore site from a backup".

There, you can choose exactly what you want to restore:

  • Site files,
  • settings,
  • database,
  • SSL certificate. When restoring the SSL certificate, be careful to check its expiration date, it may have already expired. So this item is disabled by default.

You can restore a site from a copy downloaded to your computer, or from a copy saved on the server, if there are any.

Create a backup of a single site in ispmanager
Restore a site
Create a backup of a single site in ispmanager
When restoring a site from backup is complete, a notification will appear in the panel

Technical details. When restoring, all files are overwritten file by file in the directory. Configuration will be reset to the time of the backup and manual edits will be removed. Configurations will then be overwritten by the configuration file template.

The recovery process may take some time. Restoring site files from archives requires free space on the server equal to the size of the site copy or archive.

You can read about how to change the repository in our documentation or just wait for the stable version. Good luck with your site building and experimentation! 😉

Subscribe to news
Subscribe to the ispmanager newsletter and get the best content every week